You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michiel Mooring edited this page May 26, 2017
·
4 revisions
Events
The client emits an event whenever something happens on the server.
First of all, when the client received a sync from the server, the client will emit a ready event. This event contains the welcome message and the maximum bitrate.
Whenever a user changes (switches channel, mutes, etc...). The client emits a userChange event and will have two params. First the oldUser object and second the newUser object.