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

16 lines
510 B
JavaScript

var inherits = require('inherits');
var OutMessage = require('../OutMessage');
module.exports = function (Constants) {
function StopTranscoderRequestMessage (meetingId, transcoderId) {
StopTranscoderRequestMessage.super_.call(this, Constants.STOP_TRANSCODER_REQUEST);
this.payload = {};
this.payload[Constants.MEETING_ID] = meetingId;
this.payload[Constants.TRANSCODER_ID] = transcoderId;
};
inherits(StopTranscoderRequestMessage, OutMessage);
return StopTranscoderRequestMessage;
}