The FFCTrackPublication class represents a published media track in the FlipFlopCloud SDK. It provides access to track metadata, subscription status, and related events.

Hierarchy (View Summary)

Implements

  • IFFCTrackPublication

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

    true if the track is local, otherwise false.

  • 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 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 simulcasted(): undefined | boolean

    Indicates whether the track is simulcast.

    Returns undefined | boolean

    true if the track is simulcast, otherwise false.

  • 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.