Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::pipeline::SenderConfig Struct Reference

Sender parameters. More...

#include <config.h>

Collaboration diagram for roc::pipeline::SenderConfig:

Public Attributes

audio::ResamplerConfig resampler
 Resampler parameters. More...
 
fec::WriterConfig fec_writer
 FEC writer parameters. More...
 
fec::CodecConfig fec_encoder
 FEC encoder parameters. More...
 
size_t input_sample_rate
 Number of samples per second per channel. More...
 
packet::channel_mask_t input_channels
 Channel mask. More...
 
size_t internal_frame_size
 Number of samples for internal frames. More...
 
core::nanoseconds_t packet_length
 Packet length, in nanoseconds. More...
 
rtp::PayloadType payload_type
 RTP payload type for audio packets. More...
 
bool resampling
 Resample frames with a constant ratio. More...
 
bool interleaving
 Interleave packets. More...
 
bool timing
 Constrain receiver speed using a CPU timer according to the sample rate. More...
 
bool poisoning
 Fill unitialized data with large values to make them more noticable. More...
 

Detailed Description

Sender parameters.

Definition at line 69 of file config.h.

Member Data Documentation

fec::CodecConfig roc::pipeline::SenderConfig::fec_encoder

FEC encoder parameters.

Definition at line 77 of file config.h.

fec::WriterConfig roc::pipeline::SenderConfig::fec_writer

FEC writer parameters.

Definition at line 74 of file config.h.

packet::channel_mask_t roc::pipeline::SenderConfig::input_channels

Channel mask.

Definition at line 83 of file config.h.

size_t roc::pipeline::SenderConfig::input_sample_rate

Number of samples per second per channel.

Definition at line 80 of file config.h.

bool roc::pipeline::SenderConfig::interleaving

Interleave packets.

Definition at line 98 of file config.h.

size_t roc::pipeline::SenderConfig::internal_frame_size

Number of samples for internal frames.

Definition at line 86 of file config.h.

core::nanoseconds_t roc::pipeline::SenderConfig::packet_length

Packet length, in nanoseconds.

Definition at line 89 of file config.h.

rtp::PayloadType roc::pipeline::SenderConfig::payload_type

RTP payload type for audio packets.

Definition at line 92 of file config.h.

bool roc::pipeline::SenderConfig::poisoning

Fill unitialized data with large values to make them more noticable.

Definition at line 104 of file config.h.

audio::ResamplerConfig roc::pipeline::SenderConfig::resampler

Resampler parameters.

Definition at line 71 of file config.h.

bool roc::pipeline::SenderConfig::resampling

Resample frames with a constant ratio.

Definition at line 95 of file config.h.

bool roc::pipeline::SenderConfig::timing

Constrain receiver speed using a CPU timer according to the sample rate.

Definition at line 101 of file config.h.


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