12 #ifndef ROC_RTCP_BYE_TRAVERSER_H_
13 #define ROC_RTCP_BYE_TRAVERSER_H_
packet::stream_source_t ssrc() const
Get SSRC element.
@ END
Parsed whole packet.
const char * reason() const
Get REASON element. Zero-terminated UTF-8 string. String is valid only until next() call.
State next()
Advance iterator.
Iterator iter() const
Construct iterator.
size_t ssrc_count() const
Get number of SSRC elements in packet.
ByeTraverser(const core::Slice< uint8_t > &data)
Initialize traverser. It will parse and iterate provided buffer.
bool parse()
Parse packet from buffer.
uint32_t stream_source_t
Packet stream identifier.
Commonly used types and functions.
Various units used in packets.