Called in case of errors related to multimedia session e.g. ICE connection.
Called when peer was not accepted. Triggered by join
Passthru for client application to communicate further actions to frontend
Called each time new peer joins the room.
Called each time peer leaves the room.
Called each time MembraneWebRTC need to send some data to the server.
Called when a new track appears.
This callback is always called after a new peer joins so after calling onPeerJoined.
Contains information about the new track.
Called when some track will no longer be sent.
At this moment there is only one situation in which this callback is invoked i.e. when peer leaves the room. In such scenario, this callback will be invoked for each track this peer was sending and then onPeerLeft will be called.
Generated using TypeDoc
Callbacks that has to be implemented by user.