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
Removes unused files.
hristoterezovfcf785f32cc2
diff --git a/app.js b/app.jsindex 501102bd01..e64038e888 100644--- a/app.js+++ b/app.js@@ -460,7 +460,6 @@ $(document).bind('iceconnectionstatechange.jingle', function (event, sid, sessio}}});- trackUsage('iceConnected', metadata);}});}diff --git a/libs/modules/RTC.bundle.js b/libs/modules/RTC.bundle.jsindex d2ab75fb84..a2187f7455 100644--- a/libs/modules/RTC.bundle.js+++ b/libs/modules/RTC.bundle.js@@ -773,10 +773,6 @@ RTCUtils.prototype.obtainAudioAndVideoPermissions = function() {var cb = function (stream) {console.log('got', stream, stream.getAudioTracks().length, stream.getVideoTracks().length);self.handleLocalStream(stream);- trackUsage('localMedia', {- audio: stream.getAudioTracks().length,- video: stream.getVideoTracks().length- });};var self = this;this.getUserMediaWithConstraints(@@ -789,10 +785,6 @@ RTCUtils.prototype.obtainAudioAndVideoPermissions = function() {cb,function (error) {console.error('failed to obtain audio/video stream - stop', error);- trackUsage('localMediaError', {- media: error.media || 'video',- name : error.name- });UI.messageHandler.showError("Error","Failed to obtain permissions to use the local microphone" +"and/or camera.");diff --git a/media_stream.js b/media_stream.jsdeleted file mode 100644index 348a258e5a..0000000000--- a/media_stream.js+++ /dev/null@@ -1,32 +0,0 @@-/**- * Provides a wrapper class for the MediaStream.- *- * TODO : Add here the src from the video element and other related properties- * and get rid of some of the mappings that we use throughout the UI.- */-var MediaStream = (function() {- /**- * Creates a MediaStream object for the given data, session id and ssrc.- *- * @param data the data object from which we obtain the stream,- * the peerjid, etc.- * @param sid the session id- * @param ssrc the ssrc corresponding to this MediaStream- *- * @constructor- */- function MediaStreamProto(data, sid, ssrc) {- this.stream = data.stream;- this.peerjid = data.peerjid;- this.ssrc = ssrc;- this.session = connection.jingle.sessions[sid];- this.type = (this.stream.getVideoTracks().length > 0)- ? MediaStream.VIDEO_TYPE : MediaStream.AUDIO_TYPE;- this.muted = false;- }-- return MediaStreamProto;-})();--MediaStream.VIDEO_TYPE = 'Video';-MediaStream.AUDIO_TYPE = 'Audio';\ No newline at end of filediff --git a/modules/RTC/RTCUtils.js b/modules/RTC/RTCUtils.jsindex 794a30cd26..0197eb1ffd 100644--- a/modules/RTC/RTCUtils.js+++ b/modules/RTC/RTCUtils.js@@ -280,10 +280,6 @@ RTCUtils.prototype.obtainAudioAndVideoPermissions = function() {var cb = function (stream) {console.log('got', stream, stream.getAudioTracks().length, stream.getVideoTracks().length);self.handleLocalStream(stream);- trackUsage('localMedia', {- audio: stream.getAudioTracks().length,- video: stream.getVideoTracks().length- });};var self = this;this.getUserMediaWithConstraints(@@ -296,10 +292,6 @@ RTCUtils.prototype.obtainAudioAndVideoPermissions = function() {cb,function (error) {console.error('failed to obtain audio/video stream - stop', error);- trackUsage('localMediaError', {- media: error.media || 'video',- name : error.name- });UI.messageHandler.showError("Error","Failed to obtain permissions to use the local microphone" +"and/or camera.");diff --git a/tracking.js b/tracking.jsdeleted file mode 100644index e0fcc5f19d..0000000000--- a/tracking.js+++ /dev/null@@ -1,13 +0,0 @@-(function () {--function trackUsage(eventname, obj) {- //console.log('track', eventname, obj);- // implement your own tracking mechanism here-}-if (typeof exports !== 'undefined') {- module.exports = trackUsage;-} else {- window.trackUsage = trackUsage;-}--})();