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 peer has its metadata updated.
Called every time a local peer is removed by the server.
Called each time MembraneWebRTC need to send some data to the server.
Called each time the peer which was already in the room, adds new track. Fields track and stream will be set to null. These fields will be set to non-null value in onTrackReady
Called each time track encoding has changed.
Track encoding can change in the following cases:
id of peer that owns track
id of track that changed encoding
new encoding
Called when data in a new track arrives.
This callback is always called after onTrackAdded. It informs user that data related to the given track arrives and can be played or displayed.
Called when some track will no longer be sent.
It will also be called before onPeerLeft for each track of this peer.
Called each time peer has its track metadata updated.
Called when priority of video tracks have changed.
list of tracks which will be sent to client from SFU
list of tracks which will not be sent to client from SFU
Generated using TypeDoc
Callbacks that has to be implemented by user.