diff --git a/etc/rtpengine.conf b/etc/rtpengine.conf index 4add413be..1ea1e30ff 100644 --- a/etc/rtpengine.conf +++ b/etc/rtpengine.conf @@ -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] diff --git a/include/call_interfaces.h b/include/call_interfaces.h index b1095905b..807baddd6 100644 --- a/include/call_interfaces.h +++ b/include/call_interfaces.h @@ -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; } diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index 70034e90b..b8dc2e7cb 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -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