mirror of https://github.com/OpenVidu/openvidu.git
Don't remove container if it does not exists
parent
df314ba6e2
commit
cf2b37414f
|
@ -31,6 +31,7 @@ public class ComposedQuickStartRecordingService extends ComposedRecordingService
|
|||
|
||||
String containerId = this.sessionsContainers.get(session.getSessionId());
|
||||
|
||||
if (containerId != null) {
|
||||
try {
|
||||
dockerManager.removeDockerContainer(containerId, true);
|
||||
} catch (Exception e) {
|
||||
|
@ -41,6 +42,8 @@ public class ComposedQuickStartRecordingService extends ComposedRecordingService
|
|||
sessionsContainers.remove(session.getSessionId());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Recording startRecordingWithVideo(Session session, Recording recording, RecordingProperties properties)
|
||||
throws OpenViduException {
|
||||
|
|
Loading…
Reference in New Issue