#include "nalucommon.h"


Go to the source code of this file.
Data Structures | |
| struct | RTPpacket_t |
Defines | |
| #define | MAXRTPPAYLOADLEN (65536 - 40) |
| #define | MAXRTPPACKETSIZE (65536 - 28) |
| #define | H264PAYLOADTYPE 105 |
| #define | H264SSRC 0x12345678 |
| #define | RTP_TR_TIMESTAMP_MULT 1000 |
Functions | |
| void | DumpRTPHeader (RTPpacket_t *p) |
| int | GetRTPNALU (NALU_t *nalu) |
| void | OpenRTPFile (char *fn) |
| void | CloseRTPFile (void) |
Definition in file rtp.h.
| #define H264PAYLOADTYPE 105 |
RTP paylaod type fixed here for simplicity*/.
Definition at line 18 of file rtp.h.
Referenced by RTPReadPacket().
| #define H264SSRC 0x12345678 |
SSRC, chosen to simplify debugging */.
Definition at line 19 of file rtp.h.
Referenced by RTPReadPacket().
| #define MAXRTPPACKETSIZE (65536 - 28) |
Maximum size of an RTP packet incl. header */.
Definition at line 17 of file rtp.h.
Referenced by GetRTPNALU(), and RTPReadPacket().
| #define MAXRTPPAYLOADLEN (65536 - 40) |
| #define RTP_TR_TIMESTAMP_MULT 1000 |
| void CloseRTPFile | ( | void | ) |
Closes the bit stream file.
Definition at line 131 of file rtp.c.
References BitStreamFile.
Referenced by initBitsFile().
| void DumpRTPHeader | ( | RTPpacket_t * | p | ) |
DumpRTPHeader is a debug tool that dumps a human-readable interpretation of the RTP header.
| p | the RTP packet to be dumped, after DecompositeRTPpacket() |
Definition at line 305 of file rtp.c.
Referenced by DecomposeRTPpacket().
| int GetRTPNALU | ( | NALU_t * | nalu | ) |
Fills nalu->buf and nalu->len with the payload of an RTP packet. Other fields in nalu-> remain uninitialized (will be taken care of by NALUtoRBSP.
< triggers sequence number initialization on first call
< store the last RTP sequence number for loss detection
Definition at line 156 of file rtp.c.
References BitStreamFile, MAXRTPPACKETSIZE, no_mem_exit(), and RTPReadPacket().
Referenced by initBitsFile().

| void OpenRTPFile | ( | char * | fn | ) |
Opens the bit stream file named fn.
Definition at line 115 of file rtp.c.
References BitStreamFile, error(), errortext, and ET_SIZE.
Referenced by initBitsFile().
