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

Parameters of sender sink and sender session. More...

#include <config.h>

Collaboration diagram for roc::pipeline::SenderSinkConfig:

Public Member Functions

 SenderSinkConfig ()
 Initialize config. More...
 
void deduce_defaults ()
 Fill unset values with defaults. More...
 

Public Attributes

audio::SampleSpec input_sample_spec
 Input sample spec. More...
 
PipelineLoopConfig pipeline_loop
 Task processing parameters. More...
 
unsigned payload_type
 RTP payload type for audio packets. More...
 
core::nanoseconds_t packet_length
 Packet length, in nanoseconds. More...
 
fec::WriterConfig fec_writer
 FEC writer parameters. More...
 
fec::CodecConfig fec_encoder
 FEC encoder parameters. More...
 
audio::LatencyConfig latency
 Latency parameters. More...
 
audio::FeedbackConfig feedback
 Feedback parameters. More...
 
audio::ResamplerConfig resampler
 Resampler parameters. More...
 
audio::ProfilerConfig profiler
 Profiler configuration. More...
 
rtcp::Config rtcp
 RTCP config. More...
 
bool enable_timing
 Constrain receiver speed using a CPU timer according to the sample rate. More...
 
bool enable_auto_duration
 Automatically fill duration of input frames. More...
 
bool enable_auto_cts
 Automatically fill capture timestamps of input frames with invocation time. More...
 
bool enable_profiling
 Profile moving average of frames being written. More...
 
bool enable_interleaving
 Interleave packets. More...
 

Detailed Description

Parameters of sender sink and sender session.

Definition at line 58 of file config.h.

Constructor & Destructor Documentation

◆ SenderSinkConfig()

roc::pipeline::SenderSinkConfig::SenderSinkConfig ( )

Initialize config.

Member Function Documentation

◆ deduce_defaults()

void roc::pipeline::SenderSinkConfig::deduce_defaults ( )

Fill unset values with defaults.

Member Data Documentation

◆ enable_auto_cts

bool roc::pipeline::SenderSinkConfig::enable_auto_cts

Automatically fill capture timestamps of input frames with invocation time.

Definition at line 99 of file config.h.

◆ enable_auto_duration

bool roc::pipeline::SenderSinkConfig::enable_auto_duration

Automatically fill duration of input frames.

Definition at line 96 of file config.h.

◆ enable_interleaving

bool roc::pipeline::SenderSinkConfig::enable_interleaving

Interleave packets.

Definition at line 105 of file config.h.

◆ enable_profiling

bool roc::pipeline::SenderSinkConfig::enable_profiling

Profile moving average of frames being written.

Definition at line 102 of file config.h.

◆ enable_timing

bool roc::pipeline::SenderSinkConfig::enable_timing

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

Definition at line 93 of file config.h.

◆ fec_encoder

fec::CodecConfig roc::pipeline::SenderSinkConfig::fec_encoder

FEC encoder parameters.

Definition at line 75 of file config.h.

◆ fec_writer

fec::WriterConfig roc::pipeline::SenderSinkConfig::fec_writer

FEC writer parameters.

Definition at line 72 of file config.h.

◆ feedback

audio::FeedbackConfig roc::pipeline::SenderSinkConfig::feedback

Feedback parameters.

Definition at line 81 of file config.h.

◆ input_sample_spec

audio::SampleSpec roc::pipeline::SenderSinkConfig::input_sample_spec

Input sample spec.

Definition at line 60 of file config.h.

◆ latency

audio::LatencyConfig roc::pipeline::SenderSinkConfig::latency

Latency parameters.

Definition at line 78 of file config.h.

◆ packet_length

core::nanoseconds_t roc::pipeline::SenderSinkConfig::packet_length

Packet length, in nanoseconds.

Definition at line 69 of file config.h.

◆ payload_type

unsigned roc::pipeline::SenderSinkConfig::payload_type

RTP payload type for audio packets.

Definition at line 66 of file config.h.

◆ pipeline_loop

PipelineLoopConfig roc::pipeline::SenderSinkConfig::pipeline_loop

Task processing parameters.

Definition at line 63 of file config.h.

◆ profiler

audio::ProfilerConfig roc::pipeline::SenderSinkConfig::profiler

Profiler configuration.

Definition at line 87 of file config.h.

◆ resampler

audio::ResamplerConfig roc::pipeline::SenderSinkConfig::resampler

Resampler parameters.

Definition at line 84 of file config.h.

◆ rtcp

rtcp::Config roc::pipeline::SenderSinkConfig::rtcp

RTCP config.

Definition at line 90 of file config.h.


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