StreamSwitchSmoothConfiguration

Field

Type

Repeated

Description

id

MediaNodeId

active_source

InputPin

The pin to select as the initially active source

output_source

string

The source name for the output source

transition_duration_ms

float

Duration for the transition

output_resolution

Resolution

Resolution of the normalised output

sample_rate

SampleRate

The sample rate of the output

sampleFormat

SampleFormat

The sample format of the output

frame_rate

FrameRate

The frame rate of the output

channel_layout

ChannelLayout

The channel layout of the output

alignment

StreamSwitchSmoothConfiguration.Alignment

Align all timestamps to minimise timestamp jitter on mixed streams

hardware_acceleration

StreamSwitchSmoothConfiguration.StreamSwitchSmoothHardwareAcceleration

Whether to do the video compose operation in memory or on the specified hardware

max_queue_ms

OptionalInt

Maximum duration to hold any stream in the case that one or more are running behind. In the case the late stream is delayed rather than having a large gap, this will result in discarded input frames.

audio_latency_ms

float

Latency in milliseconds for the audio gap filler. Higher values allow better concealment of gaps/overlaps at the cost of added audio delay. 0 = no latency (default).

start_video_stream_id

uint32

Starting stream ID for the output video stream (default 1)

start_audio_stream_id

uint32

Starting stream ID for the output audio stream (default 2)

Member of

Message

Description

StreamSwitchSmoothMessage