diff --git a/t/auto-daemon-tests-bundle.pl b/t/auto-daemon-tests-bundle.pl index 5554ec944..c588c8a67 100755 --- a/t/auto-daemon-tests-bundle.pl +++ b/t/auto-daemon-tests-bundle.pl @@ -1033,6 +1033,7 @@ m=audio 7118 RTP/AVP 0 c=IN IP4 198.51.100.14 a=sendrecv a=mid:a +a=extmap:1 urn:ietf:params:rtp-hdrext:sdes:mid m=video 7120 RTP/AVP 105 c=IN IP4 198.51.100.14 a=rtpmap:105 H264/90000 @@ -1068,7 +1069,7 @@ isnt($port_b, $port_d, 'different ports'); is($port_c, $port_d, 'same ports'); snd($sock_a, $port_c, rtp(0, 2000, 6000, 0x1234, "\x44" x 160)); -rcv($sock_c, $port_a, rtpm(0, 2000, 6000, 0x1234, "\x44" x 160)); +rcv($sock_c, $port_a, rtpm(0, 2000, 6000, 0x1234, "\x44" x 160, [[1, 'a']])); snd($sock_c, $port_a, rtp(0, 6000, 8000, 0x5678, "\x77" x 160)); rcv($sock_a, $port_c, rtpm(0, 6000, 8000, 0x5678, "\x77" x 160, [[1, 'a']])); @@ -1082,7 +1083,7 @@ rcv($sock_b, $port_d, rtpm(105, 7000, 9000, 0x8741, "\x22" x 800, [[1, 'v']])); # mix up bundle ports snd($sock_a, $port_d, rtp(0, 2000, 6000, 0x1234, "\x44" x 160)); -rcv($sock_c, $port_a, rtpm(0, 2000, 6000, 0x1234, "\x44" x 160)); +rcv($sock_c, $port_a, rtpm(0, 2000, 6000, 0x1234, "\x44" x 160, [[1, 'a']])); rcv_no($sock_d); snd($sock_a, $port_c, rtp(105, 3000, 4000, 0x6321, "\x33" x 800)); @@ -1246,5 +1247,308 @@ rcv_no($sock_c); +($sock_a, $sock_b, $sock_c, $sock_d) = + new_call([qw(198.51.100.14 6236)], + [qw(198.51.100.14 6234)], + [qw(198.51.100.14 6238)], + [qw(198.51.100.14 6240)]); + +($port_a, undef, $port_b) = offer('optional bundle with extmap & non unique PTs & strict source', + { bundle => ['accept'], flags => ['strict source'] }, < ['strict source'] }, < ['accept'], flags => ['strict source'] }, < ['strict source'] }, <