diff --git a/.changeset/polite-countries-explain.md b/.changeset/polite-countries-explain.md new file mode 100644 index 0000000..f335313 --- /dev/null +++ b/.changeset/polite-countries-explain.md @@ -0,0 +1,5 @@ +--- +'@haishin/backend': patch +--- + +Remove the enforced timelimit on streams diff --git a/apps/backend/src/stream/workers/restream.ts b/apps/backend/src/stream/workers/restream.ts index 3300cfd..8d0b5c4 100644 --- a/apps/backend/src/stream/workers/restream.ts +++ b/apps/backend/src/stream/workers/restream.ts @@ -65,13 +65,13 @@ async function restream(streamInfo: StreamInfo): Promise { }) // For testing stop streamlink after 1 minutes - setTimeout( - () => { - console.log(`Killing streamlink process for ${streamInfo.originalUrl}...`) - streamLinkProcess.kill() - }, - 1000 * 60 * 1 - ) + // setTimeout( + // () => { + // console.log(`Killing streamlink process for ${streamInfo.originalUrl}...`) + // streamLinkProcess.kill() + // }, + // 1000 * 60 * 1 + // ) // Use ffmpeg to restream the stream const ffmpegArgs = [