Enumeration CLIENT_EVENTS

Events

LOCAL_STREAM_MUTED: "localStreamMuted"

Your current user muted their stream in a channel

LOCAL_STREAM_STARTED: "localStreamStarted"

Your current user started publishing in a channel

LOCAL_STREAM_STOPPED: "localStreamStopped"

Your current user stopped publishing in a channel

LOCAL_STREAM_UNMUTED: "localStreamUnMuted"

Your current user unmuted their stream in a channel

LOCAL_USER_CHANGED: "localUserChanged"

Your current user muted their stream in a channel

LOCAL_USER_JOINED: "localUserJoined"

Your current user joined a call

LOCAL_USER_LEFT: "localUserLeft"

Your current user left a call

REMOTE_STREAM_ADDED: "remoteStreamAdded"

A remote user’s stream was added to the channel

REMOTE_STREAM_REMOVED: "remoteStreamRemoved"

A remote user’s stream was removed from the channel

REMOTE_USER_JOINED: "remoteUserJoined"

A remote user presence joined the channel

REMOTE_USER_LEFT: "remoteUserLeft"

A remote user presence left the channel

SESSION_AUTH_TOKEN_EXPIRED: "sessionAuthTokenExpired"

The Session Auth token used to create the Client has expired. Please fetch a new token from your backend and update the Client.

SESSION_AUTH_TOKEN_INVALID: "sessionAuthTokenInvalid"

The Session Auth token used to create the Client is invalid.

SESSION_AUTH_TOKEN_MISMATCH: "sessionAuthTokenMismatch"

The session auth token was updated with an incompatible token.

SESSION_AUTH_TOKEN_NEARING_EXPIRY: "sessionAuthTokenNearingExpiry"

The Session Auth token used to create the Client is nearing its expiration. Please fetch a new token from your backend and update the Client.