Commit graph

89 commits

Author SHA1 Message Date
dbbec0954a switch to BROKEN const delcration when error in data loop 2023-09-23 20:45:07 +05:00
abe6337dc2 tunnel deletion on shutdown fix 2023-09-23 20:44:20 +05:00
fb39b051db successful encryption 2023-09-23 20:36:22 +05:00
15bd8578df basic encryption key material handling 2023-09-23 19:12:56 +05:00
c41b00ccfa handle ts segment write errors 2023-09-23 16:37:49 +05:00
9d7a57745f store aes key len as full not /4 value 2023-09-23 16:37:31 +05:00
074222e8ac skip initial deletion if init.mp4 doesn't exist 2023-09-22 15:16:54 +05:00
c957c29188 comments 2023-09-22 14:58:33 +05:00
25ce4427e6 Updated README 2023-09-22 14:58:26 +05:00
e8a9573b7b run cleanup when shutdown received 2023-09-22 13:13:17 +05:00
e05180baf3 old file deletion 2023-09-22 12:54:50 +05:00
77c36a689a Pipe to transcoder instead of file 2023-09-22 12:33:55 +05:00
96b9895735 Removed client caching, fix for old video having mismatched codecs with new 2023-09-22 12:33:31 +05:00
1cc2a1e3f4 TLPKTDROP, serial arithmetic refactoring 2023-09-22 11:22:13 +05:00
c2d9ebbeb4 file writing, lost packet handling 2023-09-21 16:11:27 +05:00
e1852b6ae0 stream key checking 2023-09-21 13:36:11 +05:00
cbf372b0f4 ack report with correct metadata 2023-09-21 12:40:16 +05:00
32f414e19d basic data packet handling 2023-09-20 15:06:32 +05:00
19c601e9be Added conclusion hs handling 2023-09-19 15:14:13 +05:00
2aa08bad18 Added packet writing, induction hs handling 2023-09-19 14:14:50 +05:00
d517877720 Packet-byte handling, protocol struct to handle protocol states 2023-09-18 12:28:04 +05:00
184dac910a Basic UDP tunneling intake 2023-09-18 11:51:55 +05:00
53af3d325f Moved transcoder command creation to separate package entirely 2023-09-08 14:56:21 +05:00
8be70f035b to run with custom hls-player instead of hls.js 2023-08-24 15:20:30 +05:00
6677ec6afd added readme 2023-08-24 14:40:57 +05:00
33fc16f38c change cleanup to check for active stream (prevents segment wipe on reconnect) 2023-08-24 12:51:12 +05:00
82a426ef49 h264 keyframe fix to keep desired hls segment length 2023-08-22 15:08:55 +05:00
355b1bfa77 fix for weird obs bug with chunkstream ids on rapid i3 workspace switching (maybe also alt+tabs?) 2023-08-22 14:59:17 +05:00
7b5021f8d2 switch to fragmented mp4 from ts 2023-08-22 14:58:01 +05:00
699666695e Comments 2023-08-21 20:25:54 +05:00
21fc4a5816 Now adds EXT-X-PROGRAM-DATE-TIME to m3u8 for player syncing 2023-08-21 18:44:12 +05:00
e026a83d06 Proper deferred stream state flip on connection break 2023-08-21 18:43:35 +05:00
880d010989 file serving implemented, video served with hls.js 2023-08-21 15:11:19 +05:00
14336095ea shorten playlist size, use stream key to construct uri for http server 2023-08-21 15:10:07 +05:00
223bbf40f7 add static html for stream page, m3u8 file sending 2023-08-21 13:02:06 +05:00
d39763a2e0 switch to std lib http handler 2023-08-21 12:39:38 +05:00
72948ff24c basic http server setup 2023-08-21 12:22:20 +05:00
Muaz Ahmad
5941184ada auto-clean stream directory at start of new stream and after 1m at end of stream, holy shit it just works 2023-08-18 16:26:06 +05:00
Muaz Ahmad
f80e86fcf6 pipe flv to ffmpeg hls segmentation 2023-08-18 15:50:24 +05:00
Muaz Ahmad
f165efcdc2 Audio+video handling, break data loop on command message since it should only ever be an unpublish if working correctly, or exit anyway for non-proper protocol 2023-08-18 14:43:52 +05:00
Muaz Ahmad
5a21ef83d2 Also write tag size at end 2023-08-18 14:21:31 +05:00
Muaz Ahmad
fc4560076c metadata handling, errors for invalid message type but successful read, flv byte write index removed since unneeded 2023-08-18 13:24:54 +05:00
Muaz Ahmad
cbf1492b0e flv stream data handling, temporary dump to a file instead of ffmpeg 2023-08-18 12:48:05 +05:00
Muaz Ahmad
050e8b104f basic data loop handle (placeholder) 2023-08-17 16:35:06 +05:00
Muaz Ahmad
70d7ba474e add publish handling, refactor command for easier value checking 2023-08-17 15:01:12 +05:00
Muaz Ahmad
10089f4f25 add server publish checking 2023-08-17 14:58:07 +05:00
Muaz Ahmad
579bf2e195 read and write publishing, check stream key validity (if dir exists) 2023-08-17 14:57:30 +05:00
Muaz Ahmad
f6e23abbaf msg stream id little-endian fix 2023-08-17 13:28:00 +05:00
Muaz Ahmad
4f4a896b84 Finish stream creation response 2023-08-15 17:46:41 +05:00
Muaz Ahmad
9f0cf39b3b Process and check create stream command, store transaction id 2023-08-15 15:55:41 +05:00