openvidu-server: event "openviduServerDestroyed" is now "openviduServerStopped"

pull/73/head
pabloFuente 2018-05-04 12:19:31 +02:00
parent 5867a7b5b5
commit 6a168cb540
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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);
}