fm.liveswitch.IVideoStream Interface Reference

Video stream interface. More...

Public Member Functions

abstract void addOnDiscardKeyFrameRequest (fm.liveswitch.IAction1< long[]> value)
 Adds a handler that is raised when a keyframe request is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract boolean getH264Disabled ()
 Gets whether H.264 is disabled. More...
 
abstract boolean getH265Disabled ()
 Gets whether H.265 is disabled. More...
 
abstract boolean getVp8Disabled ()
 Gets whether VP8 is disabled. More...
 
abstract boolean getVp9Disabled ()
 Gets whether VP9 is disabled. More...
 
abstract void raiseKeyFrameRequest (long[] synchronizationSources)
 Raises a keyframe request to the local track. More...
 
abstract void removeOnDiscardKeyFrameRequest (fm.liveswitch.IAction1< long[]> value)
 Removes a handler that is raised when a keyframe request is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract void setH264Disabled (boolean value)
 Sets whether H.264 is disabled. More...
 
abstract void setH265Disabled (boolean value)
 Sets whether H.265 is disabled. More...
 
abstract void setVp8Disabled (boolean value)
 Sets whether VP8 is disabled. More...
 
abstract void setVp9Disabled (boolean value)
 Sets whether VP9 is disabled. More...
 
- Public Member Functions inherited from fm.liveswitch.IMediaStream
abstract void addOnDiscardBitrateNotification (fm.liveswitch.IAction1< fm.liveswitch.BitrateNotification > value)
 Adds a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract void addOnDiscardBitrateRequest (fm.liveswitch.IAction1< fm.liveswitch.BitrateRequest > value)
 Adds a handler that is raised when a bitrate request is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract void addOnLocalEncodingDisabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value)
 Adds a handler that is raised when a local encoding is disabled. More...
 
abstract void addOnLocalEncodingEnabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value)
 Adds a handler that is raised when a local encoding is enabled. More...
 
abstract boolean getCodecDisabled (String name)
 Gets whether a codec is disabled. More...
 
abstract fm.liveswitch.TransportInfo getControlTransportInfo ()
 Gets the media stream control transport info. More...
 
abstract fm.liveswitch.MediaStreamInfo getInfo ()
 Gets the media stream info. More...
 
abstract boolean getInputMuted ()
 Gets whether the input track is muted. More...
 
abstract int getLocalBandwidth ()
 Gets the local bandwidth, in kbps. More...
 
abstract String getLocalCanonicalName ()
 Gets the local canonical name. More...
 
abstract int getMaxReceiveBitrate ()
 Gets the maximum desired receive bitrate, in kbps. More...
 
abstract int getMaxSendBitrate ()
 Gets the maximum desired send bitrate, in kbps. More...
 
abstract boolean getOutputMuted ()
 Gets whether the output track is muted. More...
 
abstract String[] getPreferredCodecs ()
 Gets any preferred codecs, in order of preference. More...
 
abstract int getRemoteBandwidth ()
 Gets the remote bandwidth, in kbps. More...
 
abstract String getRemoteCanonicalName ()
 Gets the remote canonical name. More...
 
abstract fm.liveswitch.EncodingInfo getRemoteEncoding ()
 Gets the remote encoding. More...
 
abstract boolean getRemoteMuted ()
 Gets a value that indicates if remote is muted. More...
 
abstract fm.liveswitch.SimulcastMode getSimulcastMode ()
 Gets the simulcast mode. More...
 
abstract boolean raiseBitrateNotification (fm.liveswitch.BitrateNotification bitrateNotification)
 Raises a bitrate notification to the remote track. More...
 
abstract boolean raiseBitrateRequest (fm.liveswitch.BitrateRequest bitrateRequest)
 Raises a bitrate request to the local track. More...
 
abstract void removeOnDiscardBitrateNotification (fm.liveswitch.IAction1< fm.liveswitch.BitrateNotification > value)
 Removes a handler that is raised when a bitrate notification is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract void removeOnDiscardBitrateRequest (fm.liveswitch.IAction1< fm.liveswitch.BitrateRequest > value)
 Removes a handler that is raised when a bitrate request is discarded due to policy restrictions or lack of support by the remote endpoint. More...
 
abstract void removeOnLocalEncodingDisabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value)
 Removes a handler that is raised when a local encoding is disabled. More...
 
abstract void removeOnLocalEncodingEnabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value)
 Removes a handler that is raised when a local encoding is enabled. More...
 
abstract void setCodecDisabled (String name, boolean disabled)
 Sets whether a codec is disabled. More...
 
abstract void setInputMuted (boolean value)
 Sets whether the input track is muted. More...
 
abstract void setLocalBandwidth (int value)
 Sets the local bandwidth, in kbps. More...
 
abstract void setMaxReceiveBitrate (int value)
 Sets the maximum desired receive bitrate, in kbps. More...
 
abstract void setMaxSendBitrate (int value)
 Sets the maximum desired send bitrate, in kbps. More...
 
abstract void setOutputMuted (boolean value)
 Sets whether the output track is muted. More...
 
abstract void setPreferredCodecs (String[] value)
 Sets any preferred codecs, in order of preference. More...
 
abstract void setRemoteEncoding (fm.liveswitch.EncodingInfo value)
 Sets the remote encoding. More...
 
