mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2026-01-29 13:32:12 -05:00
try to fix chromium running out of ram
This commit is contained in:
parent
5c998c5f3a
commit
31a1a3bb34
3 changed files with 8 additions and 2 deletions
|
|
@ -51,7 +51,7 @@
|
|||
pathData = newData;
|
||||
setTimeout(() => {
|
||||
for (const video in videos) {
|
||||
const hlsInstance = new hls({ progressive: false });
|
||||
const hlsInstance = new hls({ backBufferLength: 2 });
|
||||
hlsInstance.loadSource(
|
||||
`http://localhost:8888/${video}/index.m3u8`,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue