mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: final media-server to media-node touches
parent
b1608d26c2
commit
7224ac8968
|
@ -97,7 +97,7 @@ public class KurentoSessionManager extends SessionManager {
|
||||||
this.cleanCollections(sessionId);
|
this.cleanCollections(sessionId);
|
||||||
this.storeSessionNotActive(sessionNotActive);
|
this.storeSessionNotActive(sessionNotActive);
|
||||||
throw new OpenViduException(Code.ROOM_CANNOT_BE_CREATED_ERROR_CODE,
|
throw new OpenViduException(Code.ROOM_CANNOT_BE_CREATED_ERROR_CODE,
|
||||||
"There is no available media server where to initialize session '" + sessionId + "'");
|
"There is no available Media Node where to initialize session '" + sessionId + "'");
|
||||||
}
|
}
|
||||||
log.info("KMS less loaded is {} with a load of {}", lessLoadedKms.getUri(), lessLoadedKms.getLoad());
|
log.info("KMS less loaded is {} with a load of {}", lessLoadedKms.getUri(), lessLoadedKms.getLoad());
|
||||||
kSession = createSession(sessionNotActive, lessLoadedKms);
|
kSession = createSession(sessionNotActive, lessLoadedKms);
|
||||||
|
|
|
@ -64,7 +64,7 @@ public class MultimediaFileMetadata {
|
||||||
this.formatJson = json.get("format").getAsJsonObject();
|
this.formatJson = json.get("format").getAsJsonObject();
|
||||||
|
|
||||||
if (formatJson.get("duration") == null) {
|
if (formatJson.get("duration") == null) {
|
||||||
// Webm file has not been properly closed (i.e. media server stopped)
|
// Webm file has not been properly closed (i.e. Media Node stopped)
|
||||||
this.fixWebmFile(fileAbsolutePath);
|
this.fixWebmFile(fileAbsolutePath);
|
||||||
this.json = this.executeFfprobeCommand(fileAbsolutePath);
|
this.json = this.executeFfprobeCommand(fileAbsolutePath);
|
||||||
this.formatJson = json.get("format").getAsJsonObject();
|
this.formatJson = json.get("format").getAsJsonObject();
|
||||||
|
|
Loading…
Reference in New Issue