<FMLiveSwitchIVideoTrack> Protocol Reference

Video track interface. More...

Instance Methods

(void) - addOnSize:
 Adds a handler that is raised whenever the video's frame size is known, once per frame. More...
 
(void) - addOnSizeChange:
 Adds a handler that is raised whenever the video's frame size changes. More...
 
(FMLiveSwitchSize *) - addOnSizeChangeWithBlock
 Adds a handler that is raised whenever the video's frame size changes. More...
 
(void) - addOnSizeChangeWithBlock:
 Adds a handler that is raised whenever the video's frame size changes. More...
 
(FMLiveSwitchSize *) - addOnSizeWithBlock
 Adds a handler that is raised whenever the video's frame size is known, once per frame. More...
 
(void) - addOnSizeWithBlock:
 Adds a handler that is raised whenever the video's frame size is known, once per frame. More...
 
(FMLiveSwitchFuture *) - grabFrame
 Grabs the next raw video frame. More...
 
(void) - removeOnSize:
 Removes a handler that is raised whenever the video's frame size is known, once per frame. More...
 
(void) - removeOnSizeChange:
 Removes a handler that is raised whenever the video's frame size changes. More...
 
(FMLiveSwitchSize *) - size
 Gets the size of the last processed video frame, if known. More...
 
- Instance Methods inherited from <FMLiveSwitchIMediaTrack>
(void) - addOnDestroyed:
 Adds a handler that is raised when the track is destroyed. More...
 
(void) - addOnMuted:
 Adds a handler that is raised when the track is muted. More...
 
(void) - addOnStarted:
 Adds a handler that is raised when the track is started. More...
 
(void) - addOnStopped:
 Adds a handler that is raised when the track is stopped. More...
 
(void) - addOnUnmuted:
 Adds a handler that is raised when the track is unmuted. More...
 
(FMLiveSwitchFuture *) - changeSinkOutput:
 Changes the sink output while the media track is active. More...
 
(FMLiveSwitchFuture *) - changeSourceInput:
 Changes the source input while the media track is active. More...
 
(bool) - destroy
 Destroys this media track. More...
 
(FMLiveSwitchFuture *) - getSinkOutputs
 Gets the available sink outputs. More...
 
(FMLiveSwitchFuture *) - getSourceInputs
 Gets the available source inputs. More...
 
(bool) - muted
 Gets a value indicating whether this track is muted. More...
 
(void) - removeOnDestroyed:
 Removes a handler that is raised when the track is destroyed. More...
 
(void) - removeOnMuted:
 Removes a handler that is raised when the track is muted. More...
 
(void) - removeOnStarted:
 Removes a handler that is raised when the track is started. More...
 
(void) - removeOnStopped:
 Removes a handler that is raised when the track is stopped. More...
 
(void) - removeOnUnmuted:
 Removes a handler that is raised when the track is unmuted. More...
 
(void) - setMuted:
 Sets a value indicating whether this track is muted. More...
 
(void) - setSinkOutput:
 Sets the current sink output. More...
 
(void) - setSourceInput:
 Sets the current source input. More...
 
(FMLiveSwitchSinkOutput *) - sinkOutput
 Gets the current sink output. More...
 
(FMLiveSwitchSourceInput *) - sourceInput
 Gets the current source input. More...
 

Detailed Description

Video track interface.

Method Documentation

◆ addOnSize:

- (void) addOnSize: (FMLiveSwitchAction1 *)  value

Adds a handler that is raised whenever the video's frame size is known, once per frame.

◆ addOnSizeChange:

- (void) addOnSizeChange: (FMLiveSwitchAction1 *)  value

Adds a handler that is raised whenever the video's frame size changes.

◆ addOnSizeChangeWithBlock

- (FMLiveSwitchSize*) addOnSizeChangeWithBlock

Adds a handler that is raised whenever the video's frame size changes.

◆ addOnSizeChangeWithBlock:

- (void) addOnSizeChangeWithBlock: (void(^)(FMLiveSwitchSize *))  valueBlock

Adds a handler that is raised whenever the video's frame size changes.

◆ addOnSizeWithBlock

- (FMLiveSwitchSize*) addOnSizeWithBlock

Adds a handler that is raised whenever the video's frame size is known, once per frame.

◆ addOnSizeWithBlock:

- (void) addOnSizeWithBlock: (void(^)(FMLiveSwitchSize *))  valueBlock

Adds a handler that is raised whenever the video's frame size is known, once per frame.

◆ grabFrame

- (FMLiveSwitchFuture*) grabFrame

Grabs the next raw video frame.

◆ removeOnSize:

- (void) removeOnSize: (FMLiveSwitchAction1 *)  value

Removes a handler that is raised whenever the video's frame size is known, once per frame.

◆ removeOnSizeChange:

- (void) removeOnSizeChange: (FMLiveSwitchAction1 *)  value

Removes a handler that is raised whenever the video's frame size changes.

◆ size

- (FMLiveSwitchSize*) size

Gets the size of the last processed video frame, if known.