Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ScreenShareRoom

summary

画面共有の接続をルームとして管理

Hierarchy

  • ScreenShareRoom

Index

Constructors

constructor

Properties

Private _apiKey

_apiKey: string = ""

Private _displayStreamList

_displayStreamList: MediaStream[] = []

Private _isConnecting

_isConnecting: boolean = false

Private _isTransmitStreamEnabled

_isTransmitStreamEnabled: boolean = false

Private _onDisplayStreamListChanged

_onDisplayStreamListChanged: MultiCastDelegate<(displayStreamList: []) => void> = new MultiCastDelegate<(displayStreamList: []) => void>()

Private _roomName

_roomName: string = ""

Private _screenShareCount

_screenShareCount: number = 0

Private Optional _screenShareServer

_screenShareServer: ScreenShareServer = undefined

Private Optional _screenShareTransmitter

_screenShareTransmitter: ScreenShareTransmitter = undefined

Accessors

apiKey

  • get apiKey(): string

displayStreamList

hasStream

  • get hasStream(): boolean

isConnecting

  • get isConnecting(): boolean

isTransmitStreamEnabled

  • get isTransmitStreamEnabled(): boolean
  • set isTransmitStreamEnabled(isEnable: boolean): void

onDisplayStreamListChanged

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

roomName

  • get roomName(): string

screenShareCount

  • get screenShareCount(): number

stream

Methods

addScreenShare

beginScreenShare

connect

  • connect(): Promise<void>

dispose

  • dispose(): void

endScreenShare

  • endScreenShare(): void

Private removeFromDisplayStreamList

  • removeFromDisplayStreamList(peerId?: undefined | string): void
  • 表示用ストリームリストからストリームを削除

    Parameters

    • Optional peerId: undefined | string

      削除するストリームのPeerId

    Returns void

Generated using TypeDoc