Browse Source

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

pull/1168/head
Rohan Sharma 4 years ago committed by GitHub
parent
commit
8fe28dc941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      webroot/js/app-video-only.js

7
webroot/js/app-video-only.js

@ -5,13 +5,6 @@ const html = htm.bind(h); @@ -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,

Loading…
Cancel
Save