bigbluebutton-Github/labs/bbb-webrtc-sfu/lib/screenshare/ScreenshareProcess.js

11 lines
228 B
JavaScript
Raw Normal View History

2017-10-13 21:50:17 +08:00
const ScreenshareManager = require('./ScreenshareManager');
let c = new ScreenshareManager();
c.start();
2017-10-13 21:50:17 +08:00
process.on('uncaughtException', function (error) {
console.log(error.stack);
});
process.on('disconnect', c.stopAll);