Media interface. More...
Instance Methods | |
(void) | - addOnAudioDestroyed: |
Adds a handler that is raised when the audio track is destroyed. More... | |
(void) | - addOnAudioLevel: |
Adds a handler that is raised periodically when the audio's level is calculated. More... | |
(double) | - addOnAudioLevelWithBlock |
Adds a handler that is raised periodically when the audio's level is calculated. More... | |
(void) | - addOnAudioLevelWithBlock: |
Adds a handler that is raised periodically when the audio's level is calculated. More... | |
(void) | - addOnVideoDestroyed: |
Adds a handler that is raised when the video track is destroyed. More... | |
(void) | - addOnVideoSize: |
Adds a handler that is raised whenever the video's frame size is known, once per frame. More... | |
(void) | - addOnVideoSizeChange: |
Adds a handler that is raised whenever the video's frame size changes. More... | |
(FMLiveSwitchSize *) | - addOnVideoSizeChangeWithBlock |
Adds a handler that is raised whenever the video's frame size changes. More... | |
(void) | - addOnVideoSizeChangeWithBlock: |
Adds a handler that is raised whenever the video's frame size changes. More... | |
(FMLiveSwitchSize *) | - addOnVideoSizeWithBlock |
Adds a handler that is raised whenever the video's frame size is known, once per frame. More... | |
(void) | - addOnVideoSizeWithBlock: |
Adds a handler that is raised whenever the video's frame size is known, once per frame. More... | |
(double) | - audioGain |
Gets a value indicating the audio gain (input amplification). More... | |
(int) | - audioLevelInterval |
Gets the interval in milliseconds between FMLiveSwitchIMedia`2addOnAudioLevel: events. More... | |
(bool) | - audioMuted |
Gets a value indicating whether the audio is muted. More... | |
(NSObject< FMLiveSwitchIAudioTrack > *) | - audioTrack |
Gets the audio track. More... | |
(NSMutableArray *) | - audioTracks |
Gets the audio tracks. More... | |
(double) | - audioVolume |
Gets a value indicating the audio volume (output resistance). More... | |
(void) | - destroy |
Destroys this media stack. More... | |
(FMLiveSwitchFuture *) | - grabVideoFrame |
Gets the next raw video frame. More... | |
(NSString *) | - id |
Gets the identifier. More... | |
(void) | - removeOnAudioDestroyed: |
Removes a handler that is raised when the audio track is destroyed. More... | |
(void) | - removeOnAudioLevel: |
Removes a handler that is raised periodically when the audio's level is calculated. More... | |
(void) | - removeOnVideoDestroyed: |
Removes a handler that is raised when the video track is destroyed. More... | |
(void) | - removeOnVideoSize: |
Removes a handler that is raised whenever the video's frame size is known, once per frame. More... | |
(void) | - removeOnVideoSizeChange: |
Removes a handler that is raised whenever the video's frame size changes. More... | |
(void) | - setAudioGain: |
Sets a value indicating the audio gain (input amplification). More... | |
(void) | - setAudioLevelInterval: |
Sets the interval in milliseconds between FMLiveSwitchIMedia`2addOnAudioLevel: events. More... | |
(void) | - setAudioMuted: |
Sets a value indicating whether the audio is muted. More... | |
(void) | - setAudioVolume: |
Sets a value indicating the audio volume (output resistance). More... | |
(void) | - setId: |
Sets the identifier. More... | |
(void) | - setVideoMuted: |
Sets a value indicating whether the video is muted. More... | |
(bool) | - videoMuted |
Gets a value indicating whether the video is muted. More... | |
(FMLiveSwitchSize *) | - videoSize |
Gets the size of the last processed video frame, if known. More... | |
(NSObject< FMLiveSwitchIVideoTrack > *) | - videoTrack |
Gets the video track. More... | |
(NSMutableArray *) | - videoTracks |
Gets the video tracks. More... | |
Media interface.
- (void) addOnAudioDestroyed: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the audio track is destroyed.
If there are multiple audio tracks in a custom media stack, this event is only triggered by the first audio track.
- (void) addOnAudioLevel: | (FMLiveSwitchAction1 *) | value |
Adds a handler that is raised periodically when the audio's level is calculated.
If there are multiple audio tracks in a custom media stack, this event is only triggered by the first audio track.
- (double) addOnAudioLevelWithBlock |
Adds a handler that is raised periodically when the audio's level is calculated.
If there are multiple audio tracks in a custom media stack, this event is only triggered by the first audio track.
- (void) addOnAudioLevelWithBlock: | (void(^)(double)) | valueBlock |
Adds a handler that is raised periodically when the audio's level is calculated.
If there are multiple audio tracks in a custom media stack, this event is only triggered by the first audio track.
- (void) addOnVideoDestroyed: | (FMLiveSwitchAction0 *) | value |
Adds a handler that is raised when the video track is destroyed.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (void) addOnVideoSize: | (FMLiveSwitchAction1 *) | value |
Adds a handler that is raised whenever the video's frame size is known, once per frame.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (void) addOnVideoSizeChange: | (FMLiveSwitchAction1 *) | value |
Adds a handler that is raised whenever the video's frame size changes.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (FMLiveSwitchSize*) addOnVideoSizeChangeWithBlock |
Adds a handler that is raised whenever the video's frame size changes.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (void) addOnVideoSizeChangeWithBlock: | (void(^)(FMLiveSwitchSize *)) | valueBlock |
Adds a handler that is raised whenever the video's frame size changes.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (FMLiveSwitchSize*) addOnVideoSizeWithBlock |
Adds a handler that is raised whenever the video's frame size is known, once per frame.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (void) addOnVideoSizeWithBlock: | (void(^)(FMLiveSwitchSize *)) | valueBlock |
Adds a handler that is raised whenever the video's frame size is known, once per frame.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (double) audioGain |
Gets a value indicating the audio gain (input amplification).
If there are multiple audio tracks in a custom media stack, this property is bound to the first audio track.
- (int) audioLevelInterval |
Gets the interval in milliseconds between FMLiveSwitchIMedia`2addOnAudioLevel: events.
- (bool) audioMuted |
Gets a value indicating whether the audio is muted.
If there are multiple audio tracks in a custom media stack, this property is bound to the first audio track.
- (NSObject<FMLiveSwitchIAudioTrack>*) audioTrack |
Gets the audio track.
If there are multiple audio tracks in a custom media stack, this property is bound to the first audio track.
- (NSMutableArray*) audioTracks |
Gets the audio tracks.
- (double) audioVolume |
Gets a value indicating the audio volume (output resistance).
If there are multiple audio tracks in a custom media stack, this property is bound to the first audio track.
- (void) destroy |
Destroys this media stack.
- (FMLiveSwitchFuture*) grabVideoFrame |
Gets the next raw video frame.
If there are multiple video tracks in a custom media stack, this method calls into the first video track.
- (void) removeOnAudioDestroyed: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the audio track is destroyed.
If there are multiple audio tracks in a custom media stack, this event is only triggered by the first audio track.
- (void) removeOnAudioLevel: | (FMLiveSwitchAction1 *) | value |
Removes a handler that is raised periodically when the audio's level is calculated.
If there are multiple audio tracks in a custom media stack, this event is only triggered by the first audio track.
- (void) removeOnVideoDestroyed: | (FMLiveSwitchAction0 *) | value |
Removes a handler that is raised when the video track is destroyed.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (void) removeOnVideoSize: | (FMLiveSwitchAction1 *) | value |
Removes a handler that is raised whenever the video's frame size is known, once per frame.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (void) removeOnVideoSizeChange: | (FMLiveSwitchAction1 *) | value |
Removes a handler that is raised whenever the video's frame size changes.
If there are multiple video tracks in a custom media stack, this event is only triggered by the first video track.
- (void) setAudioGain: | (double) | value |
Sets a value indicating the audio gain (input amplification).
If there are multiple audio tracks in a custom media stack, this property is bound to the first audio track.
- (void) setAudioLevelInterval: | (int) | value |
Sets the interval in milliseconds between FMLiveSwitchIMedia`2addOnAudioLevel: events.
- (void) setAudioMuted: | (bool) | value |
Sets a value indicating whether the audio is muted.
If there are multiple audio tracks in a custom media stack, this property is bound to the first audio track.
- (void) setAudioVolume: | (double) | value |
Sets a value indicating the audio volume (output resistance).
If there are multiple audio tracks in a custom media stack, this property is bound to the first audio track.
- (void) setId: | (NSString *) | value |
Sets the identifier.
- (void) setVideoMuted: | (bool) | value |
Sets a value indicating whether the video is muted.
If there are multiple video tracks in a custom media stack, this property is bound to the first video track.
- (bool) videoMuted |
Gets a value indicating whether the video is muted.
If there are multiple video tracks in a custom media stack, this property is bound to the first video track.
- (FMLiveSwitchSize*) videoSize |
Gets the size of the last processed video frame, if known.
If there are multiple video tracks in a custom media stack, this property is bound to the first video track.
- (NSObject<FMLiveSwitchIVideoTrack>*) videoTrack |
Gets the video track.
If there are multiple video tracks in a custom media stack, this property is bound to the first video track.
- (NSMutableArray*) videoTracks |
Gets the video tracks.