opusrtp – transmit or receive an Opus audio RTP stream
opusrtp [ transmit-options ] in.opus ...
opusrtp --sniff device [
receive-options ]
opusrtp --extract in.pcap [
receive-options ]
opusrtp --help
opusrtp --version
opusrtp is an experimental tool to transmit and receive Opus audio RTP
streams, used for interactive applications on the internet.
- -h, --help
- Show command help.
- -V, --version
- Show version information.
- -d, --destination addr
- Set destination IP address (default: 127.0.0.1).
- -p, --port N
- Set destination port (1–65535, default: 1234).
- -t, --type N
- Set RTP payload type (0–127, default: 120).
- --sniff device
- Sniff the network device for active RTP sessions, which can be useful for
debugging other Opus RTP implementations. This may require superuser
privileges.
- -e, --extract in.pcap
- Extract from input pcap file.
- -p, --port N
- Set destination port to capture (1–65535). By default, the first
plausible port number that is seen is captured.
- -t, --type N
- Set RTP payload type to capture (0–127). By default, the first
plausible dynamic payload type (96–127) that is seen is
captured.
- -o, --output out.opus
- Write Ogg Opus output file.
- -r, --rate N
- Set original sample rate in Ogg Opus output file (default: 48000).
- -c, --channels N
- Set channel count in Ogg Opus output file (default: 2).
Ralph Giles <giles@thaumas.net>
The receive mode does not support out-of-order or missing packets, multiple
simultaneous RTP streams with the same destination port number and payload
type, or normal unicast and multicast receive.