API Docs for:
Show:

rtc.signaling.PalavaSignaling Class

Signaling implementation compatible with the framing of palava signaling

Item Index

Methods

close

()
Closes the connection to the signaling server

connect

() Promise
Establishes the connection with the signaling server

Returns:

Promise: Promise which is resolved when the connection is established

setStatus

(
  • obj
)
Sets the local status object and broadcasts the change to the peers

Parameters:

  • obj Object
    New status object

Events

closed

()
The connection to the signaling server was closed

peer_joined

(
  • peer
)
A new peer joined the room

Parameters: