Class BridgeVideoSinkSettings
- Namespace
- VisioForge.Core.Types.X.Bridge
- Assembly
- VisioForge.Core.dll
Bridge video sink settings.
public class BridgeVideoSinkSettingsInheritance
Inherited Members
Constructors
BridgeVideoSinkSettings()
Initializes a new instance of the VisioForge.Core.Types.X.Bridge.BridgeVideoSinkSettings class.
public BridgeVideoSinkSettings()BridgeVideoSinkSettings(string, VideoFrameInfoX)
Initializes a new instance of the VisioForge.Core.Types.X.Bridge.BridgeVideoSinkSettings class.
[JsonConstructor]
public BridgeVideoSinkSettings(string channel, VideoFrameInfoX info)Parameters
channelstring-
The channel.
infoVideoFrameInfoX-
The information.
Properties
Channel
Gets the channel name to match bridge source and sink elements.
[JsonInclude]
public string Channel { get; }Property Value
CustomQosFlag
Gets or sets an explicit value for the qos property of the intervideosink
element. null leaves the element default, which intervideosink sets to
true with a 5 ms max-lateness in its own init.
public bool? CustomQosFlag { get; set; }Property Value
- bool?
Remarks
Set this to false together with VisioForge.Core.Types.X.Bridge.BridgeVideoSinkSettings.CustomSyncFlag = false: an
unsynced sink does not follow the clock that lateness is measured against, so QoS then
drops buffers for missing a schedule nobody is keeping. It is a separate property rather
than a consequence of the sync flag because existing callers - LiveVideoCompositor inputs
- already pass
CustomSyncFlag = falseand rely on QoS staying on.
CustomSyncFlag
Gets or sets a value indicating whether custom synchronize flag will be used.
public bool? CustomSyncFlag { get; set; }Property Value
- bool?
Info
Gets or sets the frame size delivered into the bridge channel.
public VideoFrameInfoX Info { get; set; }Property Value
Remarks
Frames are converted to BGRA at VisioForge.Core.Types.X.VideoFrameInfoX.Width x VisioForge.Core.Types.X.VideoFrameInfoX.Height with the pixel aspect ratio declared by the Info (square pixels by default); a source of another size or aspect is scaled to fit and letterboxed, while a frame that already matches both crosses unchanged. Width and height must be positive. VisioForge.Core.Types.X.VideoFrameInfoX.FrameRate is a preference, not a requirement: a source that offers a range of rates is steered to it, and a source whose real rate differs from it (or is variable) is accepted as is, since the bridge source on the other end of the channel produces frames at its own rate.
RenderDelay
Gets or sets the render delay reported by intervideosink.
public TimeSpan? RenderDelay { get; set; }Property Value
Remarks
Maps directly to GstBaseSink::render-delay: a non-negative
hint that the receiving end will hold buffers for this long after
they arrive. Mirrors VisioForge.Core.Types.X.Bridge.BridgeAudioSinkSettings.RenderDelay
for the video bridge. Leave null to keep the
intervideosink default (no explicit render delay set).
Negative values are clamped to Zero in the
setter to avoid the unsigned-cast wraparound on the native side.