#include <mnt_rtp.h>
Public Member Functions | |
| uint32_t | get_ssrc () |
| uint16_t | get_seq_no () |
| uint32_t | get_timestamp () |
| int | marker_bit_set () |
Public Attributes | |
| union { | |
| uint16_t bits_ | |
| } | flags_ |
| uint16_t | seqno_ |
| uint32_t | ts_ |
| uint32_t | ssrc_ |
Static Public Attributes | |
| static const int | RTP_M_MASK = 0x0080 |
| static const int | RTP_M_SHIFT = 7 |
| static const int | RTP_P = 0x2000 |
| static const int | RTP_X = 0x1000 |
| static const int | RTP_PT_MPEG = 32 |
From RFC:
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC |M| PT | sequence number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | contributing source (CSRC) identifiers | | .... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
sequence number (network format) |
|
|
synchronization src id (network format) |
|
|
media-specific time stamp (network format) |
1.4.4