From 166dae380b8818c69f34cc74db7c46aa789bcc1d Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Sun, 5 Mar 2023 09:19:55 -0500 Subject: [PATCH] MT#56782 add tests for Opus fmtp= options Change-Id: I1564646c63c8fe647670f539594afc75b88f2218 --- t/auto-daemon-tests.pl | 366 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 366 insertions(+) diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index ba4da6b82..586e9cef7 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -77,6 +77,372 @@ sub stun_succ { return $packet; }; + + + +if ($extended_tests) { + +($sock_a, $sock_b) = new_call([qw(198.51.100.43 6024)], [qw(198.51.100.43 6026)]); + +($port_a) = offer('opus fmtp options, accept stereo', + { codec => { transcode => ['PCMA'], mask => ['opus'] } }, < { transcode => ['opus'] } }, < { transcode => ['opus/48000/2///useinbandfec=1;stereo=1;sprop-stereo=1'] } }, < { transcode => ['opus/48000/2///useinbandfec=1;stereo=0;sprop-stereo=0'] } }, < { transcode => ['opus/48000/2///stereo=1;sprop-stereo=0'] } }, < { transcode => ['opus/48000/2///stereo=0;sprop-stereo=1'] } }, < { transcode => ['PCMA'], mask => ['opus'] } }, <