Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Remove unused files

hristoterezovce43ce4cd8c4
diff --git a/modules/DTMF/DTMF.js b/modules/DTMF/DTMF.js
deleted file mode 100644
index e4ce2057cb..0000000000
--- a/modules/DTMF/DTMF.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/* global APP */
-
-/**
- * A module for sending DTMF tones.
- */
-var DTMFSender;
-var initDtmfSender = function() {
- // TODO: This needs to reset this if the peerconnection changes
- // (e.g. the call is re-made)
- if (DTMFSender)
- return;
-
- var localAudio = APP.RTC.localAudio;
- if (localAudio && localAudio.getTracks().length > 0)
- {
- var peerconnection
- = APP.xmpp.getConnection().jingle.activecall.peerconnection;
- if (peerconnection) {
- DTMFSender =
- peerconnection.peerconnection
- .createDTMFSender(localAudio.getTracks()[0]);
- console.log("Initialized DTMFSender");
- }
- else {
- console.log("Failed to initialize DTMFSender: no PeerConnection.");
- }
- }
- else {
- console.log("Failed to initialize DTMFSender: no audio track.");
- }
-};
-
-var DTMF = {
- sendTones: function (tones, duration, pause) {
- if (!DTMFSender)
- initDtmfSender();
-
- if (DTMFSender){
- DTMFSender.insertDTMF(tones,
- (duration || 200),
- (pause || 200));
- }
- }
-};
-
-module.exports = DTMF;
-
diff --git a/modules/UI/avatar/Avatar.js b/modules/UI/avatar/Avatar.js
index c003c78494..699d719312 100644
--- a/modules/UI/avatar/Avatar.js
+++ b/modules/UI/avatar/Avatar.js
@@ -1,6 +1,4 @@
/* global Strophe, APP, MD5, config */
-var Settings = require("../../settings/Settings");
-
var users = {};
var Avatar = {
diff --git a/service/RTC/MediaStreamTypes.js b/service/RTC/MediaStreamTypes.js
deleted file mode 100644
index 3cd41d17c3..0000000000
--- a/service/RTC/MediaStreamTypes.js
+++ /dev/null
@@ -1,6 +0,0 @@
-var MediaStreamType = {
- VIDEO_TYPE: "video",
-
- AUDIO_TYPE: "audio"
-};
-module.exports = MediaStreamType;
\ No newline at end of file
diff --git a/service/RTC/Resolutions.js b/service/RTC/Resolutions.js
deleted file mode 100644
index 877ffe96ee..0000000000
--- a/service/RTC/Resolutions.js
+++ /dev/null
@@ -1,53 +0,0 @@
-var Resolutions = {
- "1080": {
- width: 1920,
- height: 1080,
- order: 7
- },
- "fullhd": {
- width: 1920,
- height: 1080,
- order: 7
- },
- "720": {
- width: 1280,
- height: 720,
- order: 6
- },
- "hd": {
- width: 1280,
- height: 720,
- order: 6
- },
- "960": {
- width: 960,
- height: 720,
- order: 5
- },
- "640": {
- width: 640,
- height: 480,
- order: 4
- },
- "vga": {
- width: 640,
- height: 480,
- order: 4
- },
- "360": {
- width: 640,
- height: 360,
- order: 3
- },
- "320": {
- width: 320,
- height: 240,
- order: 2
- },
- "180": {
- width: 320,
- height: 180,
- order: 1
- }
-};
-module.exports = Resolutions;
\ No newline at end of file