Emitted when authentication fails
Emitted when authentication is successful
Called every time the server estimates client's bandiwdth.
client's available incoming bitrate estimated by the server. It's measured in bits per second.
Called each time new peer joins the room.
Called each time peer leaves the room.
Called each time peer has its metadata updated.
Called in case of errors related to multimedia session e.g. ICE connection.
Emitted when the connection is closed
Called when peer was not accepted
Pass through for client application to communicate further actions to frontend
Called when peer was accepted.
Optional
trackOptional
metadata?: TrackMetadataCalled each time new peer joins the room.
Called each time peer leaves the room.
Called each time peer has its metadata updated.
Emitted on successful reconnection
Emitted when the maximum number of reconnection retries is reached
Emitted when the process of reconnection starts
Emitted when the websocket connection is closed
Close event object from the websocket
Emitted when occurs an error in the websocket connection
Event object from the websocket
Emitted when the websocket connection is opened
Event object from the websocket
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 MessageEvents.trackReady
Called when data in a new track arrives.
This callback is always called after MessageEvents.trackAdded. 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 MessageEvents.peerLeft for each track of this peer.
Called each time peer has its track metadata updated.
Currently, this callback is only invoked when DisplayManager in RTC Engine is enabled and simulcast is disabled.
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
Events emitted by the client with their arguments.