12 #ifndef ROC_RTP_ENCODING_H_
13 #define ROC_RTP_ENCODING_H_
#define ROC_ATTR_NODISCARD
Emit warning if function result is not checked.
Audio frame decoder interface.
Audio frame encoder interface.
Sample specification. Describes sample rate and channels.
Audio frame decoder interface.
Audio frame encoder interface.
ROC_ATTR_NODISCARD bool parse_encoding(const char *str, Encoding &result)
Parse RTP encoding from string.
audio::IFrameEncoder *(* new_encoder)(core::IArena &arena, const audio::SampleSpec &sample_spec)
Create frame encoder.
audio::IFrameDecoder *(* new_decoder)(core::IArena &arena, const audio::SampleSpec &sample_spec)
Create frame decoder.
unsigned packet_flags
Packet flags.
audio::SampleSpec sample_spec
Encoding specification.
unsigned int payload_type
Payload type.