Creates an instance of FFCLocalVideoTrack.
A MediaStreamTrack instance.
Optionalconstraints: MediaTrackConstraints(Optional) Media constraints for the track.
OptionaluserProvidedTrack: boolean(Optional) Whether the track is user-provided.
OptionalloggerOptions: FFCLoggerOptions(Optional) Logger options for the track.
Gets the HTML media elements attached to the track.
An array of HTMLMediaElement instances.
Gets the codec used by the track.
The codec as an FFCVideoCodec, or undefined if not set.
Gets the media constraints applied to the track.
The media constraints as MediaTrackConstraints.
Gets the current bitrate of the track.
The current bitrate in bits per second.
Gets the dimensions of the track (e.g., width and height).
The dimensions as FFCTrack.Dimensions, or undefined if not available.
Gets the unique identifier of the track.
The track ID as a string.
Indicates whether the track is local.
true because this is a local track.
Checks if the track is muted.
true if the track is muted, otherwise false.
Indicates whether the video track is simulcast.
true if the track is simulcast, otherwise false.
Checks if the upstream of the track is paused.
true if the upstream is paused, otherwise false.
Checks if the track was provided by the user.
true if the track is user-provided, otherwise false.
Sets the media stream associated with the track.
The MediaStream instance, or undefined to clear it.
Gets the MediaStreamTrack associated with the track.
The MediaStreamTrack instance.
Gets or sets the RTP sender for the video track.
Gets the streamd id (SID) of the track.
The track SID, or undefined if not set.
Sets the source of the track (e.g., camera, microphone).
The source of the track as FFCTrack.Source.
Gets the stream state of the track (e.g., active, paused).
The stream state as FFCTrack.StreamState.
Adds a simulcast track to the video track.
The codec for the simulcast track.
Optionalencodings: RTCRtpEncodingParameters[](Optional) The encoding parameters for the simulcast track.
The simulcast track information as FFCSimulcastTrackInfo, or undefined if not added.
Creates a new HTMLAudioElement or HTMLVideoElement, attaches to it, and returns it.
The attached HTMLMediaElement.
Attaches track to an existing HTMLAudioElement or HTMLVideoElement
(Optional) The HTMLMediaElement to attach the track to.
The attached HTMLMediaElement.
Detaches from all attached elements
The detached HTMLMediaElement or an array of detached elements.
Detach from a single element.
(Optional) The HTMLMediaElement to detach the track from.
The detached HTMLMediaElement or an array of detached elements.
Gets the device ID of the track.
Whether to normalize the device ID.
A promise that resolves to the device ID as a string, or undefined if not available.
Gets the processor currently applied to the track.
The processor as an FFCTrackProcessor, or undefined if no processor is applied.
Retrieves the RTC stats report for the track.
A promise that resolves to an RTCStatsReport, or undefined if not available.
Retrieves the sender statistics for the video track.
A promise that resolves to an array of FFCVideoSenderStats.
Gets the settings of the source track.
The settings as MediaTrackSettings.
Mutes the video track.
A promise that resolves to the current FFCLocalVideoTrack instance.
Pauses the upstream of the video track.
A promise that resolves when the upstream is paused.
Optionaloptions: FFCReplaceTrackOptionsOptionaluserProvidedTrack: booleanRestarts the video track with new capture options.
Optionaloptions: FFCVideoCaptureOptions(Optional) The video capture options to apply.
A promise that resolves when the track is restarted.
Resumes the upstream of the video track.
A promise that resolves when the upstream is resumed.
Sets the degradation preference for the video track.
The degradation preference to set.
A promise that resolves when the preference is set.
Sets the device ID for the track.
The device ID to set.
A promise that resolves to true if the device ID was set successfully, otherwise false.
Sets a processor for the video track.
The video track processor to set.
(Optional) Whether to show the processed stream locally.
A promise that resolves when the processor is set.
Sets the publishing quality for the video track.
The maximum video quality to set.
Sets the RTP sender for a simulcast track.
The codec for the simulcast track.
The RTP sender to set.
Stops the video track.
Stops the processor applied to the track.
A promise that resolves when the processor is stopped.
Unmutes the video track.
A promise that resolves to the current FFCLocalVideoTrack instance.
Waits for the dimensions of the track to be available.
The timeout in milliseconds (default is 1000ms).
A promise that resolves to the dimensions as FFCTrack.Dimensions.
The
FFCLocalVideoTrackclass represents a local video track in the FlipFlopCloud SDK. It extends theFFCLocalTrackclass and provides additional functionality specific to local video tracks.