MT#63317 print a=bundle-only

Change-Id: Ieca566bb76b54093a0012ccc0d7021a5cfa75a11
rfuchs/dtls-ice
Richard Fuchs 4 months ago
parent 378779a01d
commit 9baf027be1

@ -2910,6 +2910,9 @@ static void print_sdp_media_section(GString *s, struct call_media *media,
append_attr_to_gstring(s, "mid", &media->media_id, flags, media->type_id);
if (media->label.len && flags->siprec)
append_attr_to_gstring(s, "label", &media->label, flags, media->type_id);
if (media->bundle && MEDIA_ISSET(media, BUNDLE_ONLY) && flags->opmode == OP_OFFER
&& media->bundle != media)
append_null_attr_to_gstring(s, "bundle-only", flags, media->type_id);
/* nothing more to be printed for inactive stream (non-accepted media session) */
if (inactive_media)

@ -1990,6 +1990,7 @@ t=0 0
m=audio 6190 RTP/AVP 0
c=IN IP4 198.51.100.14
a=sendrecv
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
m=video 6192 RTP/AVP 105
c=IN IP4 198.51.100.14
a=rtpmap:105 H264/90000
@ -2005,7 +2006,8 @@ c=IN IP4 203.0.113.1
a=mid:1
a=rtpmap:0 PCMU/8000
a=extmap-allow-mixed
a=extmap:1 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendrecv
a=rtcp:PORT
m=video PORT RTP/AVP 105
@ -2013,7 +2015,7 @@ c=IN IP4 203.0.113.1
a=mid:2
a=rtpmap:105 H264/90000
a=extmap-allow-mixed
a=extmap:1 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:2 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendrecv
a=rtcp:PORT
SDP
@ -2209,6 +2211,7 @@ a=rtcp:PORT
m=video PORT RTP/AVP 105
c=IN IP4 203.0.113.1
a=mid:2
a=bundle-only
a=rtpmap:105 H264/90000
a=extmap-allow-mixed
a=extmap:1 urn:ietf:params:rtp-hdrext:sdes:mid

Loading…
Cancel
Save