Commit graph

127 commits

Author SHA1 Message Date
f3aa76243f Create stub main binary, using clap argument parser 2018-04-11 00:55:41 -04:00
2310aabe2f Rename crate to webmetro 2018-04-10 01:53:58 -04:00
4970603236 Drop unknown elements when building header 2018-04-09 22:52:01 -04:00
bf0f727b03 Stub out a one-channel video relay server 2018-04-09 21:00:51 -04:00
96f6ec8115 bit of debug support 2018-04-09 21:00:36 -04:00
075c840a46 Use Never type & add missing Transmitter::new() to channel.rs 2018-04-09 18:26:52 -04:00
adea1e4389 Remove unused generic parameter from Chunk 2018-04-09 17:53:32 -04:00
065e653f86 channel.rs: First stab at core of a relay server 2018-04-09 15:53:30 -04:00
ff8d4e9126 Break out "find starting point" fixer operator 2018-04-08 02:31:00 -04:00
b7ee425905 Tidy Stream extension trait impl 2018-04-07 01:09:17 -04:00
9ca384f9da streamline loop_server stream construction 2018-04-05 20:16:37 -04:00
7d4a26dad5 Make chunker handle additional headers (such as from concatenated files) 2018-04-05 20:14:10 -04:00
6eca0b923d Zap unused lifetime 2018-04-05 19:59:39 -04:00
409e6eb029 Make control flow of chunker state machine slightly clearer. 2018-04-05 19:58:21 -04:00
2bdbe21a73 Rename timecode_fixer to fixers 2018-04-04 20:26:02 -04:00
45e9054f36 Move redundant fixer implementation into example code 2018-04-04 20:19:28 -04:00
7b9df1e269 Treat WebmElements as value types 2018-04-04 19:55:20 -04:00
45012385c2 Tidy stream_parser 2018-04-04 19:46:28 -04:00
be92d04c09 rename EbmlStreamingParser to reflect genericity, change construction to Stream extension 2018-04-04 01:36:15 -04:00
8189794287 Tidy some imports 2018-04-04 01:21:13 -04:00
d0fd4d4bc9 Simplify EbmlIterator & EbmlSlice's next() methods, fix EbmlIterator generic
(they don't have dynamic buffers to worry about)
2018-04-04 01:18:56 -04:00
3a92da1883 Split apart iterator and slice modules 2018-04-04 00:43:32 -04:00
9686eb2713 Rename EbmlError 2018-04-04 00:16:35 -04:00
ee068bc887 Shrink EbmlSlice trait implementations 2018-04-04 00:12:55 -04:00
2db227c5f9 Cleanup, use EbmlSlice as name 2018-04-03 23:38:31 -04:00
0909a20a8c generalize WebmEventSource -> EbmlEventSource 2018-04-03 23:23:19 -04:00
413f7759c6 Make the buffer generic 2018-04-03 22:06:09 -04:00
c92273625e Cleanup poll_event's try_decode hack. 2018-04-03 21:19:46 -04:00
bebe593c30 Lifetime simplification reflecting probably-better understanding of them 2018-04-03 19:07:16 -04:00
724eabf326 Use WebmBuffer in loop_server 2018-04-02 20:12:26 -04:00
12cd1bdd4b Debugging formatting 2018-04-02 20:11:54 -04:00
c5a42afd32 Fix bug with WebmBuffer double-counting reads 2018-04-02 20:11:14 -04:00
c6ab5e8e89 Fix name collision 2018-04-02 20:10:50 -04:00
719b11dd01 Zap some generic code that wasn't going anywhere 2018-04-02 19:37:36 -04:00
90c1892668 Commonize some code for EbmlCursor 2018-04-02 19:12:28 -04:00
0e2e5ad48a Tidy cursor iteration module a little 2018-04-02 18:46:50 -04:00
56a7284e32 Focus on Webm case specifically to get working code
can retry generic EBML later
2018-04-02 18:37:47 -04:00
11bb7f4412 Fix EBML Source lifetimes, breaking the chunker 2018-04-02 13:55:13 -04:00
495ca0f555 Stream buffer/parser experiment, lifetime issues are snarling though 2018-03-31 21:36:47 -04:00
f385371bb9 Make loop server iteration count more flexible than a chain 2018-03-30 02:54:02 -04:00
00fc1fcb2a Correct the chunk-based timecode fixer 2018-03-30 02:44:42 -04:00
d9e197ec7d Skip Info/Void in header for now 2018-03-30 02:26:52 -04:00
86d047e217 Debug derives 2018-03-30 02:26:35 -04:00
a8fa279201 bump dependency versions 2018-03-30 01:43:44 -04:00
417cbf49c7 Create EbmlEventSource trait since Iterators/Streams can't return borrows 2018-03-30 01:33:13 -04:00
f8db95e61e Make ClusterHead a first-class struct, simplifying a lot of enum wrangling 2018-03-28 00:31:58 -04:00
cdcff869aa Replace Schema types with a FromEbml trait on the Element type
simplify lifetimes
2018-03-25 21:33:38 -04:00
972a88c35b Handle errors in chunking code in some fashion 2017-10-06 00:17:18 -04:00
0902a810e5 Use webm chunker operator in loop_server 2017-10-04 02:11:19 -04:00
e0346ae30a leave mark-keyframes reminder in webm chunker 2017-10-04 02:10:58 -04:00