#include "rtp.h"#include "rtpptdefs.h"#include "bufferpool.h"

Go to the source code of this file.
Functions | |
| static int | rtp_hdr_val_chk (rtp_pkt *pkt, int len) |
| static void | rtp_init_seq (rtp_ssrc *stm_src, uint16_t seq) |
| void | rtp_update_seq (rtp_ssrc *stm_src, uint16_t seq) |
| int | rtp_recv (rtp_session *rtp_sess) |
Definition in file rtp_recv.c.
| static int rtp_hdr_val_chk | ( | rtp_pkt * | pkt, | |
| int | len | |||
| ) | [static] |
Checks if the RTP header is valid for the given packet
| pkt | Pointer to the packet | |
| len | Length of the packet |
Definition at line 39 of file rtp_recv.c.
References rtp_pkt::pad, rtp_pkt::pt, and rtp_pkt::ver.
Referenced by rtp_recv().
| static void rtp_init_seq | ( | rtp_ssrc * | stm_src, | |
| uint16_t | seq | |||
| ) | [static] |
Initializes informations about sequence numbers for the given source using the given seq number as the first one. And appends the source to the list of active sources for the given RTP session.
| stm_src | The source for which to initialize the sequence numbers informations | |
| seq | The first sequence number |
Definition at line 90 of file rtp_recv.c.
Referenced by rtp_update_seq().
| void rtp_update_seq | ( | rtp_ssrc * | stm_src, | |
| uint16_t | seq | |||
| ) |
Updates informations about sequence numbers for the given source. Sets max sequence number, initializes the sequence numbers and calls rtp_init if it is the first received sequence number, checks for misordered packets/jumps
| stm_src | The source for which to update the sequence numbers informations | |
| seq | The sequence number to analyze |
Definition at line 119 of file rtp_recv.c.
References rtp_init_seq().
Referenced by rtp_recv().

1.5.4