sessionError event in the
playbackSession namespace indicates the session error status, such as failures to join and evictions.
See the Control documentation for descriptions of parameters in the header. See the table below for descriptions of parameters in the body.
||string||The session error. See the list below.|
||string||The reason for the error. This string is optional, so it may not always be returned. It is in English and not localized. Your app should only use it for debugging purposes.|
||string||The identifier for the session.|
||Indicates that your app could not establish a session. This can occur if there is an existing session or if any other source is currently playing.|
||Indicates that your app did not successfully join an existing session. This can occur if the
||Indicates that the session ended and your app was kicked out. This can occur if another app created a new session or if your app selected a different playback source. Sonos delivers this error to all subscribers of the existing session.|
"reason": "Another user joined the session."