From ec402ef69a9b41401b0b8868e04a5731bca222d4 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Wed, 9 Jun 2021 22:26:54 +0300 Subject: janus ipv6 --- PKGBUILD | 2 +- configs/janus/janus.jcfg | 2 ++ web/share/js/kvm/stream.js | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index e2a52830..794edab1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -72,7 +72,7 @@ depends=( iproute2 dnsmasq ipmitool - janus-gateway-pikvm + "janus-gateway-pikvm>=0.11.2-7" "raspberrypi-io-access>=0.5" "ustreamer>=3.20" diff --git a/configs/janus/janus.jcfg b/configs/janus/janus.jcfg index 456f869d..7f6985f8 100644 --- a/configs/janus/janus.jcfg +++ b/configs/janus/janus.jcfg @@ -6,6 +6,8 @@ nat: { ignore_mdns = true } media: { + ipv6 = true + ipv6_linklocal = true min_nack_queue = 2000 rtp_port_range = "20000-40000" no_media_timer = 0 diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js index a734e8df..679f21ae 100644 --- a/web/share/js/kvm/stream.js +++ b/web/share/js/kvm/stream.js @@ -74,6 +74,7 @@ function _JanusStreamer(__setActive, __setInactive, __setInfo) { __logInfo("Starting Janus ..."); __janus = new _Janus({ server: `${tools.https ? "wss" : "ws"}://${location.host}/janus/ws`, + ipv6: true, destroyOnUnload: false, success: __attachJanus, error: function(error) { -- cgit v1.2.3