We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8821c1 commit bc248f1Copy full SHA for bc248f1
src/main/webapp/player.html
@@ -181,6 +181,13 @@ <h3 class="col text-muted">
181
}
182
});
183
184
+ var signaling = getUrlParameter("signaling");
185
+ if (signaling == "true") {
186
+ signaling = true;
187
+ }
188
+ else {
189
+ signaling = false;
190
191
192
var subscriberId = getUrlParameter("subscriberId");
193
var subscriberCode = getUrlParameter("subscriberCode");
@@ -327,6 +334,11 @@ <h3 class="col text-muted">
327
334
if (location.protocol.startsWith("https")) {
328
335
websocketURL = "wss://" + path;
329
336
337
+
338
+ if (signaling) {
339
+ //add signaling suffix to the websocket URL
340
+ websocketURL += "/signaling";
341
330
342
331
343
const ctx = document.getElementById('fpsChart').getContext('2d');
332
344
const fpsChart = new Chart(ctx, {
0 commit comments