feat: url, channelId and headers query param options

This commit is contained in:
Ante Brähler
2024-12-22 18:49:26 +01:00
parent 070fb5d48a
commit 1f03c298ef
3 changed files with 35 additions and 69 deletions

View File

@@ -74,7 +74,7 @@ function VideoPlayer({ channel, syncEnabled }: VideoPlayerProps) {
const tolerance = import.meta.env.VITE_SYNCHRONIZATION_TOLERANCE || 0.8;
const maxDeviation = import.meta.env.VITE_SYNCHRONIZATION_MAX_DEVIATION || 4;
var toastDurationSet = false;
let toastDurationSet = false;
hls.on(Hls.Events.MANIFEST_PARSED, (_event, _data) => {
if (channel.restream) {
const now = new Date().getTime();