12 #ifndef ROC_PACKET_RTP_H_
13 #define ROC_PACKET_RTP_H_
int64_t nanoseconds_t
Nanoseconds.
uint32_t stream_source_t
Packet stream identifier.
uint16_t seqnum_t
Packet sequence number.
uint32_t stream_timestamp_t
Packet stream timestamp.
Commonly used types and functions.
RTP()
Construct zero RTP packet.
core::nanoseconds_t capture_timestamp
Packet capture timestamp ("cts").
stream_source_t source_id
Packet source ID identifying packet stream ("ssrc").
unsigned int payload_type
Packet payload type ("pt").
bool marker
Packet marker bit ("m").
stream_timestamp_t duration
Packet duration.
seqnum_t seqnum
Packet sequence number in packet stream ("sn").
core::Slice< uint8_t > header
Packet header.
int compare(const RTP &) const
Determine packet order.
core::Slice< uint8_t > payload
Packet payload.
stream_timestamp_t stream_timestamp
Packet stream timestamp ("sts").
core::Slice< uint8_t > padding
Packet padding.
Various units used in packets.