A data stream. More...
Public Member Functions | |
| DataStream (fm.liveswitch.DataChannel channel) | |
| Initializes a new instance of the fm.liveswitch.DataStream class. More... | |
| DataStream (fm.liveswitch.DataChannel[] channels) | |
| Initializes a new instance of the fm.liveswitch.DataStream class. More... | |
| fm.liveswitch.DataChannel[] | getChannels () |
| Gets the channels. More... | |
| long | getMaxMessageSize () |
| Gets maximum message size that this client is willing to receive over this stream in bytes. More... | |
| int | getSctpPort () |
| Gets the SCTP port. More... | |
| fm.liveswitch.TransportInfo | getTransportInfo () |
| Gets transport information. More... | |
| boolean | getUseSdes () |
| Gets a value indicating whether SDES encryption is in use for this stream. More... | |
| void | setMaxMessageSize (long value) |
| Sets maximum message size that this client is willing to receive over this stream in bytes. More... | |
| void | setSctpPort (int value) |
| Sets the SCTP port. More... | |
| void | setUseSdes (boolean value) |
| Sets a value indicating whether SDES encryption is in use for this stream. More... | |
Public Member Functions inherited from fm.liveswitch.Stream | |
| void | addOnDisabledChange (fm.liveswitch.IAction0 value) |
| Adds a handler that is raised when the Disabled property changes state. More... | |
| void | addOnDisabledChangeWithCaller (fm.liveswitch.IAction1< Object > value) |
| Adds a handler that is raised when the Disabled property changes state. More... | |
| boolean | getDeactivated () |
| Gets a value indicating whether this stream is deactivated. More... | |
| boolean | getDisabled () |
| Gets a value indicating whether this stream is disabled. More... | |
| fm.liveswitch.EncryptionMode | getEncryptionMode () |
| Gets the encryption mode. More... | |
| fm.liveswitch.EncryptionMode[] | getEncryptionModes () |
| Gets the encryption modes. More... | |
| fm.liveswitch.EncryptionPolicy | getEncryptionPolicy () |
| Gets a value indicating Encryption Policy. More... | |
| int | getIndex () |
| Gets the index. More... | |
| fm.liveswitch.IceParameters | getLocalIceParameters () |
| Gets the local ICE parameters. More... | |
| fm.liveswitch.IceParameters | getRemoteIceParameters () |
| Gets the remote ICE parameters. More... | |
| fm.liveswitch.SdesPolicy | getSdesPolicy () |
| Gets Sdes policy for stream. More... | |
| boolean | getUseDtls () |
| Gets a value indicating whether DTLS encryption is in use for this stream. More... | |
| void | removeOnDisabledChange (fm.liveswitch.IAction0 value) |
| Removes a handler that is raised when the Disabled property changes state. More... | |
| void | removeOnDisabledChangeWithCaller (fm.liveswitch.IAction1< Object > value) |
| Removes a handler that is raised when the Disabled property changes state. More... | |
| void | setDeactivated (boolean value) |
| Sets a value indicating whether this stream is deactivated. More... | |
| void | setDisabled (boolean value) |
| Sets a value indicating whether this stream is disabled. More... | |
| void | setEncryptionMode (fm.liveswitch.EncryptionMode value) |
| Sets the encryption mode. More... | |
| void | setEncryptionModes (fm.liveswitch.EncryptionMode[] value) |
| Sets the encryption modes. More... | |
| void | setEncryptionPolicy (fm.liveswitch.EncryptionPolicy value) |
| Sets a value indicating Encryption Policy. More... | |
| void | setSdesPolicy (fm.liveswitch.SdesPolicy value) |
| Sets Sdes policy for stream. More... | |
| void | setUseDtls (boolean value) |
| Sets a value indicating whether DTLS encryption is in use for this stream. More... | |
| Stream (fm.liveswitch.StreamType type) | |
| Initializes a new instance of the fm.liveswitch.Stream class. More... | |
Public Member Functions inherited from fm.liveswitch.StreamBase | |
| void | addOnDirectionChange (fm.liveswitch.IAction0 value) |
| Adds a handler that is raised when the stream direction changes. More... | |
| void | addOnStateChange (fm.liveswitch.IAction0 value) |
| Adds a handler that is raised when the connection state changes. More... | |
| abstract fm.liveswitch.Error | changeDirection (fm.liveswitch.StreamDirection newDirection) |
| Changes this stream's direction. More... | |
| String | getConnectionId () |
| Gets the connection identifier. More... | |
| abstract fm.liveswitch.StreamDirection | getDirection () |
| Gets the current direction. More... | |
| String | getExternalId () |
| Gets the external identifier. More... | |
| String | getId () |
| Gets the identifier. More... | |
| boolean | getIsTerminated () |
| Gets a value indicating whether the stream is currently closed or failed. More... | |
| boolean | getIsTerminating () |
| Gets a value indicating whether the stream is currently closing or failing. More... | |
| boolean | getIsTerminatingOrTerminated () |
| Gets a value indicating whether the stream is currently closing, failing, closed, or failed. More... | |
| abstract String | getLabel () |
| Gets a label that identifies this class. More... | |
| abstract fm.liveswitch.StreamDirection | getLocalDirection () |
| Gets current direction indicated by the local description. More... | |
| boolean | getLocalReceive () |
| Gets a value indicating whether the local peer supports receiving media on this stream. More... | |
| boolean | getLocalSend () |
| Gets a value indicating whether the local peer on this stream supports sending media on this stream. More... | |
| String | getMediaDescriptionId () |
| Gets the media description ID of this stream. More... | |
| abstract fm.liveswitch.StreamDirection | getRemoteDirection () |
| Gets current direction indicated by the remote description. More... | |
| boolean | getRemoteReceive () |
| Gets a value indicating whether receiving media is supported by the remote peer on this stream. More... | |
| boolean | getRemoteSend () |
| Gets a value indicating whether sending media is supported by the remote peer on this stream. More... | |
| fm.liveswitch.StreamState | getState () |
| Gets the state of the stream. More... | |
| String | getTag () |
| Gets optional data to associate with this instance. More... | |
| fm.liveswitch.StreamType | getType () |
| Gets the type. More... | |
| boolean | getUseWssForMedia () |
| Gets a value indicating whether W. More... | |
| void | removeOnDirectionChange (fm.liveswitch.IAction0 value) |
| Removes a handler that is raised when the stream direction changes. More... | |
| void | removeOnStateChange (fm.liveswitch.IAction0 value) |
| Removes a handler that is raised when the connection state changes. More... | |
| void | setExternalId (String value) |
| Sets the external identifier. More... | |
| abstract void | setLocalDirection (fm.liveswitch.StreamDirection value) |
| Sets current direction indicated by the local description. More... | |
| void | setLocalReceive (boolean value) |
| Sets a value indicating whether the local peer supports receiving media on this stream. More... | |
| void | setLocalSend (boolean value) |
| Sets a value indicating whether the local peer on this stream supports sending media on this stream. More... | |
| void | setTag (String value) |
| Sets optional data to associate with this instance. More... | |
| void | setUseWssForMedia (boolean value) |
| Sets a value indicating whether W. More... | |
| StreamBase (fm.liveswitch.StreamType type) | |
| Initializes a new instance of the fm.liveswitch.StreamBase class. More... | |
| String | toString () |
| Returns a string that represents this instance. More... | |
Public Member Functions inherited from fm.liveswitch.Dynamic | |
| java.util.HashMap< String, Object > | getDynamicProperties () |
| Gets all dynamic properties on this instance. More... | |
| Object | getDynamicValue (String key) |
| Gets a property value from the local cache. More... | |
| void | setDynamicValue (String key, Object value) |
| Sets a property value in the local cache. More... | |
| boolean | unsetDynamicValue (String key) |
| Removes a property value from the local cache. More... | |
Public Member Functions inherited from fm.liveswitch.IDataStream< TDataChannel > | |
| abstract fm.liveswitch.DataStreamInfo | getInfo () |
| Gets the data stream info. More... | |
Protected Member Functions | |
| void | processBundledStateChanged (boolean bundled) |
| Processes bundled state change of this stream. More... | |
| void | processCachedSettings () |
| Process the cached settings. More... | |
Protected Member Functions inherited from fm.liveswitch.Stream | |
| void | raiseDisabledChange () |
| Raises the OnDisabledChange event. More... | |
Protected Member Functions inherited from fm.liveswitch.StreamBase | |
| long | getConnectedTimestamp () |
| Gets the ManagedStopwatch.GetTimestamp() value representing the ticks that passed when this stream's connection state changed to connected. More... | |
| fm.liveswitch.LogContext | getLogContext () |
| Gets the log context for this connection. More... | |
| void | processStateChange () |
| Processes a state change. More... | |
| void | processStateLockChange () |
| Processes a state lock change. More... | |
| void | processUpdateToMediaStreamIdentification (String oldValue) |
| Process update to the MediaDescription Identificiation. More... | |
Protected Member Functions inherited from fm.liveswitch.Dynamic | |
| Dynamic () | |
Protected Member Functions inherited from fm.liveswitch.Serializable | |
| boolean | getIsDirty () |
| Gets a value indicating whether this instance is dirty. More... | |
| Serializable () | |
| Initializes a new instance of the fm.liveswitch.Serializable class. More... | |
| void | setIsDirty (boolean value) |
| Sets a value indicating whether this instance is dirty. More... | |
A data stream.
| fm.liveswitch.DataStream.DataStream | ( | fm.liveswitch.DataChannel | channel | ) |
Initializes a new instance of the fm.liveswitch.DataStream class.
| channel | The channel. |
| fm.liveswitch.DataStream.DataStream | ( | fm.liveswitch.DataChannel[] | channels | ) |
Initializes a new instance of the fm.liveswitch.DataStream class.
| channels | The channels. |
| fm.liveswitch.DataChannel [] fm.liveswitch.DataStream.getChannels | ( | ) |
Gets the channels.
Implements fm.liveswitch.IDataStream< TDataChannel >.
| long fm.liveswitch.DataStream.getMaxMessageSize | ( | ) |
Gets maximum message size that this client is willing to receive over this stream in bytes.
| int fm.liveswitch.DataStream.getSctpPort | ( | ) |
Gets the SCTP port.
| fm.liveswitch.TransportInfo fm.liveswitch.DataStream.getTransportInfo | ( | ) |
Gets transport information.
Implements fm.liveswitch.IStream.
| boolean fm.liveswitch.DataStream.getUseSdes | ( | ) |
Gets a value indicating whether SDES encryption is in use for this stream.
Reimplemented from fm.liveswitch.Stream.
|
protected |
Processes bundled state change of this stream.
| bundled |
Reimplemented from fm.liveswitch.Stream.
|
protected |
Process the cached settings.
Reimplemented from fm.liveswitch.Stream.
| void fm.liveswitch.DataStream.setMaxMessageSize | ( | long | value | ) |
Sets maximum message size that this client is willing to receive over this stream in bytes.
| void fm.liveswitch.DataStream.setSctpPort | ( | int | value | ) |
Sets the SCTP port.
| void fm.liveswitch.DataStream.setUseSdes | ( | boolean | value | ) |
Sets a value indicating whether SDES encryption is in use for this stream.
Reimplemented from fm.liveswitch.Stream.