RTP packet handling
[RTP Layer]

Collaboration diagram for RTP packet handling:

Functions

int rtp_recv (rtp_session *)

Detailed Description

RTP buffer handling

Function Documentation

int rtp_recv ( rtp_session *  rtp_sess  ) 

Reads a packet from the RTP socket. Checks if its valid, creates a new source if the sender of the packet isnt already known and appends it to the playout buffer of the source.

Parameters:
rtp_sess The RTP session for which to receive the packet
Returns:
0 if the packet was correctly received, 1 otherwise.

Definition at line 170 of file rtp_recv.c.

References BP_SLOT_SIZE, bpfree(), bpget(), bprmv(), poadd(), rtp_pkt::pt, rtp_hdr_val_chk(), rtp_ssrc_check(), rtp_update_fps(), rtp_update_seq(), and rtp_pkt::time.

Referenced by rtp().

Here is the call graph for this function:


Generated on Tue Feb 3 03:10:03 2009 for libnemesi by  doxygen 1.5.4