Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

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

Properties

id

id: string

Optional mute

mute: boolean

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 Audio of remote user on/off depending upon the value of playbackAllowed

    memberof

    HMSRemoteAudioTrack

    Parameters

    • playbackAllowed: boolean

    Returns void

Generated using TypeDoc