mirror of
https://github.com/owncast/owncast.git
synced 2024-11-28 11:09:01 +03:00
Remove rougue import
This commit is contained in:
parent
babbcecc9c
commit
689b6feef2
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,10 @@
|
|||
async function listenForErrors(browser, page) {
|
||||
const ignoredErrors = ['ERR_ABORTED', 'MEDIA_ERR_SRC_NOT_SUPPORTED', '404'];
|
||||
const ignoredErrors = [
|
||||
'ERR_ABORTED',
|
||||
'MEDIA_ERR_SRC_NOT_SUPPORTED',
|
||||
'404',
|
||||
'JSHandle@error',
|
||||
];
|
||||
|
||||
// Emitted when the page emits an error event (for example, the page crashes)
|
||||
page.on('error', (error) => {
|
||||
|
|
|
@ -4,7 +4,6 @@ import videojs from '/js/web_modules/videojs/dist/video.min.js';
|
|||
import { getLocalStorage, setLocalStorage } from '../utils/helpers.js';
|
||||
import { PLAYER_VOLUME, URL_STREAM } from '../utils/constants.js';
|
||||
import PlaybackMetrics from '../metrics/playback.js';
|
||||
import LatencyCompensator from './latencyCompensator.js';
|
||||
|
||||
const VIDEO_ID = 'video';
|
||||
|
||||
|
|
Loading…
Reference in a new issue