Stream interface. More...
Instance Methods | |
(void) | - addOnDirectionChange: |
Adds a handler that is raised when the signalling state changes. More... | |
(void) | - addOnStateChange: |
Adds a handler that is raised when the stream state changes. More... | |
(FMLiveSwitchError *) | - changeDirectionWithNewDirection: |
Changes this stream's direction. More... | |
(FMLiveSwitchStreamDirection) | - direction |
Gets the current direction. More... | |
(NSString *) | - externalId |
Gets the external identifier. More... | |
(NSString *) | - id |
Gets the identifier. 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 receiving media is supported by the local peer on this stream. More... | |
(bool) | - localSend |
Gets a value indicating whether sending media is supported by the local peer on this stream. More... | |
(NSString *) | - mediaDescriptionId |
Gets the media description identifier. More... | |
(FMLiveSwitchStreamDirection) | - remoteDirection |
Gets the current direction indicated by the remote description. More... | |
(bool) | - remoteReceive |
Gets a value indicating whether receiving media is supported by the local 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 signalling state changes. More... | |
(void) | - removeOnStateChange: |
Removes a handler that is raised when the stream 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 receiving media is supported by the local peer on this stream. More... | |
(void) | - setLocalSend: |
Sets a value indicating whether sending media is supported by the local peer on this stream. More... | |
(void) | - setTag: |
Sets optional data to associate with this instance. More... | |
(FMLiveSwitchStreamState) | - state |
Gets the current state. 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... | |
Stream interface.
- (void) addOnDirectionChange: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the signalling state changes.
Reimplemented in FMLiveSwitchStreamBase.
- (void) addOnStateChange: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the stream state changes.
Reimplemented in FMLiveSwitchStreamBase.
- (FMLiveSwitchError*) changeDirectionWithNewDirection: | (FMLiveSwitchStreamDirection) | newDirection |
Changes this stream's direction.
Reimplemented in FMLiveSwitchStreamBase, and FMLiveSwitchMediaStreamBase.
- (FMLiveSwitchStreamDirection) direction |
Gets the current direction.
Reimplemented in FMLiveSwitchStreamBase, and FMLiveSwitchMediaStreamBase.
- (NSString*) externalId |
Gets the external identifier.
Reimplemented in FMLiveSwitchStreamBase.
Gets the identifier.
Reimplemented in FMLiveSwitchStreamBase.
- (NSString*) label |
Gets a label that identifies this class.
Reimplemented in FMLiveSwitchStreamBase, and FMLiveSwitchMediaStreamBase.
- (FMLiveSwitchStreamDirection) localDirection |
Gets current direction indicated by the local description.
Reimplemented in FMLiveSwitchStreamBase, and FMLiveSwitchMediaStreamBase.
- (bool) localReceive |
Gets a value indicating whether receiving media is supported by the local peer on this stream.
Reimplemented in FMLiveSwitchStreamBase.
- (bool) localSend |
Gets a value indicating whether sending media is supported by the local peer on this stream.
Reimplemented in FMLiveSwitchStreamBase.
- (NSString*) mediaDescriptionId |
Gets the media description identifier.
Reimplemented in FMLiveSwitchStreamBase.
- (FMLiveSwitchStreamDirection) remoteDirection |
Gets the current direction indicated by the remote description.
Reimplemented in FMLiveSwitchStreamBase, and FMLiveSwitchMediaStreamBase.
- (bool) remoteReceive |
Gets a value indicating whether receiving media is supported by the local peer on this stream.
Returns false if the remote stream direction has not been received.
Reimplemented in FMLiveSwitchStreamBase.
- (bool) remoteSend |
Gets a value indicating whether sending media is supported by the remote peer on this stream.
Returns false if the remote stream direction has not been received.
Reimplemented in FMLiveSwitchStreamBase.
- (void) removeOnDirectionChange: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the signalling state changes.
Reimplemented in FMLiveSwitchStreamBase.
- (void) removeOnStateChange: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the stream state changes.
Reimplemented in FMLiveSwitchStreamBase.
- (void) setExternalId: | (NSString *) | value |
Sets the external identifier.
Reimplemented in FMLiveSwitchStreamBase.
- (void) setLocalDirection: | (FMLiveSwitchStreamDirection) | value |
Sets current direction indicated by the local description.
Reimplemented in FMLiveSwitchStreamBase, and FMLiveSwitchMediaStreamBase.
- (void) setLocalReceive: | (bool) | value |
Sets a value indicating whether receiving media is supported by the local peer on this stream.
Reimplemented in FMLiveSwitchStreamBase.
- (void) setLocalSend: | (bool) | value |
Sets a value indicating whether sending media is supported by the local peer on this stream.
Reimplemented in FMLiveSwitchStreamBase.
- (void) setTag: | (NSString *) | value |
Sets optional data to associate with this instance.
Reimplemented in FMLiveSwitchStreamBase.
- (FMLiveSwitchStreamState) state |
Gets the current state.
Reimplemented in FMLiveSwitchStreamBase.
- (NSString*) tag |
Gets optional data to associate with this instance.
Reimplemented in FMLiveSwitchStreamBase.
- (FMLiveSwitchTransportInfo*) transportInfo |
Gets the stream transport info.
Reimplemented in FMLiveSwitchStreamBase.
- (FMLiveSwitchStreamType) type |
Gets the type.
Reimplemented in FMLiveSwitchStreamBase.