Browse Source

MT#63317 amend WebRTC flag with BUNDLE option

Change-Id: I01eaa8a9e23a72e98be70091706ef367285ae08d
pull/2018/head
Richard Fuchs 2 months ago
parent
commit
ec61501298
3 changed files with 6 additions and 1 deletions
  1. +1
    -1
      etc/rtpengine.conf
  2. +2
    -0
      include/call_interfaces.h
  3. +3
    -0
      t/auto-daemon-tests.pl

+ 1
- 1
etc/rtpengine.conf View File

@ -202,7 +202,7 @@ destination = opus
# signalling templates (see key `templates` above)
[templates]
WebRTC = transport-protocol=UDP/TLS/RTP/SAVPF ICE=force trickle-ICE rtcp-mux=[offer require] no-rtcp-attribute SDES=off generate-mid
WebRTC = transport-protocol=UDP/TLS/RTP/SAVPF ICE=force trickle-ICE rtcp-mux=[offer require] no-rtcp-attribute SDES=off generate-mid bundle=[require]
# one single default interface
[interface-default]


+ 2
- 0
include/call_interfaces.h View File

@ -400,6 +400,8 @@ INLINE void ng_flags_webrtc(sdp_ng_flags *f) {
f->no_rtcp_attr = 1;
f->sdes_off = 1;
f->generate_mid = 1;
f->bundle_offer = 1;
f->bundle_require = 1;
}


+ 3
- 0
t/auto-daemon-tests.pl View File

@ -26205,11 +26205,14 @@ v=0
o=- 1545997027 1 IN IP4 198.51.100.1
s=tester
t=0 0
a=group:BUNDLE 1
m=audio PORT UDP/TLS/RTP/SAVPF 0 8
c=IN IP4 203.0.113.1
a=mid:1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=extmap-allow-mixed
a=extmap:1 urn:ietf:params:rtp-hdrext:sdes:mid
a=sendrecv
a=rtcp-mux
a=setup:actpass


Loading…
Cancel
Save