Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::rtp::Encoding Struct Reference

RTP encoding. More...

#include <encoding.h>

Collaboration diagram for roc::rtp::Encoding:

Public Member Functions

 Encoding ()
 Initialize. More...
 

Public Attributes

unsigned int payload_type
 Payload type. More...
 
audio::SampleSpec sample_spec
 Encoding specification. More...
 
unsigned packet_flags
 Packet flags. More...
 
audio::IFrameEncoder *(* new_encoder )(core::IArena &arena, const audio::SampleSpec &sample_spec)
 Create frame encoder. More...
 
audio::IFrameDecoder *(* new_decoder )(core::IArena &arena, const audio::SampleSpec &sample_spec)
 Create frame decoder. More...
 

Detailed Description

RTP encoding.

Definition at line 27 of file encoding.h.

Constructor & Destructor Documentation

◆ Encoding()

roc::rtp::Encoding::Encoding ( )
inline

Initialize.

Definition at line 46 of file encoding.h.

Member Data Documentation

◆ new_decoder

audio::IFrameDecoder*(* roc::rtp::Encoding::new_decoder) (core::IArena &arena, const audio::SampleSpec &sample_spec)

Create frame decoder.

Definition at line 42 of file encoding.h.

◆ new_encoder

audio::IFrameEncoder*(* roc::rtp::Encoding::new_encoder) (core::IArena &arena, const audio::SampleSpec &sample_spec)

Create frame encoder.

Definition at line 38 of file encoding.h.

◆ packet_flags

unsigned roc::rtp::Encoding::packet_flags

Packet flags.

Definition at line 35 of file encoding.h.

◆ payload_type

unsigned int roc::rtp::Encoding::payload_type

Payload type.

Definition at line 29 of file encoding.h.

◆ sample_spec

audio::SampleSpec roc::rtp::Encoding::sample_spec

Encoding specification.

Definition at line 32 of file encoding.h.


The documentation for this struct was generated from the following file: