summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-06-09 22:26:54 +0300
committerDevaev Maxim <[email protected]>2021-06-09 22:26:54 +0300
commitec402ef69a9b41401b0b8868e04a5731bca222d4 (patch)
tree83fb20f48c53b5fc62bbf7ab86f6b111bcd2832b
parent6489b2f63e3c0c3181f1356af6f7fb3a8e98a8a2 (diff)
janus ipv6
-rw-r--r--PKGBUILD2
-rw-r--r--configs/janus/janus.jcfg2
-rw-r--r--web/share/js/kvm/stream.js1
3 files changed, 4 insertions, 1 deletions
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) {