VLC 4.0.0-dev
Loading...
Searching...
No Matches
Collaboration diagram for RTP session:

Macros

#define RTP_MAX_SRC_DEFAULT   1
 
#define RTP_MAX_DROPOUT_DEFAULT   3000
 
#define RTP_MAX_TIMEOUT_DEFAULT   5
 
#define RTP_MAX_MISORDER_DEFAULT   100
 

Functions

rtp_session_trtp_session_create (void)
 
rtp_session_trtp_session_create_custom (uint16_t max_dropout, uint16_t max_misorder, uint8_t max_src, vlc_tick_t timeout)
 Creates a new RTP session.
 
void rtp_session_destroy (struct vlc_logger *, rtp_session_t *)
 Destroys an RTP session.
 
void rtp_queue (struct vlc_logger *, rtp_session_t *, block_t *)
 Receives an RTP packet and queues it.
 
bool rtp_dequeue (struct vlc_logger *, const rtp_session_t *, vlc_tick_t, vlc_tick_t *)
 
int rtp_add_type (rtp_session_t *ses, rtp_pt_t *pt)
 Adds a payload type to an RTP session.
 
int vlc_rtp_add_media_types (vlc_object_t *obj, rtp_session_t *ses, const struct vlc_sdp_media *media, const struct vlc_rtp_pt_owner *restrict owner)
 Registers all payload types declared in an SDP media.
 
void * rtp_dgram_thread (void *data)
 RTP/RTCP session thread for datagram sockets.
 

Detailed Description

Macro Definition Documentation

◆ RTP_MAX_DROPOUT_DEFAULT

#define RTP_MAX_DROPOUT_DEFAULT   3000

◆ RTP_MAX_MISORDER_DEFAULT

#define RTP_MAX_MISORDER_DEFAULT   100

◆ RTP_MAX_SRC_DEFAULT

#define RTP_MAX_SRC_DEFAULT   1

◆ RTP_MAX_TIMEOUT_DEFAULT

#define RTP_MAX_TIMEOUT_DEFAULT   5

Function Documentation

◆ rtp_add_type()

int rtp_add_type ( rtp_session_t ses,
rtp_pt_t pt 
)

Adds a payload type to an RTP session.

References vlc_rtp_pt::frequency, rtp_session_t::ptc, rtp_session_t::ptv, and rtp_session_t::srcc.

Referenced by vlc_rtp_add_media_types().

◆ rtp_dequeue()

bool rtp_dequeue ( struct vlc_logger ,
const rtp_session_t ,
vlc_tick_t  ,
vlc_tick_t  
)

Referenced by rtp_dgram_thread().

◆ rtp_dgram_thread()

◆ rtp_queue()

◆ rtp_session_create()

◆ rtp_session_create_custom()

rtp_session_t * rtp_session_create_custom ( uint16_t  max_dropout,
uint16_t  max_misorder,
uint8_t  max_src,
vlc_tick_t  timeout 
)

◆ rtp_session_destroy()

void rtp_session_destroy ( struct vlc_logger logger,
rtp_session_t session 
)

◆ vlc_rtp_add_media_types()