Hierarchy (view full)

Constructors

Properties

dimensions?: Dimensions

dimension of the original published stream, video-only

kind: Kind
mimeType?: string

MimeType of the published track

simulcasted?: boolean

true if track was simulcasted to server, video-only

source: Source
track?: RemoteTrack<Kind> = undefined
trackName: string
trackSid: string

Accessors

Methods

  • disable server from sending down data for this track. this is useful when the participant is off screen, you may disable streaming down their video to reduce bandwidth requirements

    Parameters

    • enabled: boolean

    Returns void

  • Subscribe or unsubscribe to this remote track

    Parameters

    • subscribed: boolean

      true to subscribe to a track, false to unsubscribe

    Returns void

  • for tracks that support simulcasting, adjust subscribed quality

    This indicates the highest quality the client can accept. if network bandwidth does not allow, server will automatically reduce quality to optimize for uninterrupted video

    Parameters

    Returns void