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

This commit is contained in:
Rohan Sharma
2021-07-07 06:16:52 +05:30
committed by GitHub
parent 2aff63d73f
commit 8fe28dc941

View File

@@ -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,