abstract void setRemoteMuted (boolean value)
 Sets a value that indicates if remote is muted. More...
 
abstract void setSimulcastMode (fm.liveswitch.SimulcastMode value)
 Sets the simulcast mode. More...
 
- Public Member Functions inherited from fm.liveswitch.IStream
abstract void addOnDirectionChange (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the signalling state changes. More...
 
abstract void addOnStateChange (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the stream state changes. More...
 
abstract fm.liveswitch.Error changeDirection (fm.liveswitch.StreamDirection newDirection)
 Changes this stream's direction. More...
 
abstract fm.liveswitch.StreamDirection getDirection ()
 Gets the current direction. More...
 
abstract String getExternalId ()
 Gets the external identifier. More...
 
abstract String getId ()
 Gets the identifier. 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...
 
abstract boolean getLocalReceive ()
 Gets a value indicating whether receiving media is supported by the local peer on this stream. More...
 
abstract boolean getLocalSend ()
 Gets a value indicating whether sending media is supported by the local peer on this stream. More...
 
abstract String getMediaDescriptionId ()
 Gets the media description identifier. More...
 
abstract fm.liveswitch.StreamDirection getRemoteDirection ()
 Gets the current direction indicated by the remote description. More...
 
abstract boolean getRemoteReceive ()
 Gets a value indicating whether receiving media is supported by the local peer on this stream. More...
 
abstract boolean getRemoteSend ()
 Gets a value indicating whether sending media is supported by the remote peer on this stream. More...
 
abstract fm.liveswitch.StreamState getState ()
 Gets the current state. More...
 
abstract String getTag ()
 Gets optional data to associate with this instance. More...
 
abstract fm.liveswitch.TransportInfo getTransportInfo ()
 Gets the stream transport info. More...
 
abstract fm.liveswitch.StreamType getType ()
 Gets the type. More...
 
abstract void removeOnDirectionChange (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the signalling state changes. More...
 
abstract void removeOnStateChange (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the stream state changes. More...
 
abstract 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...
 
abstract void setLocalReceive (boolean value)
 Sets a value indicating whether receiving media is supported by the local peer on this stream. More...
 
abstract void setLocalSend (boolean value)
 Sets a value indicating whether sending media is supported by the local peer on this stream. More...
 
abstract void setTag (String value)
 Sets optional data to associate with this instance. More...
 

Detailed Description

Video stream interface.

Member Function Documentation

◆ addOnDiscardKeyFrameRequest()

abstract void fm.liveswitch.IVideoStream.addOnDiscardKeyFrameRequest ( fm.liveswitch.IAction1< long[]>  value)
abstract

Adds a handler that is raised when a keyframe request is discarded due to policy restrictions or lack of support by the remote endpoint.

Implemented in fm.liveswitch.VideoStream.

◆ getH264Disabled()

abstract boolean fm.liveswitch.IVideoStream.getH264Disabled ( )
abstract

Gets whether H.264 is disabled.

Implemented in fm.liveswitch.VideoStream.

◆ getH265Disabled()

abstract boolean fm.liveswitch.IVideoStream.getH265Disabled ( )
abstract

Gets whether H.265 is disabled.

Implemented in fm.liveswitch.VideoStream.

◆ getVp8Disabled()

abstract boolean fm.liveswitch.IVideoStream.getVp8Disabled ( )
abstract

Gets whether VP8 is disabled.

Implemented in fm.liveswitch.VideoStream.

◆ getVp9Disabled()

abstract boolean fm.liveswitch.IVideoStream.getVp9Disabled ( )
abstract

Gets whether VP9 is disabled.

Implemented in fm.liveswitch.VideoStream.

◆ raiseKeyFrameRequest()

abstract void fm.liveswitch.IVideoStream.raiseKeyFrameRequest ( long[]  synchronizationSources)
abstract

Raises a keyframe request to the local track.

Parameters
synchronizationSourcesThe synchronization sources.

Implemented in fm.liveswitch.VideoStream.

◆ removeOnDiscardKeyFrameRequest()

abstract void fm.liveswitch.IVideoStream.removeOnDiscardKeyFrameRequest ( fm.liveswitch.IAction1< long[]>  value)
abstract

Removes a handler that is raised when a keyframe request is discarded due to policy restrictions or lack of support by the remote endpoint.

Implemented in fm.liveswitch.VideoStream.

◆ setH264Disabled()

abstract void fm.liveswitch.IVideoStream.setH264Disabled ( boolean  value)
abstract

Sets whether H.264 is disabled.

Implemented in fm.liveswitch.VideoStream.

◆ setH265Disabled()

abstract void fm.liveswitch.IVideoStream.setH265Disabled ( boolean  value)
abstract

Sets whether H.265 is disabled.

Implemented in fm.liveswitch.VideoStream.

◆ setVp8Disabled()

abstract void fm.liveswitch.IVideoStream.setVp8Disabled ( boolean  value)
abstract

Sets whether VP8 is disabled.

Implemented in fm.liveswitch.VideoStream.

◆ setVp9Disabled()

abstract void fm.liveswitch.IVideoStream.setVp9Disabled ( boolean  value)
abstract

Sets whether VP9 is disabled.

Implemented in fm.liveswitch.VideoStream.