12 #ifndef ROC_RTCP_SDES_TRAVERSER_H_
13 #define ROC_RTCP_SDES_TRAVERSER_H_
73 char parsed_item_text_[header::MaxTextLen + 1];
State next()
Advance iterator.
SdesItem get_item() const
Get SDES item. Item is valid only until next() call.
bool error() const
Check if there were any parsing errors.
@ END
Parsed whole packet.
SdesChunk get_chunk() const
Get SDES chunk.
size_t chunks_count() const
Get number of SDES chunks in packet.
SdesTraverser(const core::Slice< uint8_t > &buf)
Initialize traverser. It will parse and iterate provided buffer.
bool parse()
Parse packet from buffer.
Iterator iter() const
Construct iterator.
uint32_t stream_source_t
Packet stream identifier.
Commonly used types and functions.
Various units used in packets.