From a9d6f7ddb734eb2484d5270a4fc6033a34bbb835 Mon Sep 17 00:00:00 2001 From: Victor Nova Date: Tue, 20 Aug 2024 12:42:13 -0700 Subject: [PATCH] use NETWORK from query parameter `interlink` --- ts/home.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/home.ts b/ts/home.ts index 5b9bba6..a07ba3b 100644 --- a/ts/home.ts +++ b/ts/home.ts @@ -23,7 +23,7 @@ const videoContainer = document.querySelector('.video-container')!; const video = document.getElementById('stream')!; const videoBitrate = document.getElementById('video-bitrate'); -const NETWORK = null; +const NETWORK = new URLSearchParams(window.location.search).get('interlink'); let controlChannel: RTCDataChannel | null = null;