Simulate signalling to rtpengine for troubleshooting, debugging, experimenting

preview_player
Показать описание

Sample SDP:
---------------
v=0
o=- 3553134431196862007 3553134431196862008 IN IP4 192.168.8.182
s=SDP data
c=IN IP4 192.168.8.182
t=0 0
m=audio 6000 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=silenceSupp:off - - - -
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=ptime:20
a=mptime:20 -
a=sendrecv
---------------

Sample command to produce WebRTC-ish SDP:
$ CALLID=$RANDOM; rtpengine-ng-client offer --sdp-file=sdp-offer --call-id=$CALLID --from-tag=foo --protocol=RTP/SAVPF --SDES=off --rtcp-mux=require --ICE=force --codec-transcode=opus

Usage directly from git tree:
$ perl -Iperl utils/rtpengine-ng-client offer ...
or from within utils/:
$ perl -I../perl ./rtpengine-ng-client offer ...

Primitive signalling using JSON and netcat (with a random cookie):
$ (echo -n "$RANDOM "; echo '{"command":"ping"}') | nc -u localhost 2223
Рекомендации по теме
Комментарии
Автор

Top stuff, I found this very helpful.

chrisbleakley
welcome to shbcf.ru