Fixed recording stop in SFU

This commit is contained in:
prlanzarin 2018-05-03 21:56:03 +00:00
parent 1ecc070226
commit b52b059086

View File

@ -292,6 +292,11 @@ module.exports = class MediaController {
Logger.error("[mcs-controller] Subscribe failed with an error", err);
return Promise.reject(err);
}
finally {
if (typeof err === 'undefined' && session) {
session.sessionStarted();
}
}
}
async addIceCandidate (mediaId, candidate) {