aboutsummaryrefslogblamecommitdiff
path: root/app/jitsi/build/jitsi-videobridge/0001-Disable-legacy-parameters.patch
blob: 69b83c0c008575749dc3487209a8df1419565fb3 (plain) (tree)






























                                                                                                                  
From b327e580ab83110cdb52bc1d11687a096b8fc1df Mon Sep 17 00:00:00 2001
From: Quentin Dufour <quentin@dufour.io>
Date: Mon, 1 Feb 2021 07:16:50 +0100
Subject: [PATCH] Disable legacy parameters

---
 jvb/src/main/kotlin/org/jitsi/videobridge/Main.kt | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/jvb/src/main/kotlin/org/jitsi/videobridge/Main.kt b/jvb/src/main/kotlin/org/jitsi/videobridge/Main.kt
index df71f480..8f0ef9a5 100644
--- a/jvb/src/main/kotlin/org/jitsi/videobridge/Main.kt
+++ b/jvb/src/main/kotlin/org/jitsi/videobridge/Main.kt
@@ -62,14 +62,6 @@ fun main(args: Array<String>) {
     //  to be passed.
     System.setProperty("org.eclipse.jetty.util.log.class", "org.eclipse.jetty.util.log.JavaUtilLog")
 
-    // Before initializing the application programming interfaces (APIs) of
-    // Jitsi Videobridge, set any System properties which they use and which
-    // may be specified by the command-line arguments.
-    System.setProperty(
-        Videobridge.REST_API_PNAME,
-        cmdLine.getOptionValue("--apis").contains(Videobridge.REST_API).toString()
-    )
-
     // Reload the Typesafe config used by ice4j, because the original was initialized before the new system
     // properties were set.
     JitsiConfig.reloadNewConfig()
-- 
2.25.1