VLC
4.0.0-dev
|
RTP packet input. More...
Macros | |
#define | DEFAULT_MRU (1500u - (20 + 8)) |
Functions | |
static void | rtp_process (demux_t *demux, block_t *block) |
Processes a packet received from the RTP socket. More... | |
static int | rtp_timeout (vlc_tick_t deadline) |
void * | rtp_dgram_thread (void *opaque) |
RTP/RTCP session thread for datagram sockets. More... | |
RTP packet input.
#define DEFAULT_MRU (1500u - (20 + 8)) |
void* rtp_dgram_thread | ( | void * | opaque | ) |
RTP/RTCP session thread for datagram sockets.
References block_Alloc(), BLOCK_FLAG_CORRUPTED, block_Release(), DEFAULT_MRU, pollfd::events, pollfd::fd, block_t::i_buffer, block_t::i_flags, msg_Err, msg_Warn, block_t::p_buffer, stream_t::p_sys, poll(), POLLIN, pollfd::revents, rtp_dequeue(), rtp_process(), demux_sys_t::rtp_sock, rtp_timeout(), demux_sys_t::session, unlikely, vlc_dtls_GetPollFD(), vlc_dtls_Recv(), vlc_restorecancel(), vlc_savecancel(), vlc_strerror_c(), and VLC_TICK_INVALID.
Processes a packet received from the RTP socket.
References demux_sys_t::autodetect, block_Release(), block_t::i_buffer, msg_Dbg, block_t::p_buffer, stream_t::p_sys, rtp_autodetect(), rtp_ptype(), rtp_queue(), demux_sys_t::session, srtp_recv(), and unlikely.
Referenced by rtp_dgram_thread().
|
static |
References CLOCK_FREQ, unlikely, VLC_TICK_INVALID, and vlc_tick_now().
Referenced by rtp_dgram_thread().