Skip to content

Commit

Permalink
Remove the enforced timelimit on streams
Browse files Browse the repository at this point in the history
  • Loading branch information
tomouchuu committed Oct 9, 2023
1 parent 9aa9df8 commit 48fdd42
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-countries-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@haishin/backend': patch
---

Remove the enforced timelimit on streams
14 changes: 7 additions & 7 deletions apps/backend/src/stream/workers/restream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ async function restream(streamInfo: StreamInfo): Promise<void> {
})

// 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 = [
Expand Down

0 comments on commit 48fdd42

Please sign in to comment.