mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
Do not include rtcp-xr and rtcp-fb attributes for inactive medias in the SDP.
This commit is contained in:
parent
fb61e1cf03
commit
3bf28e79af
1 changed files with 2 additions and 2 deletions
|
|
@ -266,11 +266,11 @@ static void stream_description_to_sdp ( belle_sdp_session_description_t *session
|
|||
}
|
||||
}
|
||||
|
||||
if ((stream->proto == SalProtoRtpAvpf) || (stream->proto == SalProtoRtpSavpf)) {
|
||||
if ((rtp_port != 0) && ((stream->proto == SalProtoRtpAvpf) || (stream->proto == SalProtoRtpSavpf))) {
|
||||
add_rtcp_fb_attributes(media_desc, md, stream);
|
||||
}
|
||||
|
||||
if (stream->rtcp_xr.enabled == TRUE) {
|
||||
if ((rtp_port != 0) && (stream->rtcp_xr.enabled == TRUE)) {
|
||||
char sastr[1024] = {0};
|
||||
char mastr[1024] = {0};
|
||||
size_t saoff = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue