Commit Graph

49 Commits

Author SHA1 Message Date
Tangent Wantwight 884aa37888 convert Chunk to external iteration 2022-06-10 17:15:03 -04:00
Tangent Wantwight 3bc46210e4 Teach send subcommand to recognize --skip and --take options 2020-09-11 22:57:23 -04:00
Tangent Wantwight 43acf93fa9 Fuse ClusterHead & ClusterBody chunks into one chunk type
(there is still a technical body chunk variant for iteration purposes, but it won't be produced by the parser)
2020-09-11 20:34:40 -04:00
Tangent Wantwight 9cc7d8064d Represent Chunks as iterables of Bytes 2020-09-11 19:34:27 -04:00
Tangent Wantwight c422a1c3f3 Simplify/sanify some types 2020-05-08 22:02:49 -04:00
Tangent Wantwight 00ec517e78 Big-bang update tokio, warp, futures, & hyper to new versions. 2020-05-07 23:14:43 -04:00
Tangent Wantwight 9274fabeea impl Iterator for Chunk 2020-05-06 21:50:03 -04:00
Tangent Wantwight dbcbf2831e Remove unused (and soon-to-be meaningless) AsRef impl for ClusterHead 2019-11-28 11:09:02 -05:00
Tangent Wantwight 2400720d03 Use a Bytes[Mut] for all Chunk data 2019-11-28 00:17:52 -05:00
Tangent Wantwight 5e2e1bcf83 replace a number of intermediate states with a "pending" Option 2019-11-26 21:26:08 -05:00
Tangent Wantwight d563baaca8 normalize stream_parser poll to use modern future types 2019-11-17 01:19:30 -05:00
Tangent Wantwight e6d8b58492 prettify the chunker match blocks a bit 2019-11-16 15:46:25 -05:00
Tangent Wantwight d3b147f8ea Take advantage of NLL to be able to state-transition & return directly in chunker 2019-11-16 15:19:14 -05:00
Tangent 128 bc8e45936b Convert parser & chunker APIs to work with Futures 0.3-style streams 2019-10-21 03:18:51 -04:00
Tangent 128 eda2e4f7be Remove EbmlEventSource trait in favor of concrete EbmlStreamingParser 2019-10-21 01:20:14 -04:00
Tangent 128 87eaed9c82 cargo fix for Rust 2018 2019-07-07 18:17:38 -04:00
Tangent 128 b64e3f4bac use Bytes for shared buffers in WebM chunks 2018-10-21 01:53:16 -04:00
Tangent 128 14d468cc7d Update hyper to 0.12 2018-09-18 02:15:02 -04:00
Tangent 128 0e370556a2 add a little documentation re: soft buffer limits 2018-04-16 01:58:28 -04:00
Tangent 128 32cf6dd2ef Add buffer size limit to chunker 2018-04-16 01:16:03 -04:00
Tangent 128 2170096a21 Make WebmChunker use WebmetroError 2018-04-14 04:56:24 -04:00
Tangent 128 bac34e94c5 impl Error for error types 2018-04-12 02:07:46 -04:00
Tangent 128 4970603236 Drop unknown elements when building header 2018-04-09 22:52:01 -04:00
Tangent 128 adea1e4389 Remove unused generic parameter from Chunk 2018-04-09 17:53:32 -04:00
Tangent 128 b7ee425905 Tidy Stream extension trait impl 2018-04-07 01:09:17 -04:00
Tangent 128 7d4a26dad5 Make chunker handle additional headers (such as from concatenated files) 2018-04-05 20:14:10 -04:00
Tangent 128 6eca0b923d Zap unused lifetime 2018-04-05 19:59:39 -04:00
Tangent 128 409e6eb029 Make control flow of chunker state machine slightly clearer. 2018-04-05 19:58:21 -04:00
Tangent 128 7b9df1e269 Treat WebmElements as value types 2018-04-04 19:55:20 -04:00
Tangent 128 0909a20a8c generalize WebmEventSource -> EbmlEventSource 2018-04-03 23:23:19 -04:00
Tangent 128 12cd1bdd4b Debugging formatting 2018-04-02 20:11:54 -04:00
Tangent 128 56a7284e32 Focus on Webm case specifically to get working code
can retry generic EBML later
2018-04-02 18:37:47 -04:00
Tangent 128 d9e197ec7d Skip Info/Void in header for now 2018-03-30 02:26:52 -04:00
Tangent 128 86d047e217 Debug derives 2018-03-30 02:26:35 -04:00
Tangent 128 417cbf49c7 Create EbmlEventSource trait since Iterators/Streams can't return borrows 2018-03-30 01:33:13 -04:00
Tangent 128 f8db95e61e Make ClusterHead a first-class struct, simplifying a lot of enum wrangling 2018-03-28 00:31:58 -04:00
Tangent 128 972a88c35b Handle errors in chunking code in some fashion 2017-10-06 00:17:18 -04:00
Tangent 128 e0346ae30a leave mark-keyframes reminder in webm chunker 2017-10-04 02:10:58 -04:00
Tangent 128 639dc50c35 Implement chunking Clusters, including flushing the last one 2017-10-04 01:49:41 -04:00
Tangent 128 9c9db1c505 Better-adapt extend_timespan to its real use, observe_simpleblock_timecode 2017-10-04 01:48:33 -04:00
Tangent 128 0aa2f1cbdd Implement header chunking for chunk_webm() operator 2017-10-04 01:05:23 -04:00
Tangent 128 52c1843311 Add stub Webm chunking stream operator 2017-10-01 00:21:33 -04:00
Tangent 128 3e1bec93ee Fix tests for chunk.rs 2017-09-30 02:23:27 -04:00
Tangent 128 a7804891ae add chunk mutators/utilities 2017-09-29 00:12:49 -04:00
Tangent 128 031d32352a Fix dumping the whole cluster head buffer instead of the used portion 2017-09-29 00:07:56 -04:00
Tangent 128 7f214920ae switch Chunks to use Arcs 2017-09-28 22:11:27 -04:00
Tangent 128 c3f0de71fa Move Chunk timecode updating into the struct impl proper. 2017-09-25 01:41:56 -04:00
Tangent 128 27642f7b14 Make Chunk flexible in the type of backing buffer used 2017-09-25 00:22:41 -04:00
Tangent 128 0a18cb408f Create Chunk type for use in packaging WebM streams for clients. 2017-09-22 23:58:03 -04:00