Commit graph

35 commits

Author SHA1 Message Date
Muaz Ahmad
a38fbea911 Basic create stream handle, void releasestream and fcpublish calls since no doc, and only going to accept stream data anyway 2023-08-15 15:29:46 +05:00
Muaz Ahmad
83c61128d8 Remove pointless pointer ref for a single string 2023-08-15 14:34:48 +05:00
Muaz Ahmad
881cbe28f8 Pass successful connect return 2023-08-15 14:27:54 +05:00
Muaz Ahmad
ae9bb63d04 Complete encoding of main types 2023-08-15 14:27:28 +05:00
Muaz Ahmad
a526753112 Add null parsing 2023-08-15 14:27:00 +05:00
Muaz Ahmad
7311b761b2 Fixed cyclic package dep 2023-08-15 13:16:38 +05:00
Muaz Ahmad
d1b5ade036 Added connect response writing 2023-08-15 12:32:44 +05:00
Muaz Ahmad
a070e0c952 Added chunk size and bandwidth write to peer 2023-08-13 14:43:07 +05:00
Muaz Ahmad
94bd146e77 Basic msg chunking and writing 2023-08-13 14:31:04 +05:00
Muaz Ahmad
d90127def6 Try writing chunks, start with window ack size msg 2023-08-13 14:30:39 +05:00
Muaz Ahmad
dbc55a2880 Object read, root obj access fix 2023-08-12 02:18:03 +05:00
Muaz Ahmad
369a7c40f4 Added number, bool and string amf decoding 2023-08-11 15:51:46 +05:00
Muaz Ahmad
74d95d4769 Basic root and number AMF decoding 2023-08-11 15:22:25 +05:00
Muaz Ahmad
ca36226491 Stream key not involved until publish stage, just check if proper command and app 2023-08-11 15:21:49 +05:00
Muaz Ahmad
3d7e00169b Refactor command process to separate file 2023-08-11 13:12:12 +05:00
Muaz Ahmad
0c054b67c0 connect object processing, stream key checking 2023-08-11 13:09:36 +05:00
Muaz Ahmad
7782f14eb5 Add connect command read code, import amf package 2023-08-10 23:53:58 +05:00
Muaz Ahmad
ac5834a12e Add amf encoding package, test code 2023-08-10 23:53:23 +05:00
Muaz Ahmad
58d12652e5 Remove chunk size test code, add connect command test code 2023-08-10 23:52:52 +05:00
Muaz Ahmad
d5d5e71270 Added \"stream key\" to params storage 2023-08-10 23:51:54 +05:00
Muaz Ahmad
48c3bb1df4 Refactor, remove unused buffer and stream map init 2023-08-10 23:51:24 +05:00
Muaz Ahmad
c7ea01e3bd Force read peer chunk size message from client 2023-08-10 20:58:01 +05:00
Muaz Ahmad
5df64adcbd Refactor, wrapper around ReadChunk to manage structs 2023-08-10 20:34:10 +05:00
Muaz Ahmad
d5d2301cad Loop chunk read 2023-08-10 15:29:25 +05:00
Muaz Ahmad
510be80449 Store and init protocol parameters 2023-08-10 15:29:10 +05:00
Muaz Ahmad
05087ccbb3 Export ChunkBuffers, track bytes read in total 2023-08-10 15:28:43 +05:00
Muaz Ahmad
fabcecae43 Refactor to export structs chnk_stream and message 2023-08-10 13:58:57 +05:00
Muaz Ahmad
48029e0ee6 chunk format 3 handling 2023-08-10 13:24:06 +05:00
Muaz Ahmad
37e28d88d3 added chunk type 2 parse 2023-08-10 13:09:26 +05:00
Muaz Ahmad
bb98894fc3 Code refactoring, persistent chunk read bufs, type 1 chunks 2023-08-10 12:49:26 +05:00
Muaz Ahmad
45a06a10f7 chunk read fix, msg stream id read fix and open stream init func 2023-08-10 03:24:48 +05:00
Muaz Ahmad
5bc8a7affc Chunk read test 2023-08-10 03:24:00 +05:00
Muaz Ahmad
0998da8d87 Basic chunk reading, format 0 2023-08-10 01:02:54 +05:00
Muaz Ahmad
aafa00ecae Typo and type fix 2023-08-10 01:02:22 +05:00
Muaz Ahmad
b2c3ca552b Basic RTMP server+handshake 2023-08-09 16:00:21 +05:00