Class LocalDataStream

Hierarchy (view full)

Constructors

Properties

contentType: "data" = "data"
id: string
onConnectionStateChanged: Event<{
    remoteMember: RemoteMember;
    state: TransportConnectionState;
}>

Type declaration

Deprecated

Use

Publication.onConnectionStateChanged

Description

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

published: boolean
side: "local" = "local"

Accessors

  • get isEnabled(): boolean
  • Returns boolean

    Deprecated

    Use

    Publication.state

Methods

  • Parameters

    • selector: string | Member

    Returns undefined | RTCPeerConnection

    Deprecated

    Use

    Publication.getRTCPeerConnection

  • Parameters

    Returns void

    Description

    [japanese] データを送信する