From 8fe28dc941f63b39a01adde732e57f30739919f2 Mon Sep 17 00:00:00 2001 From: Rohan Sharma Date: Wed, 7 Jul 2021 06:16:52 +0530 Subject: [PATCH] remove the unnecessary websocket connection from the embed player (#1165) --- webroot/js/app-video-only.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/webroot/js/app-video-only.js b/webroot/js/app-video-only.js index 2dd4c86ee..8a284876f 100644 --- a/webroot/js/app-video-only.js +++ b/webroot/js/app-video-only.js @@ -5,13 +5,6 @@ const html = htm.bind(h); import VideoPoster from './components/video-poster.js'; import { OwncastPlayer } from './components/player.js'; -// We count viewers by concurrent websocket connections. -// So for now let's make a connection just so it can -// be counted. -// https://github.com/owncast/owncast/discussions/374 -import Websocket from './utils/websocket.js'; -const websocket = new Websocket(); - import { addNewlines, makeLastOnlineString,