AbstractGets the HTML media elements attached to the track.
An array of HTMLMediaElement instances.
Gets the current bitrate of the track.
The current bitrate in bits per second.
AbstractisChecks if the track is local.
true if the track is local, otherwise false.
Checks if the track is muted.
true if the track is muted, otherwise false.
Gets the MediaStreamTrack associated with the track.
The MediaStreamTrack instance.
Gets the streamd id (SID) of the track.
The track SID, or undefined if not set.
Gets the source of the track (e.g., camera, microphone).
The track source as FFCTrack.Source.
Gets the stream state of the track (e.g., active, paused).
The stream state as FFCTrack.StreamState.
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.
Stops the track.
The
FFCTrackclass is an abstract base class for handling media tracks in the FlipFlopCloud SDK. It extendsEventEmitterto emit various events related to track state changes.