Table of Contents

Class MultiUDPSinkSettings

Namespace
VisioForge.Core.Types.X.Sinks
Assembly
VisioForge.Core.dll

Multi-destination UDP sink settings for streaming data over UDP to multiple destinations simultaneously.

public class MultiUDPSinkSettings : UDPSinkSettingsBase, IMediaBlockSettings

Inheritance

Implements

Inherited Members

Properties

Clients

A comma-separated list of host:port pairs with destinations. Defaults to empty string.

public string Clients { get; set; }

Property Value

string

SendDuplicates

When a destination/port pair is added multiple times, send packets multiple times as well. Defaults to true.

public bool SendDuplicates { get; set; }

Property Value

bool

Methods

AddClient(string, int)

Adds a client destination.

public void AddClient(string host, int port)

Parameters

host string

The host address.

port int

The port number.

CreateBlock()

Creates the media block instance for multi-destination UDP sink.

public override MediaBlock CreateBlock()

Returns

MediaBlock

A new instance of VisioForge.Core.MediaBlocks.Sinks.MultiUDPSinkBlock configured with these settings.

GetClientList()

Returns the list of client destinations.

public string[] GetClientList()

Returns

string[]

An array of "host:port" strings.

RemoveClient(string, int)

Removes a client destination.

public void RemoveClient(string host, int port)

Parameters

host string

The host address.

port int

The port number.