mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: event "openviduServerDestroyed" is now "openviduServerStopped"
parent
5867a7b5b5
commit
6a168cb540
|
@ -63,9 +63,9 @@ import io.openvidu.server.recording.Recording;
|
|||
* - hasVideo: boolean
|
||||
* - recordingLayout: string
|
||||
* - size: number
|
||||
* - webrtcConnectionDestroyed.reason: "unsubscribe", "unpublish", "disconnect", "networkDisconnect", "openviduServerDestroyed"
|
||||
* - participantLeft.reason: "unsubscribe", "unpublish", "disconnect", "networkDisconnect", "openviduServerDestroyed"
|
||||
* - sessionDestroyed.reason: "lastParticipantLeft", "openviduServerDestroyed"
|
||||
* - webrtcConnectionDestroyed.reason: "unsubscribe", "unpublish", "disconnect", "networkDisconnect", "openviduServerStopped"
|
||||
* - participantLeft.reason: "unsubscribe", "unpublish", "disconnect", "networkDisconnect", "openviduServerStopped"
|
||||
* - sessionDestroyed.reason: "lastParticipantLeft", "openviduServerStopped"
|
||||
*
|
||||
* [OPTIONAL_PROPERTIES]:
|
||||
* - receivingFrom: only if connection = "INBOUND"
|
||||
|
|
|
@ -342,7 +342,7 @@ public abstract class SessionManager {
|
|||
log.info("Closing all sessions");
|
||||
for (String sessionId : sessions.keySet()) {
|
||||
try {
|
||||
closeSession(sessionId, "openviduServerDestroyed");
|
||||
closeSession(sessionId, "openviduServerStopped");
|
||||
} catch (Exception e) {
|
||||
log.warn("Error closing session '{}'", sessionId, e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue