Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new HMSRemoteVideoTrack(params: { id: string; isMute?: boolean; layer?: any; playbackAllowed?: boolean; source?: string | number; trackDescription?: string; trackId: string; type?: HMSTrackType }): HMSRemoteVideoTrack
  • Parameters

    • params: { id: string; isMute?: boolean; layer?: any; playbackAllowed?: boolean; source?: string | number; trackDescription?: string; trackId: string; type?: HMSTrackType }
      • id: string
      • Optional isMute?: boolean
      • Optional layer?: any
      • Optional playbackAllowed?: boolean
      • Optional source?: string | number
      • Optional trackDescription?: string
      • trackId: string
      • Optional type?: HMSTrackType

    Returns HMSRemoteVideoTrack

Properties

Optional addSink

addSink: Function

id

id: string

Optional isDegraded

isDegraded: boolean

Optional layer

layer: any

Optional mute

mute: boolean

Optional removeSink

removeSink: Function

Optional source

source: string | number

Optional trackDescription

trackDescription: string

trackId

trackId: string

Optional type

Methods

isMute

  • isMute(): undefined | boolean

isPlaybackAllowed

  • isPlaybackAllowed(): Promise<any>

setPlaybackAllowed

  • setPlaybackAllowed(playbackAllowed: boolean): void
  • Switches Video of remote user on/off depending upon the value of playbackAllowed

    memberof

    HMSRemoteVideoTrack

    Parameters

    • playbackAllowed: boolean

    Returns void

Generated using TypeDoc