From cb69a1123cc36c792cb0993ae46c3700a7391a62 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 1 Feb 2021 07:48:50 +0100 Subject: Stabilize build scripts --- .../0001-Disable-legacy-parameters.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app/jitsi/build/jitsi-videobridge/0001-Disable-legacy-parameters.patch (limited to 'app/jitsi/build/jitsi-videobridge/0001-Disable-legacy-parameters.patch') diff --git a/app/jitsi/build/jitsi-videobridge/0001-Disable-legacy-parameters.patch b/app/jitsi/build/jitsi-videobridge/0001-Disable-legacy-parameters.patch new file mode 100644 index 0000000..69b83c0 --- /dev/null +++ b/app/jitsi/build/jitsi-videobridge/0001-Disable-legacy-parameters.patch @@ -0,0 +1,31 @@ +From b327e580ab83110cdb52bc1d11687a096b8fc1df Mon Sep 17 00:00:00 2001 +From: Quentin Dufour +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) { + // 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 + -- cgit v1.2.3