From a2e5cfb8e5ac853c627de3745c5e2f0c834cef76 Mon Sep 17 00:00:00 2001 From: Razvan Crainea Date: Thu, 13 Jan 2022 16:16:19 +0200 Subject: [PATCH] Add tests for subscribe requests on paused media --- t/auto-daemon-tests-pubsub.pl | 231 ++++++++++++++++++++++++++++++++++ 1 file changed, 231 insertions(+) diff --git a/t/auto-daemon-tests-pubsub.pl b/t/auto-daemon-tests-pubsub.pl index ea66e8fcc..ab11d77c6 100755 --- a/t/auto-daemon-tests-pubsub.pl +++ b/t/auto-daemon-tests-pubsub.pl @@ -642,6 +642,237 @@ rcv($sock_c, $port_c, rtpm(8, 2001, 4160, -1, "\x2a" x 160)); +($sock_a, $sock_b, $sock_c, $sock_d) = + new_call([qw(198.51.100.14 6112)], [qw(198.51.100.14 6114)], [qw(198.51.100.14 6116)]); + +($port_a) = offer('sub pause/resume', + { }, < ft() }, < $ttr }, < tt(), 'to-tag' => ft() }, < tt(), 'to-tag' => ft() }, < ft(), 'to-tag' => $ttr }, < $ttr }, < tt(), 'to-tag' => ft() }, < tt(), 'to-tag' => ft() }, < ft(), 'to-tag' => $ttr }, < $ttr }, <