1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 05:10:54 +02:00

WebRTC offers multiple quality

This commit is contained in:
Yohann D'ANELLO
2020-10-29 00:10:25 +01:00
parent 9e7e1ec0b8
commit 86dac0f929
7 changed files with 121 additions and 88 deletions

View File

@ -14,7 +14,7 @@ export function initViewerPage(stream, stunServers, viewersCounterRefreshPeriod)
const viewer = document.getElementById("viewer");
// Default quality
let quality = "source";
let quality = "240p";
// Create WebSocket and WebRTC
const websocket = new GsWebSocket();