From 5c057b90893031f7f24cd6f91b688ed60e46c70f Mon Sep 17 00:00:00 2001 From: Greg Fodor Date: Fri, 20 Mar 2020 00:46:56 +0000 Subject: [PATCH] Use temporary gfodor libnice fork which is master compatible with glibc 2.50, and also set fixed # of event loop threads to 64 --- plans/janus-gateway/habitat/config/janus.cfg | 1 + plans/libnice/habitat/plan.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plans/janus-gateway/habitat/config/janus.cfg b/plans/janus-gateway/habitat/config/janus.cfg index 335acfe..e0fcc3e 100644 --- a/plans/janus-gateway/habitat/config/janus.cfg +++ b/plans/janus-gateway/habitat/config/janus.cfg @@ -4,6 +4,7 @@ ; and, if needed, shared apisecret and/or token authentication mechanism ; between application(s) and Janus. [general] +event_loops = 64 configs_folder = {{ pkg.svc_config_path }} plugins_folder = {{ pkg.path }}/lib/janus/plugins ; Plugins folder transports_folder = {{ pkg.path }}/lib/janus/transports ; Transports folder diff --git a/plans/libnice/habitat/plan.sh b/plans/libnice/habitat/plan.sh index 336d103..e2dd46c 100644 --- a/plans/libnice/habitat/plan.sh +++ b/plans/libnice/habitat/plan.sh @@ -62,7 +62,7 @@ do_download() { pushd $HAB_CACHE_SRC_PATH - git-get libnice/libnice 563bee297bf29b73d8e2d7ebe68505e11a087276 + git-get gfodor/libnice 9a0607732902c2024960886a952edc8b9e3e5f77 popd } @@ -72,7 +72,7 @@ do_strip() { } do_build() { - pushd $HAB_CACHE_SRC_PATH/libnice/libnice + pushd $HAB_CACHE_SRC_PATH/gfodor/libnice libtoolize @@ -101,7 +101,7 @@ do_build() { } do_install() { - pushd $HAB_CACHE_SRC_PATH/libnice/libnice + pushd $HAB_CACHE_SRC_PATH/gfodor/libnice do_default_install