Commit Graph

16 Commits

Author SHA1 Message Date
kixelated fbd06da2ee
Expose the version VarInt (#77)
Useful for documentation. Right now it's:

```rust
pub const KIXEL_00: Version = _
```

This should probably be an enum too?
2023-09-18 17:24:35 -07:00
kixelated eaa8abcdc6
Better read/write error messages (#75)
Still need to properly support encode/decode though. The problem there
is that encode/decode uses AsyncRead, which means we get io::Error
instead of quinn::ReadError and quinn::WriteError. The io::Error type is
not clonable so we just can't use it, well unless it's wrapped in an Arc
or something gross.
2023-09-17 22:44:01 -07:00
kixelated 88542e266c
Major moq-transport API simplification (#68)
Exponentially easier to use moq-transport as there's no message handling required. This is a BREAKING CHANGE.
2023-09-15 12:06:28 -07:00
kixelated 8e3ebfcc7b
Remove the incompatible role check. (#58) 2023-08-29 15:30:21 -07:00
Mike English fdc05ffb99
moq-transport: Make Messages and Objects Clone (#57) 2023-08-29 00:59:30 -04:00
kixelated 5c3f794053
A few minor changes to the API. (#52)
The only salvagable remains from a multi-day refactoring effort. The
main benefit is that Setup messages are no longer part of the Message
enum, so match will be a lot easier.
2023-08-23 15:28:27 -07:00
kixelated c5d8873e4e
Webtransport generic (#51)
Switched to the webtransport-generic crate so quinn or quiche (with
adapter) can be used. This also involved switching out the
decoder/encoder since it meant a wrapper was required.
2023-08-15 10:20:03 -07:00
kixelated 891d6b167b
Remove the file source, since it doesn't loop. (#47)
ffmpeg -> moq-warp coming soon
2023-07-21 21:03:09 -07:00
kixelated 52d3fc81be
Switch to webtransport-quinn (#44) 2023-07-19 18:04:45 -07:00
kixelated 7c3eae0a7a
Make moq-transport generic. (#41)
The API is now synchronous and any quinn stuff has been moved to another
package. The quinn stuff will be slowly moved into moq-transport with
generic traits.
2023-07-08 09:13:29 -07:00
Mike English 3c43eed8bd
Dual license (#40)
License under either MIT or Apache 2.0 at licensees' choice.

Offering the option of MIT allows for GPL compatibility, but we can also
allow licensees to choose Apache 2.0 if they prefer.

This is common practice for many Rust projects.
2023-07-05 14:55:40 -07:00
kixelated b77a64c6f3
Change license to MIT. (#39) 2023-06-26 23:30:13 -07:00
kixelated 56adbf89f5
Relay support (#38)
Untested for contribution while I work on JS stuff.
2023-06-26 11:51:06 -07:00
kixelated 3daa2f4812
Cargo layout (#36)
Combine moq-transport and moq-media into one crate again. 

I might regret this because moq is taken on crates.io.
2023-06-16 20:36:07 -07:00
kixelated 4c04fbf2b8
Varint as an explicit type (#35) 2023-06-16 19:52:52 -07:00
kixelated d7872ef77d
Implement (forked) moq-transport-00 (#34)
Not backwards compatible.

JS side: https://github.com/kixelated/moq-js/pull/14
2023-06-16 11:38:19 -07:00