Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VideoChatConnection

summary

ビデオチャットの接続を提供します.

Hierarchy

  • VideoChatConnection

Index

Constructors

constructor

Properties

Private _apiKey

_apiKey: string = ""

Private Optional _bufferStream

_bufferStream: RtcMediaStreamWrapper = undefined

Private _displayStreamList

_displayStreamList: PeerStream[] = []

Private _isConnecting

_isConnecting: boolean = false

Private _memberCount

_memberCount: number = 0

Private _nickName

_nickName: string = ""

Private _onDisplayStreamListChanged

_onDisplayStreamListChanged: MultiCastDelegate<(displayStreamList: any) => void> = new MultiCastDelegate<(displayStreamList: any) => void>()

Private _peerId

_peerId: string = ""

Private _roomKey

_roomKey: string = ""

Private Optional _skywayPeer

_skywayPeer: Peer = undefined

Private Optional _skywayRoom

_skywayRoom: SfuRoom = undefined

Accessors

apiKey

  • get apiKey(): string

displayStreamList

hasStream

  • get hasStream(): boolean

isConnecting

  • get isConnecting(): boolean

memberCount

  • get memberCount(): number

nickName

  • get nickName(): string

onDisplayStreamListChanged

  • get onDisplayStreamListChanged(): MultiCastDelegate<(displayStreamList: any) => void>

peerId

  • get peerId(): string

roomKey

  • get roomKey(): string

streamWrapper

Methods

connect

disconnect

  • disconnect(): Promise<void>

Private joinRoom

  • joinRoom(): SfuRoom | undefined

reload

  • reload(nickName?: undefined | string): Promise<void>
  • summary

    リロードします. ニックネームを変更する際は指定してください.

    Parameters

    • Optional nickName: undefined | string

      ニックネーム

    Returns Promise<void>

Private removeFromDisplayStreamList

  • removeFromDisplayStreamList(peerId: string): void
  • summary

    リモートストリームから離脱したPeerを削除

    Parameters

    • peerId: string

      削除するPeerID

    Returns void

setPeerStream

Object literals

Private metadata

metadata: object

isAudioEnabled

isAudioEnabled: boolean = false

message

message: string = "aaaaaaaa"

Generated using TypeDoc