diff options
author | Richard Mudgett <rmudgett@digium.com> | 2015-07-24 18:42:29 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2015-07-30 20:34:24 -0500 |
commit | a93b7a927c5975c0a8889dc66868f81e4eef8aa3 (patch) | |
tree | 9f73988cc5331f0157200be4d60378308bafe5b1 | |
parent | 89b21fd9a38bcd89402249440c1670ce48781f30 (diff) |
res_pjsip_sdp_rtp.c: Fix processing wrong SDP media list.
Change-Id: I7c076826c2d3c6ae8c923ca73b7a71980cca11f2
-rw-r--r-- | res/res_pjsip_sdp_rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c index 4071ad76a..4fcc6710b 100644 --- a/res/res_pjsip_sdp_rtp.c +++ b/res/res_pjsip_sdp_rtp.c @@ -1240,7 +1240,7 @@ static int apply_negotiated_sdp_stream(struct ast_sip_session *session, struct a /* Apply connection information to the RTP instance */ ast_sockaddr_set_port(addrs, remote_stream->desc.port); ast_rtp_instance_set_remote_address(session_media->rtp, addrs); - if (set_caps(session, session_media, local_stream)) { + if (set_caps(session, session_media, remote_stream)) { return 1; } |