module-rtp: port source and sink to new stream

This commit is contained in:
Wim Taymans 2023-03-02 19:55:44 +01:00
parent e8119cb087
commit be09198249
7 changed files with 127 additions and 1434 deletions

View file

@ -11,6 +11,18 @@ extern "C" {
struct rtp_stream;
#define DEFAULT_FORMAT "S16BE"
#define DEFAULT_RATE 48000
#define DEFAULT_CHANNELS 2
#define DEFAULT_POSITION "[ FL FR ]"
#define ERROR_MSEC 2
#define DEFAULT_SESS_LATENCY 100
#define DEFAULT_MTU 1280
#define DEFAULT_MIN_PTIME 2
#define DEFAULT_MAX_PTIME 20
struct rtp_stream_events {
#define RTP_VERSION_STREAM_EVENTS 0
uint32_t version;