summaryrefslogtreecommitdiff
path: root/res/res_pjsip_sdp_rtp.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2015-07-24 18:42:29 -0500
committerRichard Mudgett <rmudgett@digium.com>2015-07-30 17:11:58 -0500
commit3751bf0971df0e947158e27e4226e8ba658365ad (patch)
tree0c68e17f79f23cd3a714464cd8f0d9a7c2f2ce5d /res/res_pjsip_sdp_rtp.c
parente2d5d4db3561b3d2b1a43999b3e6e60c734de349 (diff)
res_pjsip_sdp_rtp.c: Fix processing wrong SDP media list.
Change-Id: I7c076826c2d3c6ae8c923ca73b7a71980cca11f2
Diffstat (limited to 'res/res_pjsip_sdp_rtp.c')
-rw-r--r--res/res_pjsip_sdp_rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c
index 125472b61..c2991e5af 100644
--- a/res/res_pjsip_sdp_rtp.c
+++ b/res/res_pjsip_sdp_rtp.c
@@ -1241,7 +1241,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;
}