mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-08 14:17:02 +00:00
res_pjsip_sdp_rtp.c: Fix processing wrong SDP media list.
Change-Id: I7c076826c2d3c6ae8c923ca73b7a71980cca11f2
This commit is contained in:
@@ -1240,7 +1240,7 @@ static int apply_negotiated_sdp_stream(struct ast_sip_session *session, struct a
|
|||||||
/* Apply connection information to the RTP instance */
|
/* Apply connection information to the RTP instance */
|
||||||
ast_sockaddr_set_port(addrs, remote_stream->desc.port);
|
ast_sockaddr_set_port(addrs, remote_stream->desc.port);
|
||||||
ast_rtp_instance_set_remote_address(session_media->rtp, addrs);
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user