Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

remove the unnecessary websocket connection from the embed player (#1165)

Rohan Sharmae4870ede5284
diff --git a/webroot/js/app-video-only.js b/webroot/js/app-video-only.js
index 2dd4c86eed..8a284876fa 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,