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

23 lines
752 B
JavaScript

/*
*
*/
var inherits = require('inherits');
var OutMessage = require('../OutMessage');
module.exports = function (Constants) {
function DeskShareRTMPBroadcastStoppedEventMessage (conferenceName, streamUrl, vw, vh, timestamp) {
DeskShareRTMPBroadcastStoppedEventMessage.super_.call(this, Constants.DESKSHARE_RTMP_BROADCAST_STOPPED);
this.payload = {};
this.payload[Constants.CONFERENCE_NAME] = conferenceName;
this.payload[Constants.STREAM_URL] = streamUrl;
this.payload[Constants.TIMESTAMP] = timestamp;
this.payload[Constants.VIDEO_WIDTH] = vw;
this.payload[Constants.VIDEO_HEIGHT] = vh;
};
inherits(DeskShareRTMPBroadcastStoppedEventMessage, OutMessage);
return DeskShareRTMPBroadcastStoppedEventMessage;
}