Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::rtp::Format Struct Reference

RTP payload format. More...

#include <format.h>

Public Member Functions

 Format ()
 Initialize.
 

Public Attributes

PayloadType payload_type
 Payload type.
 
audio::PcmFormat pcm_format
 Sample encoding and endian.
 
audio::SampleSpec sample_spec
 Sample rate and channel mask.
 
unsigned packet_flags
 Packet flags.
 
audio::IFrameEncoder *(* new_encoder )(core::IAllocator &allocator)
 Create frame encoder.
 
audio::IFrameDecoder *(* new_decoder )(core::IAllocator &allocator)
 Create frame decoder.
 

Detailed Description

RTP payload format.

Definition at line 26 of file format.h.

Constructor & Destructor Documentation

◆ Format()

roc::rtp::Format::Format ( )
inline

Initialize.

Definition at line 46 of file format.h.

Member Data Documentation

◆ new_decoder

audio::IFrameDecoder *(* roc::rtp::Format::new_decoder) (core::IAllocator &allocator)

Create frame decoder.

Definition at line 43 of file format.h.

◆ new_encoder

audio::IFrameEncoder *(* roc::rtp::Format::new_encoder) (core::IAllocator &allocator)

Create frame encoder.

Definition at line 40 of file format.h.

◆ packet_flags

unsigned roc::rtp::Format::packet_flags

Packet flags.

Definition at line 37 of file format.h.

◆ payload_type

PayloadType roc::rtp::Format::payload_type

Payload type.

Definition at line 28 of file format.h.

◆ pcm_format

audio::PcmFormat roc::rtp::Format::pcm_format

Sample encoding and endian.

Definition at line 31 of file format.h.

◆ sample_spec

audio::SampleSpec roc::rtp::Format::sample_spec

Sample rate and channel mask.

Definition at line 34 of file format.h.


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