21 Commits

Author SHA1 Message Date
Zoe Roux
dd9e0b4fc7 Prevent unnecesarry future head creation 2024-01-20 00:29:39 +01:00
Zoe Roux
6c9a0ea576 Fix out of range segment for last segment 2024-01-20 00:29:39 +01:00
Zoe Roux
995f50cc21 Use better permission masks for folders 2024-01-19 22:00:29 +01:00
Zoe Roux
0517f85d76 Fix out of range segment checking for future segments 2024-01-19 22:00:29 +01:00
Zoe Roux
43ba1bb449 Start new transcode if next segments are not ready 2024-01-18 13:32:06 +01:00
Zoe Roux
d630f29753 Fix timing issue with cleanup 2024-01-18 13:32:06 +01:00
Zoe Roux
ca6ec6a8ed Track and kill orphaned heads 2024-01-18 13:32:06 +01:00
Zoe Roux
efe07e39c2 Create a client tracker to delete old streams 2024-01-18 13:32:06 +01:00
Zoe Roux
bc61c2e0ff Fix stream proximity check 2024-01-18 13:32:06 +01:00
Zoe Roux
afacf61fbc Add audio streams 2024-01-18 13:32:06 +01:00
Zoe Roux
677cab6a57 Fix a lot of bugs 2024-01-18 13:32:06 +01:00
Zoe Roux
9df5eb4758 Rework vstream handle 2024-01-18 13:32:06 +01:00
Zoe Roux
f04d1dcf1e Fix ready check for segments blocking 2024-01-18 13:32:06 +01:00
Zoe Roux
aef30fecaa Add a kill command on streams 2024-01-18 13:32:06 +01:00
Zoe Roux
5f33172297 Kill streams that starts reencoding already read files 2024-01-18 13:32:06 +01:00
Zoe Roux
23feea4acc Use channels to wait for segments to become ready 2024-01-18 13:32:06 +01:00
Zoe Roux
e9738c2bc1 Add encoder heads 2024-01-18 13:32:06 +01:00
Zoe Roux
e5954712e2 Save processed segments in the stream 2024-01-18 13:32:06 +01:00
Zoe Roux
5d47a28ba6 Rename stream struct 2024-01-18 13:32:06 +01:00
Zoe Roux
049965cdc9 Add ffmpeg command building 2024-01-18 13:32:06 +01:00
Zoe Roux
68304af99e Allow transcoder to run concurently 2024-01-18 13:32:06 +01:00