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] メディア通信の状態が変化した時に発火するイベント

options: DataStreamOptions = {}
published: boolean = false
side: "local" = 'local'

Accessors

Methods

  • Parameters

    Returns undefined | RTCPeerConnection

    Deprecated

    Use

    Publication.getRTCPeerConnection

  • Parameters

    Returns void

    Description

    [japanese] データを送信する