Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Cleanup: removes an unused function.
Boris Grozevee95e99f5777
diff --git a/modules/xmpp/xmpp.js b/modules/xmpp/xmpp.jsindex d8b57d7622..d8dd45fdb3 100644--- a/modules/xmpp/xmpp.js+++ b/modules/xmpp/xmpp.js@@ -406,8 +406,7 @@ var XMPP = {this.sendAudioInfoPresence(mute, callback);return true;},- sendAudioInfoPresence: function(mute, callback)- {+ sendAudioInfoPresence: function(mute, callback) {if(connection) {connection.emuc.addAudioInfoToPresence(mute);connection.emuc.sendPresence();@@ -415,48 +414,6 @@ var XMPP = {callback();return true;},- // Really mute video, i.e. dont even send black frames- muteVideo: function (pc, unmute) {- // FIXME: this probably needs another of those lovely state safeguards...- // which checks for iceconn == connected and sigstate == stable- pc.setRemoteDescription(pc.remoteDescription,- function () {- pc.createAnswer(- function (answer) {- var sdp = new SDP(answer.sdp);- if (sdp.media.length > 1) {- if (unmute)- sdp.media[1] = sdp.media[1].replace(- 'a=recvonly', 'a=sendrecv');- else- sdp.media[1] = sdp.media[1].replace(- 'a=sendrecv', 'a=recvonly');- sdp.raw = sdp.session + sdp.media.join('');- answer.sdp = sdp.raw;- }- pc.setLocalDescription(answer,- function () {- console.log('mute SLD ok');- },- function (error) {- console.log('mute SLD error');- eventEmitter.emit(- XMPPEvents.SET_LOCAL_DESCRIPTION_ERROR);- }- );- },- function (error) {- console.log(error);- eventEmitter.emit(XMPPEvents.CREATE_ANSWER_ERROR);- }- );- },- function (error) {- console.log('muteVideo SRD error');- eventEmitter.emit(XMPPEvents.SET_REMOTE_DESCRIPTION_ERROR);- }- );- },toggleRecording: function (tokenEmptyCallback,startingCallback, startedCallback) {Recording.toggleRecording(tokenEmptyCallback,