You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rtpengine/t/test-dtls.pl

16 lines
269 B

#!/usr/bin/perl
use strict;
use warnings;
use NGCP::Rtpengine::Test;
my $r = NGCP::Rtpengine::Test->new();
my $a = $r->client(dtls => 1);
my $b = $r->client();
$r->timer_once(3, sub { $b->answer($a) });
$a->offer($b, 'transport-protocol' => 'RTP/AVP');
$r->run();