This commit is contained in:
paweldomas 2015-12-10 03:03:05 -06:00
parent c9ccda7058
commit b3fdf8d0b6
1 changed files with 3 additions and 1 deletions

View File

@ -30,11 +30,13 @@ Recording.prototype.setRecording = function (state, streamId, callback){
return;
}
// FIXME jibri does not accept IQ without 'url' attribute set ?
var iq = $iq({to: this.focusMucJid, type: 'set'})
.c('jibri', {
xmlns: 'http://jitsi.org/protocol/jibri',
action: (state === 'on') ? 'start' : 'stop',
streamId: streamId
streamid: streamId
}).up();
console.log('Set jibri recording: '+state, iq);