diff --git a/bigbluebutton-html5/client/compatibility/kurento-extension.js b/bigbluebutton-html5/client/compatibility/kurento-extension.js index c55b99e2d164bf3c3c0fe24562825709c9a52674..a27541cbf962cb140d608244dd5cf3bcffea684c 100644 --- a/bigbluebutton-html5/client/compatibility/kurento-extension.js +++ b/bigbluebutton-html5/client/compatibility/kurento-extension.js @@ -455,6 +455,7 @@ Kurento.prototype.listenOnly = function () { var self = this; if (!this.webRtcPeer) { var options = { + audioStream: this.inputStream, remoteVideo: document.getElementById(this.renderTag), onicecandidate : this.onListenOnlyIceCandidate.bind(this), mediaConstraints: { diff --git a/bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js b/bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js index 52b7d55cb5f054cfa9ec8cf7db25ea89985dbc82..fbdbffe8e1cb712db2a744718a03db56afaaf88e 100644 --- a/bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js +++ b/bigbluebutton-html5/imports/api/audio/client/bridge/kurento.js @@ -61,7 +61,7 @@ export default class KurentoAudioBridge extends BaseAudioBridge { window.kurentoExitAudio(); } - joinAudio({ isListenOnly }, callback) { + joinAudio({ isListenOnly, inputStream }, callback) { return new Promise(async (resolve, reject) => { this.callback = callback; let iceServers = []; @@ -78,6 +78,7 @@ export default class KurentoAudioBridge extends BaseAudioBridge { caleeName: `${GLOBAL_AUDIO_PREFIX}${this.voiceBridge}`, iceServers, logger: modLogger, + inputStream, }; const onSuccess = ack => resolve(this.callback({ status: this.baseCallStates.started }));