Commit 239eabc0 authored by Steffen Ullrich's avatar Steffen Ullrich

add payload type to write callback in Net::SIP::Simple::RTP

https://github.com/noxxi/p5-net-sip/issues/19
parent 0511cf5c
......@@ -287,7 +287,7 @@ sub _receive_rtp {
if ( ref($writeto)) {
# callback
invoke_callback($writeto,$payload,$seq,$tstamp,$channel);
invoke_callback($writeto,$payload,$seq,$tstamp,$channel,$mpt & 0x7f);
} elsif ( $writeto ) {
# save into file
my $fd = $targs->{fdr};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment