Allow transcoder to run concurently

This commit is contained in:
2024-01-12 01:17:27 +01:00
parent 8805f0f804
commit 68304af99e
7 changed files with 48 additions and 23 deletions

9
transcoder/src/stream.go Normal file
View File

@@ -0,0 +1,9 @@
package src
type TranscodeStream struct {
File FileStream
Clients []string
// true if the segment at given index is completed/transcoded, false otherwise
segments []bool
// TODO: add ffmpeg process
}