The FFCRemoteTrackPublication class represents a remote track publication in the FlipFlopCloud SDK. It extends the FFCTrackPublication class and provides additional functionality specific to remote tracks.

Hierarchy (View Summary)

Accessors

  • get dimensions(): undefined | Dimensions

    Gets the dimensions of the track (e.g., width and height).

    Returns undefined | Dimensions

    The dimensions as FFCTrack.Dimensions, or undefined if not available.

  • get isEnabled(): boolean

    Indicates whether the track is enabled.

    Returns boolean

    true if the track is enabled, otherwise false.

  • get isEncrypted(): boolean

    Indicates whether the track is encrypted.

    Returns boolean

    true if the track is encrypted, otherwise false.

  • get isLocal(): boolean

    Indicates whether the track is local.

    Returns boolean

    false because this is a remote track publication.

  • get isMuted(): boolean

    Indicates whether the track is muted.

    Returns boolean

    true if the track is muted, otherwise false.

  • get isSubscribed(): boolean

    Indicates whether the track is currently subscribed.

    Returns boolean

    true if the track is subscribed, otherwise false.

  • get mimeType(): undefined | string

    Gets the MIME type of the track.

    Returns undefined | string

    The MIME type as a string, or undefined if not available.

  • get permissionStatus(): PermissionStatus

    Gets the permission status of the track.

    Returns PermissionStatus

    The permission status as TrackPublication.PermissionStatus.

  • get simulcasted(): undefined | boolean

    Indicates whether the track is simulcast.

    Returns undefined | boolean

    true if the track is simulcast, otherwise false.

  • get subscriptionStaus(): SubscriptionStatus

    Gets the subscription status of the track.

    Returns SubscriptionStatus

    The subscription status as TrackPublication.SubscriptionStatus.

  • get trackInfo(): undefined | FFCTrackInfo

    Gets the track information.

    Returns undefined | FFCTrackInfo

    The track information as FFCTrackInfo, or undefined if not available.

  • get trackName(): string

    Gets the name of the track.

    Returns string

    The track name as a string.

Methods

  • Sets the subscription status of the track.

    Parameters

    • subscribed: boolean

      true to subscribe to the track, false to unsubscribe.

    Returns void