|
Functions | |
| int | rtp_recv (rtp_session *) |
| 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.
| rtp_sess | The RTP session for which to receive the packet |
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().

1.5.4