diff --git a/openvidu-browser/src/OpenViduInternal/Events/ConnectionEvent.ts b/openvidu-browser/src/OpenViduInternal/Events/ConnectionEvent.ts index 60609a26..05fc02dc 100644 --- a/openvidu-browser/src/OpenViduInternal/Events/ConnectionEvent.ts +++ b/openvidu-browser/src/OpenViduInternal/Events/ConnectionEvent.ts @@ -39,6 +39,7 @@ export class ConnectionEvent extends Event { * - "forceDisconnectByServer": the remote user has been evicted from the Session by the application * - "sessionClosedByServer": the Session has been closed by the application * - "networkDisconnect": the remote user network connection has dropped + * - "nodeCrashed": a node has crashed in the server side * * For `connectionCreated` event an empty string */ diff --git a/openvidu-browser/src/OpenViduInternal/Events/RecordingEvent.ts b/openvidu-browser/src/OpenViduInternal/Events/RecordingEvent.ts index 9117cd65..2ec063a9 100644 --- a/openvidu-browser/src/OpenViduInternal/Events/RecordingEvent.ts +++ b/openvidu-browser/src/OpenViduInternal/Events/RecordingEvent.ts @@ -46,7 +46,7 @@ export class RecordingEvent extends Event { * - "recordingStoppedByServer": the recording has been gracefully stopped by the application * - "sessionClosedByServer": the Session has been closed by the application * - "automaticStop": see [Automatic stop of recordings](/en/stable/advanced-features/recording/#automatic-stop-of-recordings) - * - "mediaServerDisconnect": OpenVidu Media Node has crashed or lost its connection. A new Media Node instance is active and the recording has been stopped (no media streams are available in the new Media Node) + * - "nodeCrashed": a node has crashed in the server side * * For 'recordingStarted' empty string */ diff --git a/openvidu-browser/src/OpenViduInternal/Events/SessionDisconnectedEvent.ts b/openvidu-browser/src/OpenViduInternal/Events/SessionDisconnectedEvent.ts index f6f26c6b..d60470c9 100644 --- a/openvidu-browser/src/OpenViduInternal/Events/SessionDisconnectedEvent.ts +++ b/openvidu-browser/src/OpenViduInternal/Events/SessionDisconnectedEvent.ts @@ -39,6 +39,8 @@ export class SessionDisconnectedEvent extends Event { * Session object will always have previously dispatched a `reconnecting` event. If the reconnection process succeeds, * Session object will dispatch a `reconnected` event. If it fails, Session object will dispatch a SessionDisconnectedEvent * with reason "networkDisconnect" + * - "nodeCrashed": a node has crashed in the server side. You can use this reason to ask your application's backend to reconnect + * to a new session to replace the crashed one */ reason: string; diff --git a/openvidu-browser/src/OpenViduInternal/Events/StreamEvent.ts b/openvidu-browser/src/OpenViduInternal/Events/StreamEvent.ts index 749e2532..7e76ec29 100644 --- a/openvidu-browser/src/OpenViduInternal/Events/StreamEvent.ts +++ b/openvidu-browser/src/OpenViduInternal/Events/StreamEvent.ts @@ -48,7 +48,7 @@ export class StreamEvent extends Event { * - "forceDisconnectByServer": the user has been evicted from the Session by the application * - "sessionClosedByServer": the Session has been closed by the application * - "networkDisconnect": the user's network connection has dropped - * - "mediaServerDisconnect": OpenVidu Media Node has crashed or lost its connection. A new Media Node instance is active and no media streams are available in the Media Node + * - "nodeCrashed": a node has crashed in the server side * * For 'streamCreated' empty string */