Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PeerDevice

Implements

Index

Constructors

Properties

id: string
peerUrl: string
realtimeListeners: RealtimeListener[] = []
remoteDevicePeerId: undefined | string
rtcClient: undefined | RtcClient

Methods

  • createCustomDataChannel(channelName: string, rtcConfig?: RTCDataChannelInit): Promise<DataChannel>
  • disableRealtimeTelemetryPriorityIngestion(streamName: string): Promise<void>
  • enableRealtimeTelemetryPriorityIngestion(streamName: string): Promise<void>
  • getDeviceId(): Promise<string>
  • getRealtimePing(): undefined | number
  • getRealtimeStatus(): "connected" | "connecting" | "disconnected"
  • getRemotePeer(): Promise<IRtcPeer>
  • handleMessage(peerId: string, message: any): void
  • startRealtimeConnection(_config?: IRtcConnectConfiguration): Promise<void>
  • stopRealtimeConnection(): Promise<void>

Generated using TypeDoc