A notification is an event that SignalWire dispatches to notify the Client about different cases. A notification can refer to the JWT expiration, Call changes or Conference updates.
Every notification has a property type that identify the case and the structure of the data.
The available type are:
Your JWT is going to expire. Refresh it or your session will be disconnected.
Anatomy of a
refreshTokennotification.
A Call’s state has been changed. It is useful to update the UI of your application.s
Anatomy of a
callUpdatenotification.
This notification contains the participant data for the current Call. This is useful when updating the UI.
Anatomy of a
participantDatanotification.
The browser lacks of permissions to access microphone or webcam. You should check which audio/video constraints you are using and make sure they are supported by the browser.
Anatomy of a
userMediaErrornotification.