A video stream. More...
Public Member Functions | |
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... | |
boolean | destroy () |
Destroys this instance. More... | |
boolean | getH264Disabled () |
Gets whether H.264 is disabled. More... | |
boolean | getH265Disabled () |
Gets whether H.265 is disabled. More... | |
fm.liveswitch.EncodingInfo | getMaxInputEncoding () |
Gets the maximum allowed input encoding. More... | |
double | getMaxInputFrameRate () |
Gets the maximum allowed input frame-rate, in fps. More... | |
int | getMaxInputHeight () |
Gets the maximum allowed input height. More... | |
double | getMaxInputScale () |
Gets the maximum allowed input scale. More... | |
fm.liveswitch.Size | getMaxInputSize () |
Gets the maximum allowed input size. More... | |
int | getMaxInputWidth () |
Gets the maximum allowed input width. More... | |
fm.liveswitch.EncodingInfo | getMaxOutputEncoding () |
Gets the maximum allowed output encoding. More... | |
double | getMaxOutputFrameRate () |
Gets the maximum allowed output frame-rate, in fps. More... | |
int | getMaxOutputHeight () |
Gets the maximum allowed output height. More... | |
double | getMaxOutputScale () |
Gets the maximum allowed output scale. More... | |
fm.liveswitch.Size | getMaxOutputSize () |
Gets the maximum allowed output size. More... | |
int | getMaxOutputWidth () |
Gets the maximum allowed output width. More... | |
fm.liveswitch.EncodingInfo | getMinInputEncoding () |
Gets the minimum allowed input encoding. More... | |
double | getMinInputFrameRate () |
Gets the minimum allowed input frame-rate, in fps. More... | |
int | getMinInputHeight () |
Gets the minimum allowed input height. More... | |
double | getMinInputScale () |
Gets the minimum allowed input scale. More... | |
fm.liveswitch.Size | getMinInputSize () |
Gets the minimum allowed input size. More... | |
int | getMinInputWidth () |
Gets the minimum allowed input width. More... | |
fm.liveswitch.EncodingInfo | getMinOutputEncoding () |
Gets the minimum allowed output encoding. More... | |
double | getMinOutputFrameRate () |
Gets the minimum allowed output frame-rate, in fps. More... | |
int | getMinOutputHeight () |
Gets the minimum allowed output height. More... | |
double | getMinOutputScale () |
Gets the minimum allowed output scale. More... | |
fm.liveswitch.Size | getMinOutputSize () |
Gets the minimum allowed output size. More... | |
int | getMinOutputWidth () |
Gets the minimum allowed output width. More... | |
boolean | getOverConstrainedFrameRate () |
Gets whether the stream frame-rate is over-constrained. More... | |
boolean | getOverConstrainedInput () |
Gets whether the input is over-contrained. More... | |
boolean | getOverConstrainedInputFrameRate () |
Gets whether the minimum allowed input frame-rate exceeds the maximum allowed input frame-rate. More... | |
boolean | getOverConstrainedInputHeight () |
Gets whether the minimum allowed input height exceeds the maximum allowed input height. More... | |
boolean | getOverConstrainedInputScale () |
Gets whether the minimum allowed input scale exceeds the maximum allowed input scale. More... | |
boolean | getOverConstrainedInputSize () |
Gets whether the minimum allowed input size exceeds the maximum allowed input size. More... | |
boolean | getOverConstrainedInputWidth () |
Gets whether the minimum allowed input width exceeds the maximum allowed input width. More... | |
boolean | getOverConstrainedOutput () |
Gets whether the output is over-contrained. More... | |
boolean | getOverConstrainedOutputFrameRate () |
Gets whether the minimum allowed output frame-rate exceeds the maximum allowed output frame-rate. More... | |
boolean | getOverConstrainedOutputHeight () |
Gets whether the minimum allowed output height exceeds the maximum allowed output height. More... | |
boolean | getOverConstrainedOutputScale () |
Gets whether the minimum allowed output scale exceeds the maximum allowed output scale. More... | |
boolean | getOverConstrainedOutputSize () |
Gets whether the minimum allowed output size exceeds the maximum allowed output size. More... | |
boolean | getOverConstrainedOutputWidth () |
Gets whether the minimum allowed output width exceeds the maximum allowed output width. More... | |
boolean | getOverConstrainedScale () |
Gets whether the stream scale is over-constrained. More... | |
boolean | getOverConstrainedSize () |
Gets whether the stream size is over-constrained. More... | |
fm.liveswitch.EncodingInfo | getTargetOutputEncoding () |
Gets the target output encoding. More... | |
double | getTargetOutputFrameRate () |
Gets the target output frame-rate, in fps. More... | |
int | getTargetOutputHeight () |
Gets the target output height. More... | |
double | getTargetOutputScale () |
Gets the target output scale. More... | |
fm.liveswitch.Size | getTargetOutputSize () |
Gets the target output size. More... | |
int | getTargetOutputWidth () |
Gets the target output width. More... | |
fm.liveswitch.VideoType | getVideoType () |
Gets the video type. More... | |
boolean | getVp8Disabled () |
Gets whether VP8 is disabled. More... | |
boolean | getVp9Disabled () |
Gets whether VP9 is disabled. More... | |
boolean | processFrame (fm.liveswitch.VideoFrame frame) |
Processes the frame. More... | |
void | raiseKeyFrameRequest (long[] synchronizationSources) |
Raises a keyframe request to the local track. More... | |
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... | |
void | setH264Disabled (boolean value) |
Sets whether H.264 is disabled. More... | |
void | setH265Disabled (boolean value) |
Sets whether H.265 is disabled. More... | |
void | setVp8Disabled (boolean value) |
Sets whether VP8 is disabled. More... | |
void | setVp9Disabled (boolean value) |
Sets whether VP9 is disabled. More... | |
VideoStream () | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.IVideoOutput input) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.IVideoOutput input, fm.liveswitch.IVideoInput output) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.IVideoOutput[] inputs) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.IVideoOutput[] inputs, fm.liveswitch.IVideoInput[] outputs) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.LocalMedia localMedia) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.LocalMedia localMedia, fm.liveswitch.RemoteMedia remoteMedia) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.VideoTrack localTrack) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.VideoTrack localTrack, fm.liveswitch.VideoTrack remoteTrack) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.IVideoInput output) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.IVideoInput[] outputs) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
VideoStream (fm.liveswitch.RemoteMedia remoteMedia) | |
Initializes a new instance of the fm.liveswitch.VideoStream class. More... | |
Public Member Functions inherited from fm.liveswitch.MediaStreamBase | |
void | addOnLocalEncodingDisabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value) |
Adds a handler that is raised when a local encoding is disabled. More... | |
void | addOnLocalEncodingEnabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value) |
Adds a handler that is raised when a local encoding is enabled. More... | |
void | addOnMaxSendBitrateChange (fm.liveswitch.IAction1< Integer > value) |
fm.liveswitch.Error | changeDirection (fm.liveswitch.StreamDirection newDirection) |
Records the pending direction of this stream. More... | |
fm.liveswitch.StreamDirection | getCachedLocalDirection () |
Gets Cached Local Direction for this Media Stream. More... | |
String | getCanonicalName () |
Gets the canonical name. More... | |
boolean | getCodecDisabled (String name) |
Gets whether a codec is disabled. More... | |
abstract fm.liveswitch.TransportInfo | getControlTransportInfo () |
Gets control transport info. More... | |
fm.liveswitch.StreamDirection | getDirection () |
fm.liveswitch.MediaStreamInfo | getInfo () |
Gets the media stream info. More... | |
String | getInputContent () |
Gets the input content descriptor. More... | |
abstract boolean | getInputMuted () |
Gets whether the input track is muted. More... | |
String | getLabel () |
Gets a label that identifies this class. More... | |
int | getLocalBandwidth () |
Gets the local bandwidth, in kbps. More... | |
String | getLocalCanonicalName () |
Gets the local canonical end-point identifier (CNAME) used by RTCP. More... | |
fm.liveswitch.StreamDirection | getLocalDirection () |
Gets current direction indicated by the local description. More... | |
boolean | getLocalMuted () |
Gets a value indicating whether the local stream is muted. More... | |
int | getMaxReceiveBitrate () |
Gets the maximum bitrate that the connection receives in Kbps. More... | |
int | getMaxSendBitrate () |
Gets the maximum bitrate that the upstream connection sends in Kbps. More... | |
boolean | getMuted () |
Gets whether the stream is muted. More... | |
String | getOutputContent () |
Gets the output content descriptor. More... | |
abstract boolean | getOutputMuted () |
Gets whether the output track is muted. More... | |
String[] | getPreferredCodecs () |
Gets any preferred codecs, in order of preference. More... | |
int | getRemoteBandwidth () |
Gets the remote bandwidth in Kbps. More... | |
String | getRemoteCanonicalName () |
Gets the remote canonical name. More... | |
fm.liveswitch.StreamDirection | getRemoteDirection () |
Gets current direction indicated by the remote description. More... | |
fm.liveswitch.EncodingInfo | getRemoteEncoding () |
Gets the remote encoding. More... | |
boolean | getRemoteMuted () |
Gets a value indicating if remote is muted. More... | |
boolean | getRemoteRequestedDeactivation () |
Gets Boolean value set when the server is currently requesting a 0 bitrate. More... | |
abstract fm.liveswitch.SimulcastMode | getSimulcastMode () |
Gets the simulcast mode. More... | |
MediaStreamBase (fm.liveswitch.StreamType type) | |
Initializes a new instance of the fm.liveswitch.MediaStreamBase class. More... | |
boolean | raiseBitrateRequest (fm.liveswitch.BitrateRequest bitrateRequest) |
Raises a bitrate request to the local track. More... | |
void | removeOnLocalEncodingDisabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value) |
Removes a handler that is raised when a local encoding is disabled. More... | |
void | removeOnLocalEncodingEnabled (fm.liveswitch.IAction1< fm.liveswitch.EncodingInfo > value) |
Removes a handler that is raised when a local encoding is enabled. More... | |
void | removeOnMaxSendBitrateChange (fm.liveswitch.IAction1< Integer > value) |
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... | |
void | setLocalBandwidth (int value) |
Sets the local bandwidth, in kbps. More... | |
void | setLocalDirection (fm.liveswitch.StreamDirection value) |
Sets current direction indicated by the local description. More... | |
void | setLocalMuted (boolean value) |
Sets a value indicating whether the local stream is muted. More... | |
void | setMaxReceiveBitrate (int value) |
Sets the maximum bitrate that the connection receives in Kbps. More... | |
void | setMaxSendBitrate (int value) |
Sets the maximum bitrate that the upstream connection sends in Kbps. More... | |
void | setMuted (boolean value) |
Sets whether the stream is muted. More... | |
abstract void | setOutputMuted (boolean value) |
Sets whether the output track is muted. More... | |
void | setPreferredCodecs (String[] value) |
Sets any preferred codecs, in order of preference. More... | |
void | setRemoteEncoding (fm.liveswitch.EncodingInfo value) |
Sets the remote encoding. More... | |
void | setRemoteMuted (boolean value) |
Sets a value indicating if remote is muted. More... | |
abstract void | setSimulcastMode (fm.liveswitch.SimulcastMode value) |
Sets the simulcast mode. More... | |
Public Member Functions inherited from fm.liveswitch.Stream | |
void | addOnDisabledChange (fm.liveswitch.IAction0 value) |
Adds a handler that is raised when the Disabled property changes state. More... | |
void | addOnDisabledChangeWithCaller (fm.liveswitch.IAction1< Object > value) |
Adds a handler that is raised when the Disabled property changes state. More... | |
boolean | getDeactivated () |
Gets a value indicating whether this stream is deactivated. More... | |
boolean | getDisabled () |
Gets a value indicating whether this stream is disabled. More... | |
fm.liveswitch.EncryptionMode | getEncryptionMode () |
Gets the encryption mode. More... | |
fm.liveswitch.EncryptionMode[] | getEncryptionModes () |
Gets the encryption modes. More... | |
fm.liveswitch.EncryptionPolicy | getEncryptionPolicy () |
Gets a value indicating Encryption Policy. More... | |
int | getIndex () |
Gets the index. More... | |
fm.liveswitch.IceParameters | getLocalIceParameters () |
Gets the local ICE parameters. More... | |
fm.liveswitch.IceParameters | getRemoteIceParameters () |
Gets the remote ICE parameters. More... | |
fm.liveswitch.SdesPolicy | getSdesPolicy () |
Gets Sdes policy for stream. More... | |
boolean | getUseDtls () |
Gets a value indicating whether DTLS encryption is in use for this stream. More... | |
boolean | getUseSdes () |
Gets a value indicating whether SDES encryption is in use for this stream. More... | |
void | removeOnDisabledChange (fm.liveswitch.IAction0 value) |
Removes a handler that is raised when the Disabled property changes state. More... | |
void | removeOnDisabledChangeWithCaller (fm.liveswitch.IAction1< Object > value) |
Removes a handler that is raised when the Disabled property changes state. More... | |
void | setDeactivated (boolean value) |
Sets a value indicating whether this stream is deactivated. More... | |
void | setDisabled (boolean value) |
Sets a value indicating whether this stream is disabled. More... | |
void | setEncryptionMode (fm.liveswitch.EncryptionMode value) |
Sets the encryption mode. More... | |
void | setEncryptionModes (fm.liveswitch.EncryptionMode[] value) |
Sets the encryption modes. More... | |
void | setEncryptionPolicy (fm.liveswitch.EncryptionPolicy value) |
Sets a value indicating Encryption Policy. More... | |
void | setSdesPolicy (fm.liveswitch.SdesPolicy value) |
Sets Sdes policy for stream. More... | |
void | setUseDtls (boolean value) |
Sets a value indicating whether DTLS encryption is in use for this stream. More... | |
void | setUseSdes (boolean value) |
Sets a value indicating whether SDES encryption is in use for this stream. More... | |
Stream (fm.liveswitch.StreamType type) | |
Initializes a new instance of the fm.liveswitch.Stream class. More... | |
Public Member Functions inherited from fm.liveswitch.StreamBase | |
void | addOnDirectionChange (fm.liveswitch.IAction0 value) |
Adds a handler that is raised when the stream direction changes. More... | |
void | addOnStateChange (fm.liveswitch.IAction0 value) |
Adds a handler that is raised when the connection state changes. More... | |
String | getConnectionId () |
Gets the connection identifier. More... | |
String | getExternalId () |
Gets the external identifier. More... | |
String | getId () |
Gets the identifier. More... | |
boolean | getIsTerminated () |
Gets a value indicating whether the stream is currently closed or failed. More... | |
boolean | getIsTerminating () |
Gets a value indicating whether the stream is currently closing or failing. More... | |
boolean | getIsTerminatingOrTerminated () |
Gets a value indicating whether the stream is currently closing, failing, closed, or failed. More... | |
boolean | getLocalReceive () |
Gets a value indicating whether the local peer supports receiving media on this stream. More... | |
boolean | getLocalSend () |
Gets a value indicating whether the local peer on this stream supports sending media on this stream. More... | |
String | getMediaDescriptionId () |
Gets the media description ID of this stream. More... | |
boolean | getRemoteReceive () |
Gets a value indicating whether receiving media is supported by the remote peer on this stream. More... | |
boolean | getRemoteSend () |
Gets a value indicating whether sending media is supported by the remote peer on this stream. More... | |
fm.liveswitch.StreamState | getState () |
Gets the state of the stream. More... | |
String | getTag () |
Gets optional data to associate with this instance. More... | |
abstract fm.liveswitch.TransportInfo | getTransportInfo () |
Gets the stream transport info. More... | |
fm.liveswitch.StreamType | getType () |
Gets the type. More... | |
boolean | getUseWssForMedia () |
Gets a value indicating whether W. More... | |
void | removeOnDirectionChange (fm.liveswitch.IAction0 value) |
Removes a handler that is raised when the stream direction changes. More... | |
void | removeOnStateChange (fm.liveswitch.IAction0 value) |
Removes a handler that is raised when the connection state changes. More... | |
void | setExternalId (String value) |
Sets the external identifier. More... | |
void | setLocalReceive (boolean value) |
Sets a value indicating whether the local peer supports receiving media on this stream. More... | |
void | setLocalSend (boolean value) |
Sets a value indicating whether the local peer on this stream supports sending media on this stream. More... | |
void | setTag (String value) |
Sets optional data to associate with this instance. More... | |
void | setUseWssForMedia (boolean value) |
Sets a value indicating whether W. More... | |
StreamBase (fm.liveswitch.StreamType type) | |
Initializes a new instance of the fm.liveswitch.StreamBase class. More... | |
String | toString () |
Returns a string that represents this instance. More... | |
Public Member Functions inherited from fm.liveswitch.Dynamic | |
java.util.HashMap< String, Object > | getDynamicProperties () |
Gets all dynamic properties on this instance. More... | |
Object | getDynamicValue (String key) |
Gets a property value from the local cache. More... | |
void | setDynamicValue (String key, Object value) |
Sets a property value in the local cache. More... | |
boolean | unsetDynamicValue (String key) |
Removes a property value from the local cache. More... | |
Public Member Functions inherited from fm.liveswitch.IElement | |
abstract String | getExternalId () |
Gets the external identifier. More... | |
abstract String | getId () |
Gets the identifier. More... | |
abstract String | getPipelineJson () |
Gets the pipeline JSON with this as the central point. More... | |
abstract void | setExternalId (String value) |
Sets the external identifier. More... | |
Public Member Functions inherited from fm.liveswitch.IMediaElement | |
abstract boolean | getDeactivated () |
Gets a value indicating whether this instance is deactivated. More... | |
abstract boolean | getDisabled () |
Gets a value indicating whether this instance is disabled. More... | |
abstract String | getLabel () |
Gets a label that identifies this instance. More... | |
abstract boolean | getMuted () |
Gets a value indicating whether this instance is muted. More... | |
abstract boolean | getPaused () |
Gets a value indicating whether this instance is paused. More... | |
abstract boolean | getPersistent () |
Gets a value indicating whether this instance is persistent. More... | |
abstract void | setDeactivated (boolean value) |
Sets a value indicating whether this instance is deactivated. More... | |
abstract void | setMuted (boolean value) |
Sets a value indicating whether this instance is muted. 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 fm.liveswitch.StreamDirection | getCachedLocalDirection () |
Gets Cached Local Direction for this Media Stream. 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 boolean | getRemoteRequestedDeactivation () |
Gets Boolean value set when the server is currently requesting a 0 bitrate. 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.ISynchronizableStream | |
abstract void | addOnMasterSynchronizeContextReady (fm.liveswitch.IAction1< fm.liveswitch.SynchronizeContext > value) |
Adds a handler that is raised by master streams when the synchronize context is ready. More... | |
abstract String | getId () |
Gets the stream identifier. More... | |
abstract boolean | getOutputSynchronizationDisabled () |
Gets whether output synchronization is disabled. More... | |
abstract String | getRemoteDescriptionMediaId () |
Gets the remote description media identifier. More... | |
abstract fm.liveswitch.SynchronizeContext | getSynchronizeContext () |
Gets the synchronize context. More... | |
abstract fm.liveswitch.ISynchronizer[] | getSynchronizers () |
Gets all synchronizers in the stream output tracks. More... | |
abstract fm.liveswitch.StreamType | getType () |
Gets the stream type. More... | |
abstract void | removeOnMasterSynchronizeContextReady (fm.liveswitch.IAction1< fm.liveswitch.SynchronizeContext > value) |
Removes a handler that is raised by master streams when the synchronize context is ready. More... | |
abstract void | setOutputSynchronizationDisabled (boolean value) |
Sets whether output synchronization is disabled. More... | |
abstract void | setSynchronizeContext (fm.liveswitch.SynchronizeContext value) |
Sets the synchronize context. More... | |
abstract void | synchronize (boolean master) |
Initializes synchronization. More... | |
Protected Member Functions | |
fm.liveswitch.VideoFormat | createFormat (fm.liveswitch.sdp.rtp.MapAttribute attribute, fm.liveswitch.sdp.FormatParametersAttribute formatParametersAttribute) |
Creates a format. More... | |
fm.liveswitch.VideoFormat | createFormat (String name, int clockRate, String parameters, int payloadType) |
Creates a format. More... | |
fm.liveswitch.IVideoInputCollection | createInputCollection (fm.liveswitch.IVideoOutput output) |
Creates an input collection. More... | |
fm.liveswitch.VideoFormatCollection | createMediaFormatCollection () |
Creates a media format collection. More... | |
fm.liveswitch.IVideoOutputCollection | createOutputCollection (fm.liveswitch.IVideoInput input) |
Creates an output collection. More... | |
fm.liveswitch.VideoFormat | createRedFormat () |
Creates a RED format. More... | |
fm.liveswitch.VideoFormat | createUlpFecFormat () |
Creates a ulpfec format. More... | |
fm.liveswitch.VideoFormat[] | formatArrayFromList (java.util.ArrayList< fm.liveswitch.VideoFormat > formatList) |
Creates a format array from a format list. More... | |
boolean | getInputSourceMuted (fm.liveswitch.IVideoOutput input) |
Gets whether an input source is muted. More... | |
boolean | getOutputSinkMuted (fm.liveswitch.IVideoInput output) |
Gets whether an output sink is muted. More... | |
fm.liveswitch.IVideoInput[] | inputArrayFromList (java.util.ArrayList< fm.liveswitch.IVideoInput > inputList) |
Creates an input array from an input list. More... | |
fm.liveswitch.IVideoOutput[] | outputArrayFromList (java.util.ArrayList< fm.liveswitch.IVideoOutput > outputList) |
Creates an output array from an output list. More... | |
void | processSdpContentAttribute (fm.liveswitch.sdp.ContentAttribute sdpContentAttribute, boolean isLocalDescription) |
Processes an SDP content attribute. More... | |
void | setInputSourceMuted (fm.liveswitch.IVideoOutput input, boolean value) |
Sets whether an input source is muted. More... | |
void | setOutputSinkMuted (fm.liveswitch.IVideoInput output, boolean value) |
Sets whether an output sink is muted. More... | |
Protected Member Functions inherited from fm.liveswitch.MediaStreamBase | |
void | extractCanonicalName (fm.liveswitch.sdp.MediaDescription mediaDescription, boolean isLocalDescription) |
Extracts Canonical Name from SDP and sets it to the appropreate Stream property. More... | |
fm.liveswitch.StreamDirection | getPendingLocalDirection () |
Gets the pending local direction. More... | |
fm.liveswitch.sdp.MediaDescription | getRelatedMediaDescription () |
Gets related SDP Media Description. More... | |
boolean | getRenegotiationPending () |
Gets whether there exist changes that are pending SDP renegotiation. More... | |
abstract void | populateInfo (fm.liveswitch.MediaStreamInfo info) |
Populates the media stream info. More... | |
void | raiseLocalEncodingDisabled (fm.liveswitch.EncodingInfo encoding) |
Raises the OnLocalEncodingDisabled event. More... | |
void | raiseLocalEncodingEnabled (fm.liveswitch.EncodingInfo encoding) |
Raises the OnLocalEncodingEnabled event. More... | |
void | setInputContent (String value) |
Sets the input content descriptor. More... | |
void | setOutputContent (String value) |
Sets the output content descriptor. More... | |
void | setPendingLocalDirection (fm.liveswitch.StreamDirection value) |
Sets the pending local direction. More... | |
void | setRelatedMediaDescription (fm.liveswitch.sdp.MediaDescription value) |
Sets related SDP Media Description. More... | |
void | setRemoteBandwidth (int value) |
Sets the remote bandwidth in Kbps. More... | |
void | setRenegotiationPending (boolean value) |
Sets whether there exist changes that are pending SDP renegotiation. More... | |
Protected Member Functions inherited from fm.liveswitch.Stream | |
void | processBundledStateChanged (boolean bundled) |
Processes bundled state change of this stream. More... | |
void | processCachedSettings () |
Evaluate cached settings and set them. More... | |
void | raiseDisabledChange () |
Raises the OnDisabledChange event. More... | |
Protected Member Functions inherited from fm.liveswitch.StreamBase | |
long | getConnectedTimestamp () |
Gets the ManagedStopwatch.GetTimestamp() value representing the ticks that passed when this stream's connection state changed to connected. More... | |
fm.liveswitch.LogContext | getLogContext () |
Gets the log context for this connection. More... | |
void | processStateChange () |
Processes a state change. More... | |
void | processStateLockChange () |
Processes a state lock change. More... | |
void | processUpdateToMediaStreamIdentification (String oldValue) |
Process update to the MediaDescription Identificiation. More... | |
Protected Member Functions inherited from fm.liveswitch.Dynamic | |
Dynamic () | |
Protected Member Functions inherited from fm.liveswitch.Serializable | |
boolean | getIsDirty () |
Gets a value indicating whether this instance is dirty. More... | |
Serializable () | |
Initializes a new instance of the fm.liveswitch.Serializable class. More... | |
void | setIsDirty (boolean value) |
Sets a value indicating whether this instance is dirty. More... | |
A video stream.
fm.liveswitch.VideoStream.VideoStream | ( | ) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.IVideoOutput | input | ) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
input | The input. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.IVideoOutput | input, |
fm.liveswitch.IVideoInput | output | ||
) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
input | The input. |
output | The output. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.IVideoOutput[] | inputs | ) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
inputs | The inputs. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.IVideoOutput[] | inputs, |
fm.liveswitch.IVideoInput[] | outputs | ||
) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
inputs | The inputs. |
outputs | The outputs. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.LocalMedia | localMedia | ) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
localMedia | The local media. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.LocalMedia | localMedia, |
fm.liveswitch.RemoteMedia | remoteMedia | ||
) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
localMedia | The local media. |
remoteMedia | The remote media. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.VideoTrack | localTrack | ) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
localTrack | The local track. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.VideoTrack | localTrack, |
fm.liveswitch.VideoTrack | remoteTrack | ||
) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
localTrack | The local track. |
remoteTrack | The remote track. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.IVideoInput | output | ) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
output | The output. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.IVideoInput[] | outputs | ) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
outputs | The outputs. |
fm.liveswitch.VideoStream.VideoStream | ( | fm.liveswitch.RemoteMedia | remoteMedia | ) |
Initializes a new instance of the fm.liveswitch.VideoStream class.
remoteMedia | The remote media. |
void fm.liveswitch.VideoStream.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.
Implements fm.liveswitch.IVideoStream.
|
protected |
Creates a format.
attribute | The attribute. |
formatParametersAttribute | The format parameters attribute. |
|
protected |
Creates a format.
name | The format name. |
clockRate | The clock rate. |
parameters | The parameters. |
payloadType | The payload type. |
|
protected |
Creates an input collection.
output | The output. |
|
protected |
Creates a media format collection.
|
protected |
Creates an output collection.
input | The input. |
|
protected |
Creates a RED format.
|
protected |
Creates a ulpfec format.
boolean fm.liveswitch.VideoStream.destroy | ( | ) |
Destroys this instance.
Implements fm.liveswitch.IMediaElement.
|
protected |
Creates a format array from a format list.
formatList | The format list. |
boolean fm.liveswitch.VideoStream.getH264Disabled | ( | ) |
Gets whether H.264 is disabled.
Implements fm.liveswitch.IVideoStream.
boolean fm.liveswitch.VideoStream.getH265Disabled | ( | ) |
Gets whether H.265 is disabled.
Implements fm.liveswitch.IVideoStream.
|
protected |
Gets whether an input source is muted.
input | The input. |
fm.liveswitch.EncodingInfo fm.liveswitch.VideoStream.getMaxInputEncoding | ( | ) |
Gets the maximum allowed input encoding.
double fm.liveswitch.VideoStream.getMaxInputFrameRate | ( | ) |
Gets the maximum allowed input frame-rate, in fps.
A value of -1 indicates unset (no maximum).
Implements fm.liveswitch.IVideoInput.
int fm.liveswitch.VideoStream.getMaxInputHeight | ( | ) |
Gets the maximum allowed input height.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoInput.
double fm.liveswitch.VideoStream.getMaxInputScale | ( | ) |
Gets the maximum allowed input scale.
A value of -1 indicates unset (no maximum).
Implements fm.liveswitch.IVideoInput.
fm.liveswitch.Size fm.liveswitch.VideoStream.getMaxInputSize | ( | ) |
Gets the maximum allowed input size.
A value of null indicates unset (no maximum).
Implements fm.liveswitch.IVideoInput.
int fm.liveswitch.VideoStream.getMaxInputWidth | ( | ) |
Gets the maximum allowed input width.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoInput.
fm.liveswitch.EncodingInfo fm.liveswitch.VideoStream.getMaxOutputEncoding | ( | ) |
Gets the maximum allowed output encoding.
double fm.liveswitch.VideoStream.getMaxOutputFrameRate | ( | ) |
Gets the maximum allowed output frame-rate, in fps.
A value of -1 indicates unset (no maximum).
Implements fm.liveswitch.IVideoOutput.
int fm.liveswitch.VideoStream.getMaxOutputHeight | ( | ) |
Gets the maximum allowed output height.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoOutput.
double fm.liveswitch.VideoStream.getMaxOutputScale | ( | ) |
Gets the maximum allowed output scale.
A value of -1 indicates unset (no maximum).
Implements fm.liveswitch.IVideoOutput.
fm.liveswitch.Size fm.liveswitch.VideoStream.getMaxOutputSize | ( | ) |
Gets the maximum allowed output size.
A value of null indicates unset (no maximum).
Implements fm.liveswitch.IVideoOutput.
int fm.liveswitch.VideoStream.getMaxOutputWidth | ( | ) |
Gets the maximum allowed output width.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoOutput.
fm.liveswitch.EncodingInfo fm.liveswitch.VideoStream.getMinInputEncoding | ( | ) |
Gets the minimum allowed input encoding.
double fm.liveswitch.VideoStream.getMinInputFrameRate | ( | ) |
Gets the minimum allowed input frame-rate, in fps.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoInput.
int fm.liveswitch.VideoStream.getMinInputHeight | ( | ) |
Gets the minimum allowed input height.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoInput.
double fm.liveswitch.VideoStream.getMinInputScale | ( | ) |
Gets the minimum allowed input scale.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoInput.
fm.liveswitch.Size fm.liveswitch.VideoStream.getMinInputSize | ( | ) |
Gets the minimum allowed input size.
A value of null indicates unset (no minimum).
Implements fm.liveswitch.IVideoInput.
int fm.liveswitch.VideoStream.getMinInputWidth | ( | ) |
Gets the minimum allowed input width.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoInput.
fm.liveswitch.EncodingInfo fm.liveswitch.VideoStream.getMinOutputEncoding | ( | ) |
Gets the minimum allowed output encoding.
double fm.liveswitch.VideoStream.getMinOutputFrameRate | ( | ) |
Gets the minimum allowed output frame-rate, in fps.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoOutput.
int fm.liveswitch.VideoStream.getMinOutputHeight | ( | ) |
Gets the minimum allowed output height.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoOutput.
double fm.liveswitch.VideoStream.getMinOutputScale | ( | ) |
Gets the minimum allowed output scale.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoOutput.
fm.liveswitch.Size fm.liveswitch.VideoStream.getMinOutputSize | ( | ) |
Gets the minimum allowed output size.
A value of null indicates unset (no minimum).
Implements fm.liveswitch.IVideoOutput.
int fm.liveswitch.VideoStream.getMinOutputWidth | ( | ) |
Gets the minimum allowed output width.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoOutput.
|
protected |
Gets whether an output sink is muted.
output | The output. |
boolean fm.liveswitch.VideoStream.getOverConstrainedFrameRate | ( | ) |
Gets whether the stream frame-rate is over-constrained.
A stream frame-rate is over-constrained if the input frame-rate or output frame-rate is over-constrained.
boolean fm.liveswitch.VideoStream.getOverConstrainedInput | ( | ) |
Gets whether the input is over-contrained.
An input is over-constrained if it's input bitrate, input scale, input frame-rate, input size is over-contrained.
boolean fm.liveswitch.VideoStream.getOverConstrainedInputFrameRate | ( | ) |
Gets whether the minimum allowed input frame-rate exceeds the maximum allowed input frame-rate.
boolean fm.liveswitch.VideoStream.getOverConstrainedInputHeight | ( | ) |
Gets whether the minimum allowed input height exceeds the maximum allowed input height.
boolean fm.liveswitch.VideoStream.getOverConstrainedInputScale | ( | ) |
Gets whether the minimum allowed input scale exceeds the maximum allowed input scale.
boolean fm.liveswitch.VideoStream.getOverConstrainedInputSize | ( | ) |
Gets whether the minimum allowed input size exceeds the maximum allowed input size.
boolean fm.liveswitch.VideoStream.getOverConstrainedInputWidth | ( | ) |
Gets whether the minimum allowed input width exceeds the maximum allowed input width.
boolean fm.liveswitch.VideoStream.getOverConstrainedOutput | ( | ) |
Gets whether the output is over-contrained.
An output is over-constrained if it's output bitrate, output scale, output frame-rate, output size is over-contrained.
boolean fm.liveswitch.VideoStream.getOverConstrainedOutputFrameRate | ( | ) |
Gets whether the minimum allowed output frame-rate exceeds the maximum allowed output frame-rate.
boolean fm.liveswitch.VideoStream.getOverConstrainedOutputHeight | ( | ) |
Gets whether the minimum allowed output height exceeds the maximum allowed output height.
boolean fm.liveswitch.VideoStream.getOverConstrainedOutputScale | ( | ) |
Gets whether the minimum allowed output scale exceeds the maximum allowed output scale.
boolean fm.liveswitch.VideoStream.getOverConstrainedOutputSize | ( | ) |
Gets whether the minimum allowed output size exceeds the maximum allowed output size.
boolean fm.liveswitch.VideoStream.getOverConstrainedOutputWidth | ( | ) |
Gets whether the minimum allowed output width exceeds the maximum allowed output width.
boolean fm.liveswitch.VideoStream.getOverConstrainedScale | ( | ) |
Gets whether the stream scale is over-constrained.
A stream scale is over-constrained if the input scale or output scale is over-constrained.
boolean fm.liveswitch.VideoStream.getOverConstrainedSize | ( | ) |
Gets whether the stream size is over-constrained.
A stream size is over-constrained if the input size or output size is over-constrained.
fm.liveswitch.EncodingInfo fm.liveswitch.VideoStream.getTargetOutputEncoding | ( | ) |
Gets the target output encoding.
double fm.liveswitch.VideoStream.getTargetOutputFrameRate | ( | ) |
Gets the target output frame-rate, in fps.
A value of -1 indicates unset (no target).
Implements fm.liveswitch.IVideoOutput.
int fm.liveswitch.VideoStream.getTargetOutputHeight | ( | ) |
Gets the target output height.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoOutput.
double fm.liveswitch.VideoStream.getTargetOutputScale | ( | ) |
Gets the target output scale.
A value of -1 indicates unset (no target).
Implements fm.liveswitch.IVideoOutput.
fm.liveswitch.Size fm.liveswitch.VideoStream.getTargetOutputSize | ( | ) |
Gets the target output size.
A value of null indicates unset (no target).
Implements fm.liveswitch.IVideoOutput.
int fm.liveswitch.VideoStream.getTargetOutputWidth | ( | ) |
Gets the target output width.
A value of -1 indicates unset (no minimum).
Implements fm.liveswitch.IVideoOutput.
fm.liveswitch.VideoType fm.liveswitch.VideoStream.getVideoType | ( | ) |
Gets the video type.
Implements fm.liveswitch.IVideoOutput.
boolean fm.liveswitch.VideoStream.getVp8Disabled | ( | ) |
Gets whether VP8 is disabled.
Implements fm.liveswitch.IVideoStream.
boolean fm.liveswitch.VideoStream.getVp9Disabled | ( | ) |
Gets whether VP9 is disabled.
Implements fm.liveswitch.IVideoStream.
|
protected |
Creates an input array from an input list.
inputList | The input list. |
|
protected |
Creates an output array from an output list.
outputList | The output list. |
boolean fm.liveswitch.VideoStream.processFrame | ( | fm.liveswitch.VideoFrame | frame | ) |
Processes the frame.
frame | The frame. |
|
protected |
Processes an SDP content attribute.
sdpContentAttribute | The SDP content attribute. |
isLocalDescription | Whether the SDP content attribute comes from a local description. |
void fm.liveswitch.VideoStream.raiseKeyFrameRequest | ( | long[] | synchronizationSources | ) |
Raises a keyframe request to the local track.
synchronizationSources | The synchronization sources. |
Implements fm.liveswitch.IVideoStream.
void fm.liveswitch.VideoStream.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.
Implements fm.liveswitch.IVideoStream.
void fm.liveswitch.VideoStream.setH264Disabled | ( | boolean | value | ) |
Sets whether H.264 is disabled.
Implements fm.liveswitch.IVideoStream.
void fm.liveswitch.VideoStream.setH265Disabled | ( | boolean | value | ) |
Sets whether H.265 is disabled.
Implements fm.liveswitch.IVideoStream.
|
protected |
Sets whether an input source is muted.
input | The input. |
value | The value. |
|
protected |
Sets whether an output sink is muted.
output | The output. |
value | The value. |
void fm.liveswitch.VideoStream.setVp8Disabled | ( | boolean | value | ) |
Sets whether VP8 is disabled.
Implements fm.liveswitch.IVideoStream.
void fm.liveswitch.VideoStream.setVp9Disabled | ( | boolean | value | ) |
Sets whether VP9 is disabled.
Implements fm.liveswitch.IVideoStream.