A peer-to-peer stream. More...
Instance Methods | |
(void) | - addOnDisabledChange: |
Adds a handler that is raised when the Disabled property changes state. More... | |
(void) | - addOnDisabledChangeWithCaller: |
Adds a handler that is raised when the Disabled property changes state. More... | |
(id) | - addOnDisabledChangeWithCallerWithBlock |
Adds a handler that is raised when the Disabled property changes state. More... | |
(void) | - addOnDisabledChangeWithCallerWithBlock: |
Adds a handler that is raised when the Disabled property changes state. More... | |
(bool) | - deactivated |
Gets a value indicating whether this stream is deactivated. More... | |
(bool) | - disabled |
Gets a value indicating whether this stream is disabled. More... | |
(FMLiveSwitchEncryptionMode) | - encryptionMode |
Gets the encryption mode. More... | |
(NSMutableArray *) | - encryptionModes |
Gets the encryption modes. More... | |
(FMLiveSwitchEncryptionPolicy) | - encryptionPolicy |
Gets a value indicating Encryption Policy. More... | |
(int) | - index |
Gets the index. More... | |
(instancetype) | - initWithType: |
Initializes a new instance of the FMLiveSwitchStream class. More... | |
(FMLiveSwitchIceParameters *) | - localIceParameters |
Gets the local ICE parameters. More... | |
(void) | - raiseDisabledChange |
Raises the OnDisabledChange event. More... | |
(FMLiveSwitchIceParameters *) | - remoteIceParameters |
Gets the remote ICE parameters. More... | |
(void) | - removeOnDisabledChange: |
Removes a handler that is raised when the Disabled property changes state. More... | |
(void) | - removeOnDisabledChangeWithCaller: |
Removes a handler that is raised when the Disabled property changes state. More... | |
(FMLiveSwitchSdesPolicy) | - sdesPolicy |
Gets Sdes policy for stream. More... | |
(void) | - setDeactivated: |
Sets a value indicating whether this stream is deactivated. More... | |
(void) | - setDisabled: |
Sets a value indicating whether this stream is disabled. More... | |
(void) | - setEncryptionMode: |
Sets the encryption mode. More... | |
(void) | - setEncryptionModes: |
Sets the encryption modes. More... | |
(void) | - setEncryptionPolicy: |
Sets a value indicating Encryption Policy. More... | |
(void) | - setSdesPolicy: |
Sets Sdes policy for stream. More... | |
(void) | - setUseDtls: |
Sets a value indicating whether DTLS encryption is in use for this stream. More... | |
(void) | - setUseSdes: |
Sets a value indicating whether SDES encryption is in use for this stream. More... | |
(bool) | - useDtls |
Gets a value indicating whether DTLS encryption is in use for this stream. More... | |
(bool) | - useSdes |
Gets a value indicating whether SDES encryption is in use for this stream. More... | |
Instance Methods inherited from FMLiveSwitchStreamBase | |
(void) | - addOnDirectionChange: |
Adds a handler that is raised when the stream direction changes. More... | |
(void) | - addOnStateChange: |
Adds a handler that is raised when the connection state changes. More... | |
(FMLiveSwitchError *) | - changeDirectionWithNewDirection: |
Changes this stream's direction. More... | |
(long long) | - connectedTimestamp |
Gets the ManagedStopwatch.GetTimestamp() value representing the ticks that passed when this stream's connection state changed to connected. More... | |
(NSString *) | - connectionId |
Gets the connection identifier. More... | |
(NSString *) | - description |
Returns a string that represents this instance. More... | |
(FMLiveSwitchStreamDirection) | - direction |
Gets the current direction. More... | |
(NSString *) | - externalId |
Gets the external identifier. More... | |
(NSString *) | - id |
Gets the identifier. More... | |
(bool) | - isTerminated |
Gets a value indicating whether the stream is currently closed or failed. More... | |
(bool) | - isTerminating |
Gets a value indicating whether the stream is currently closing or failing. More... | |
(bool) | - isTerminatingOrTerminated |
Gets a value indicating whether the stream is currently closing, failing, closed, or failed. More... | |
(NSString *) | - label |
Gets a label that identifies this class. More... | |
(FMLiveSwitchStreamDirection) | - localDirection |
Gets current direction indicated by the local description. More... | |
(bool) | - localReceive |
Gets a value indicating whether the local peer supports receiving media on this stream. More... | |
(bool) | - localSend |
Gets a value indicating whether the local peer on this stream supports sending media on this stream. More... | |
(NSString *) | - mediaDescriptionId |
Gets the media description ID of this stream. More... | |
(void) | - processStateChange |
Processes a state change. More... | |
(void) | - processStateLockChange |
Processes a state lock change. More... | |
(FMLiveSwitchStreamDirection) | - remoteDirection |
Gets current direction indicated by the remote description. More... | |
(bool) | - remoteReceive |
Gets a value indicating whether receiving media is supported by the remote peer on this stream. More... | |
(bool) | - remoteSend |
Gets a value indicating whether sending media is supported by the remote peer on this stream. More... | |
(void) | - removeOnDirectionChange: |
Removes a handler that is raised when the stream direction changes. More... | |
(void) | - removeOnStateChange: |
Removes a handler that is raised when the connection state changes. More... | |
(void) | - setExternalId: |
Sets the external identifier. More... | |
(void) | - setLocalDirection: |
Sets current direction indicated by the local description. More... | |
(void) | - setLocalReceive: |
Sets a value indicating whether the local peer supports receiving media on this stream. More... | |
(void) | - setLocalSend: |
Sets a value indicating whether the local peer on this stream supports sending media on this stream. More... | |
(void) | - setTag: |
Sets optional data to associate with this instance. More... | |
(void) | - setUseWssForMedia: |
Sets a value indicating whether W. More... | |
(FMLiveSwitchStreamState) | - state |
Gets the state of the stream. More... | |
(NSString *) | - tag |
Gets optional data to associate with this instance. More... | |
(FMLiveSwitchTransportInfo *) | - transportInfo |
Gets the stream transport info. More... | |
(FMLiveSwitchStreamType) | - type |
Gets the type. More... | |
(bool) | - useWssForMedia |
Gets a value indicating whether W. More... | |
Instance Methods inherited from FMLiveSwitchDynamic | |
(NSMutableDictionary< NSString *, id > *) | - dynamicProperties |
Gets all dynamic properties on this instance. More... | |
(id) | - getDynamicValueWithKey: |
Gets a property value from the local cache. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
(void) | - setDynamicValueWithKey:value: |
Sets a property value in the local cache. More... | |
(bool) | - unsetDynamicValueWithKey: |
Removes a property value from the local cache. More... | |
Class Methods | |
(FMLiveSwitchStream *) | + streamWithType: |
Initializes a new instance of the FMLiveSwitchStream class. More... | |
Class Methods inherited from FMLiveSwitchStreamBase | |
(FMLiveSwitchStreamBase *) | + streamBaseWithType: |
Initializes a new instance of the FMLiveSwitchStreamBase class. More... | |
Class Methods inherited from FMLiveSwitchDynamic | |
(FMLiveSwitchDynamic *) | + dynamic |
Class Methods inherited from FMLiveSwitchSerializable | |
(FMLiveSwitchSerializable *) | + serializable |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
A peer-to-peer stream.
- (void) addOnDisabledChange: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the Disabled property changes state.
- (void) addOnDisabledChangeWithCaller: | (FMLiveSwitchAction1< id > *) | value |
Adds a handler that is raised when the Disabled property changes state.
- (id) addOnDisabledChangeWithCallerWithBlock |
Adds a handler that is raised when the Disabled property changes state.
- (void) addOnDisabledChangeWithCallerWithBlock: | (void(^)(id)) | valueBlock |
Adds a handler that is raised when the Disabled property changes state.
- (bool) deactivated |
Gets a value indicating whether this stream is deactivated.
A stream is deactivated if its direction is unset or inactive.
- (bool) disabled |
Gets a value indicating whether this stream is disabled.
A stream is disabled if session negotiation failed or if the underlying transport could not be started.
- (FMLiveSwitchEncryptionMode) encryptionMode |
Gets the encryption mode.
- (NSMutableArray*) encryptionModes |
Gets the encryption modes.
- (FMLiveSwitchEncryptionPolicy) encryptionPolicy |
Gets a value indicating Encryption Policy.
- (int) index |
Gets the index.
- (instancetype) initWithType: | (FMLiveSwitchStreamType) | type |
Initializes a new instance of the FMLiveSwitchStream class.
type | The type. |
Implements FMLiveSwitchStreamBase.
Implemented in FMLiveSwitchMediaStreamBase.
- (FMLiveSwitchIceParameters*) localIceParameters |
Gets the local ICE parameters.
- (void) raiseDisabledChange |
Raises the OnDisabledChange event.
- (FMLiveSwitchIceParameters*) remoteIceParameters |
Gets the remote ICE parameters.
- (void) removeOnDisabledChange: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the Disabled property changes state.
- (void) removeOnDisabledChangeWithCaller: | (FMLiveSwitchAction1< id > *) | value |
Removes a handler that is raised when the Disabled property changes state.
- (FMLiveSwitchSdesPolicy) sdesPolicy |
Gets Sdes policy for stream.
- (void) setDeactivated: | (bool) | value |
Sets a value indicating whether this stream is deactivated.
A stream is deactivated if its direction is unset or inactive.
- (void) setDisabled: | (bool) | value |
Sets a value indicating whether this stream is disabled.
A stream is disabled if session negotiation failed or if the underlying transport could not be started.
- (void) setEncryptionMode: | (FMLiveSwitchEncryptionMode) | value |
Sets the encryption mode.
- (void) setEncryptionModes: | (NSMutableArray *) | value |
Sets the encryption modes.
- (void) setEncryptionPolicy: | (FMLiveSwitchEncryptionPolicy) | value |
Sets a value indicating Encryption Policy.
- (void) setSdesPolicy: | (FMLiveSwitchSdesPolicy) | value |
Sets Sdes policy for stream.
- (void) setUseDtls: | (bool) | value |
Sets a value indicating whether DTLS encryption is in use for this stream.
- (void) setUseSdes: | (bool) | value |
Sets a value indicating whether SDES encryption is in use for this stream.
+ (FMLiveSwitchStream*) streamWithType: | (FMLiveSwitchStreamType) | type |
Initializes a new instance of the FMLiveSwitchStream class.
type | The type. |
- (bool) useDtls |
Gets a value indicating whether DTLS encryption is in use for this stream.
- (bool) useSdes |
Gets a value indicating whether SDES encryption is in use for this stream.