12 #ifndef ROC_PIPELINE_CONFIG_H_
13 #define ROC_PIPELINE_CONFIG_H_
43 audio::ChanMask_Surround_Stereo);
Sample specification. Describes sample rate and channels.
@ ChanLayout_Surround
Multi-channel mono / stereo / surround sound.
const PcmFormat Sample_RawFormat
Format description for raw audio samples.
@ ChanOrder_Smpte
ITU/SMPTE channel order. Order: FL, FR, FC, LFE, BL, BR, BC, SL, SR, TFL, TFR, TBL,...
const nanoseconds_t Millisecond
One millisecond represented in nanoseconds.
int64_t nanoseconds_t
Nanoseconds.
const core::nanoseconds_t DefaultPacketLength
Default packet length.
const core::nanoseconds_t DefaultLatency
Default latency.
const size_t DefaultSampleRate
Default sample rate, number of samples per second.
Base class for pipelines.
Commonly used types and functions.
Feedback monitor configuration.
Profiler Configuration Parameters. Controls profiling interval and duration of each circular buffer c...
Pipeline loop task processing parameters.
Parameters common for all receiver sessions.
bool enable_auto_reclock
Automatically invoke reclock before returning frames with invocation time.
audio::ProfilerConfig profiler
Profiler configuration.
void deduce_defaults()
Fill unset values with defaults.
ReceiverCommonConfig()
Initialize config.
rtcp::Config rtcp
RTCP config.
bool enable_profiling
Profile moving average of frames being written.
bool enable_timing
Constrain receiver speed using a CPU timer according to the sample rate.
audio::SampleSpec output_sample_spec
Output sample spec.
rtp::FilterConfig rtp_filter
RTP filter parameters.
Parameters of receiver session.
audio::LatencyConfig latency
Latency parameters.
audio::ResamplerConfig resampler
Resampler parameters.
void deduce_defaults()
Fill unset values with defaults.
fec::ReaderConfig fec_reader
FEC reader parameters.
unsigned int payload_type
Packet payload type.
fec::CodecConfig fec_decoder
FEC decoder parameters.
audio::WatchdogConfig watchdog
Watchdog parameters.
ReceiverSessionConfig()
Initialize config.
bool enable_beeping
Insert weird beeps instead of silence on packet loss.
Parameters of receiver slot.
void deduce_defaults()
Fill unset values with defaults.
ReceiverSlotConfig()
Initialize config.
bool enable_routing
Enable routing packets to multiple sessions within slot.
Parameters of receiver session.
ReceiverSourceConfig()
Initialize config.
ReceiverCommonConfig common
Parameters common for all sessions.
PipelineLoopConfig pipeline_loop
Task processing parameters.
ReceiverSessionConfig session_defaults
Default parameters for a session.
void deduce_defaults()
Fill unset values with defaults.
Parameters of sender sink and sender session.
unsigned payload_type
RTP payload type for audio packets.
core::nanoseconds_t packet_length
Packet length, in nanoseconds.
bool enable_timing
Constrain receiver speed using a CPU timer according to the sample rate.
audio::SampleSpec input_sample_spec
Input sample spec.
audio::FeedbackConfig feedback
Feedback parameters.
rtcp::Config rtcp
RTCP config.
bool enable_auto_cts
Automatically fill capture timestamps of input frames with invocation time.
bool enable_auto_duration
Automatically fill duration of input frames.
audio::ResamplerConfig resampler
Resampler parameters.
audio::ProfilerConfig profiler
Profiler configuration.
void deduce_defaults()
Fill unset values with defaults.
audio::LatencyConfig latency
Latency parameters.
fec::WriterConfig fec_writer
FEC writer parameters.
PipelineLoopConfig pipeline_loop
Task processing parameters.
fec::CodecConfig fec_encoder
FEC encoder parameters.
bool enable_interleaving
Interleave packets.
SenderSinkConfig()
Initialize config.
bool enable_profiling
Profile moving average of frames being written.
Parameters of sender slot.
void deduce_defaults()
Fill unset values with defaults.
SenderSlotConfig()
Initialize config.
audio::SampleSpec input_sample_spec
Input sample spec.
audio::SampleSpec output_sample_spec
Output sample spec.
audio::ProfilerConfig profiler
Profiler configuration.
bool enable_profiling
Profile moving average of frames being written.
void deduce_defaults()
Fill unset values with defaults.
TranscoderConfig()
Initialize config.
audio::ResamplerConfig resampler
Resampler parameters.
Various units used in packets.