xiph / opus-tools

A set of tools to encode, inspect, and decode audio in the Opus format.
https://opus-codec.org/
Other
212 stars 78 forks source link

Produce RTP stream and dump it directly to a `.pcap` file #90

Open vadimkantorov opened 6 months ago

vadimkantorov commented 6 months ago

IIUC, currently opusrtp only can broadcast the packets into a TCP socket, right?

Is it possible to save it to disk / broadcast them to a Linux pipe/file stream instead? Or maybe does opus_demo / opusenc / opusrtp already support it? Related to:

This is useful for RTP testing purposes / checking the produced bit stream. The idea would be to test how DTX impl + RTP allows to save disk space for audios with a lot of silence.

Thanks :)