Class DataStream
A data stream.
Inheritance
System.Object
DataStream
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class DataStream : DataStreamBase<DataChannel>, IDataStream<DataChannel>, IStream
Constructors
DataStream(DataChannel)
Initializes a new instance of the DataStream class.
Declaration
public DataStream(DataChannel channel)
Parameters
Type | Name | Description |
---|---|---|
DataChannel | channel | The channel. |
DataStream(DataChannel[])
Initializes a new instance of the DataStream class.
Declaration
public DataStream(DataChannel[] channels)
Parameters
Type | Name | Description |
---|---|---|
DataChannel[] | channels | The channels. |
Properties
Channels
Gets the channels.
Declaration
public override DataChannel[] Channels { get; }
Property Value
Type | Description |
---|---|
DataChannel[] |
Overrides
FM.LiveSwitch.DataStreamBase<FM.LiveSwitch.DataChannel>.Channels
MaxMessageSize
Gets or sets maximum message size that this client is willing to receive over this stream in bytes.
Declaration
public long MaxMessageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
SctpPort
Gets or sets the SCTP port.
Declaration
public int SctpPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TransportInfo
Gets transport information.
Declaration
public override TransportInfo TransportInfo { get; }
Property Value
Type | Description |
---|---|
TransportInfo |
Overrides
UseSdes
Gets or sets a value indicating whether SDES encryption is in use for this stream.
Declaration
public override bool UseSdes { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
ProcessBundledStateChanged(Boolean)
Processes bundled state change of this stream.
Declaration
protected override void ProcessBundledStateChanged(bool bundled)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bundled |
Overrides
ProcessCachedSettings()
Process the cached settings.
Declaration
protected override void ProcessCachedSettings()