From b3fdf8d0b607b2e8a2857d8363719a76651aecd6 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Thu, 10 Dec 2015 03:03:05 -0600 Subject: [PATCH] fixes --- modules/xmpp/recording.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/xmpp/recording.js b/modules/xmpp/recording.js index b496156ff..fb205eae3 100644 --- a/modules/xmpp/recording.js +++ b/modules/xmpp/recording.js @@ -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);