VLC  4.0.0-dev
Data Structures | Typedefs | Functions
rtp.h File Reference

RTP demux module shared declarations. More...

Go to the source code of this file.

Data Structures

struct  rtp_pt_t
 
struct  demux_sys_t
 

Typedefs

typedef struct rtp_pt_t rtp_pt_t
 
typedef struct rtp_session_t rtp_session_t
 

Functions

void rtp_autodetect (demux_t *, rtp_session_t *, const block_t *)
 
static uint8_t rtp_ptype (const block_t *block)
 
void * codec_init (demux_t *demux, es_format_t *fmt)
 
void codec_destroy (demux_t *demux, void *data)
 
void codec_decode (demux_t *demux, void *data, block_t *block)
 
void * theora_init (demux_t *demux)
 
void xiph_destroy (demux_t *demux, void *data)
 
void xiph_decode (demux_t *demux, void *data, block_t *block)
 
rtp_session_trtp_session_create (demux_t *)
 Creates a new RTP session. More...
 
void rtp_session_destroy (demux_t *, rtp_session_t *)
 Destroys an RTP session. More...
 
void rtp_queue (demux_t *, rtp_session_t *, block_t *)
 Receives an RTP packet and queues it. More...
 
bool rtp_dequeue (demux_t *, const rtp_session_t *, vlc_tick_t *)
 
int rtp_add_type (demux_t *demux, rtp_session_t *ses, const rtp_pt_t *pt)
 Adds a payload type to an RTP session. More...
 
void * rtp_dgram_thread (void *data)
 RTP/RTCP session thread for datagram sockets. More...
 

Detailed Description

RTP demux module shared declarations.

Typedef Documentation

◆ rtp_pt_t

typedef struct rtp_pt_t rtp_pt_t

◆ rtp_session_t

typedef struct rtp_session_t rtp_session_t

Function Documentation

◆ codec_decode()

void codec_decode ( demux_t demux,
void *  data,
block_t block 
)

◆ codec_destroy()

void codec_destroy ( demux_t demux,
void *  data 
)

◆ codec_init()

void* codec_init ( demux_t demux,
es_format_t fmt 
)

◆ rtp_add_type()

int rtp_add_type ( demux_t demux,
rtp_session_t ses,
const rtp_pt_t pt 
)

◆ rtp_autodetect()

void rtp_autodetect ( demux_t demux,
rtp_session_t session,
const block_t block 
)

◆ rtp_dequeue()

bool rtp_dequeue ( demux_t ,
const rtp_session_t ,
vlc_tick_t  
)

Referenced by rtp_dgram_thread().

◆ rtp_dgram_thread()

void* rtp_dgram_thread ( void *  data)

◆ rtp_ptype()

static uint8_t rtp_ptype ( const block_t block)
inlinestatic

◆ rtp_queue()

void rtp_queue ( demux_t demux,
rtp_session_t session,
block_t block 
)

◆ rtp_session_create()

rtp_session_t* rtp_session_create ( demux_t demux)

Creates a new RTP session.

payload format

References rtp_session_t::ptc, rtp_session_t::ptv, rtp_session_t::srcc, and rtp_session_t::srcv.

Referenced by OpenSDP(), and OpenURL().

◆ rtp_session_destroy()

void rtp_session_destroy ( demux_t demux,
rtp_session_t session 
)

Destroys an RTP session.

References rtp_session_t::ptv, rtp_source_destroy(), rtp_session_t::srcc, and rtp_session_t::srcv.

Referenced by Close(), OpenSDP(), and OpenURL().

◆ theora_init()

void* theora_init ( demux_t demux)

References xiph_init().

Referenced by rtp_autodetect().

◆ xiph_decode()

void xiph_decode ( demux_t demux,
void *  data,
block_t block 
)

◆ xiph_destroy()

void xiph_destroy ( demux_t demux,
void *  data 
)