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
|
* - hasVideo: boolean
|
||||||
* - recordingLayout: string
|
* - recordingLayout: string
|
||||||
* - size: number
|
* - size: number
|
||||||
* - webrtcConnectionDestroyed.reason: "unsubscribe", "unpublish", "disconnect", "networkDisconnect", "openviduServerDestroyed"
|
* - webrtcConnectionDestroyed.reason: "unsubscribe", "unpublish", "disconnect", "networkDisconnect", "openviduServerStopped"
|
||||||
* - participantLeft.reason: "unsubscribe", "unpublish", "disconnect", "networkDisconnect", "openviduServerDestroyed"
|
* - participantLeft.reason: "unsubscribe", "unpublish", "disconnect", "networkDisconnect", "openviduServerStopped"
|
||||||
* - sessionDestroyed.reason: "lastParticipantLeft", "openviduServerDestroyed"
|
* - sessionDestroyed.reason: "lastParticipantLeft", "openviduServerStopped"
|
||||||
*
|
*
|
||||||
* [OPTIONAL_PROPERTIES]:
|
* [OPTIONAL_PROPERTIES]:
|
||||||
* - receivingFrom: only if connection = "INBOUND"
|
* - receivingFrom: only if connection = "INBOUND"
|
||||||
|
|
|
@ -342,7 +342,7 @@ public abstract class SessionManager {
|
||||||
log.info("Closing all sessions");
|
log.info("Closing all sessions");
|
||||||
for (String sessionId : sessions.keySet()) {
|
for (String sessionId : sessions.keySet()) {
|
||||||
try {
|
try {
|
||||||
closeSession(sessionId, "openviduServerDestroyed");
|
closeSession(sessionId, "openviduServerStopped");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.warn("Error closing session '{}'", sessionId, e);
|
log.warn("Error closing session '{}'", sessionId, e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue