Class RISTSinkSettings
- Namespace
- VisioForge.Core.Types.X.Sinks
- Assembly
- VisioForge.Core.dll
RIST (Reliable Internet Stream Transport) sink settings for low-latency video streaming.
public class RISTSinkSettings : IMediaBlockSettingsInheritance
Implements
Inherited Members
Properties
Address
Address to send packets to (can be IPv4 or IPv6). Defaults to "localhost".
public string Address { get; set; }Property Value
BondingAddresses
Comma-separated list of address:port pairs for bonding. When set, overrides Address and Port properties. Defaults to null.
public string BondingAddresses { get; set; }Property Value
BondingMethod
Bonding method to use when multiple destinations are configured.
public RISTBondingMethod BondingMethod { get; set; }Property Value
CName
Set the CNAME in the SDES block of the sender report. Defaults to null (auto-generated).
public string CName { get; set; }Property Value
DropNullTSPackets
Drop null MPEG-TS packets and replace them with a custom header extension. Defaults to false.
public bool DropNullTSPackets { get; set; }Property Value
MaxRTCPBandwidth
The maximum bandwidth used for RTCP as a fraction of RTP bandwidth. Defaults to 0.05.
public double MaxRTCPBandwidth { get; set; }Property Value
MinRTCPInterval
The minimum interval between two regular successive RTCP packets (in ms). Defaults to 100.
public uint MinRTCPInterval { get; set; }Property Value
MulticastInterface
The multicast interface to use to send packets. Defaults to null.
public string MulticastInterface { get; set; }Property Value
MulticastLoopback
When enabled, multicast packets will be received locally. Defaults to false.
public bool MulticastLoopback { get; set; }Property Value
MulticastTTL
The multicast time-to-live parameter. Defaults to 1.
public int MulticastTTL { get; set; }Property Value
MuxerLatency
Gets or sets the MPEG-TS muxer aggregator latency. Controls how long mpegtsmux waits for all streams before producing output. Higher values improve A/V sync but increase startup delay. Defaults to 1000 milliseconds.
public TimeSpan MuxerLatency { get; set; }Property Value
Port
The port RTP packets will be sent to. The RTCP port is this value + 1. This port must be an even number. Defaults to 5004.
public uint Port { get; set; }Property Value
SenderBuffer
Size of the retransmission queue (sender buffer). Defaults to 1200 milliseconds.
public TimeSpan SenderBuffer { get; set; }Property Value
SequenceNumberExtension
Add sequence number extension to packets. Defaults to false.
public bool SequenceNumberExtension { get; set; }Property Value
Methods
CreateBlock()
Creates the media block instance for RIST sink.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
A new instance of VisioForge.Core.MediaBlocks.Sinks.RISTMPEGTSSinkBlock configured with these settings.
ToUrl()
Constructs a RIST URL from the current Address and Port properties.
public string ToUrl()Returns
- string
-
A string in the format "rist://address:port".
TryParseUrl(string)
Parses a RIST URL and updates the Address and Port properties.
public bool TryParseUrl(string url)Parameters
urlstring-
The URL to parse, expected in the format "rist://address:port".
Returns
- bool
-
trueif the URL was successfully parsed; otherwise,false.