Class RemoteAudioStream

Hierarchy (view full)

Properties

codec: Codec
contentType: "audio" = "audio"
getStats: (() => Promise<WebRTCStats>)

Type declaration

Deprecated

Use

Subscription.getStats

id: string
onConnectionStateChanged: Event<TransportConnectionState>

Deprecated

Use

Subscription.onConnectionStateChanged

Description

[japanese] メディア通信の状態が変化した時に発火するイベント

side: "remote" = "remote"
track: MediaStreamTrack

Accessors

  • get isEnabled(): boolean
  • Returns boolean

    Deprecated

    Use

    Publication.state

Methods

  • Parameters

    • element: HTMLVideoElement | HTMLAudioElement

    Returns void

    Description

    [english] Attach the stream to the element.

    Description

    [japanese] streamをelementに適用する.

  • Returns void

    Description

    [english] Detach the stream from the element.

    Description

    [japanese] elementからstreamを取り除く.