Class RemoteVideoStream

Hierarchy

Properties

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

Type declaration

id: string
onConnectionStateChanged: Event<TransportConnectionState>

Deprecated

Use

Subscription.onConnectionStateChanged

Description

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

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

Accessors

  • get isEnabled(): boolean
  • Returns boolean

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を取り除く.

Generated using TypeDoc