bigbluebutton-Github/labs/bbb-webrtc-sfu/lib/bbb/messages/screenshare/ScreenshareRTMPBroadcastStoppedEventMessage2x.js
2017-11-11 01:44:50 +00:00

26 lines
883 B
JavaScript

/*
*
*/
var inherits = require('inherits');
var OutMessage2x = require('../OutMessage2x');
module.exports = function (C) {
function ScreenshareRTMPBroadcastStoppedEventMessage2x (conferenceName, screenshareConf,
streamUrl, vw, vh, timestamp) {
ScreenshareRTMPBroadcastStoppedEventMessage2x.super_.call(this, C.SCREENSHARE_RTMP_BROADCAST_STOPPED_2x,
{voiceConf: conferenceName}, {voiceConf: conferenceName});
this.core.body = {};
this.core.body[C.CONFERENCE_NAME] = conferenceName;
this.core.body[C.SCREENSHARE_CONF] = screenshareConf;
this.core.body[C.STREAM_URL] = streamUrl;
this.core.body[C.VIDEO_WIDTH] = vw;
this.core.body[C.VIDEO_HEIGHT] = vh;
this.core.body[C.TIMESTAMP] = timestamp;
};
inherits(ScreenshareRTMPBroadcastStoppedEventMessage2x, OutMessage2x);
return ScreenshareRTMPBroadcastStoppedEventMessage2x;
}