Serve catalog, add Tracks, add Fragments

This commit is contained in:
Wanjohi
2024-01-01 14:01:00 +03:00
parent 58cf78990d
commit 1f2e3a3565
3 changed files with 259 additions and 65 deletions

34
Cargo.lock generated
View File

@@ -464,6 +464,12 @@ dependencies = [
"percent-encoding",
]
[[package]]
name = "four-cc"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3958af68a31b1d1384d3f39b6aa33eb14b6009065b5ca305ddd9712a4237124f"
[[package]]
name = "futures"
version = "0.3.30"
@@ -1106,6 +1112,21 @@ dependencies = [
"thiserror",
]
[[package]]
name = "mp4ra-rust"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be9daf03b43bf3842962947c62ba40f411e46a58774c60838038f04a67d17626"
dependencies = [
"four-cc",
]
[[package]]
name = "mpeg4-audio-const"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96a1fe2275b68991faded2c80aa4a33dba398b77d276038b8f50701a22e55918"
[[package]]
name = "muldiv"
version = "1.0.1"
@@ -1484,6 +1505,17 @@ version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
[[package]]
name = "rfc6381-codec"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4395f46a67f0d57c57f6a5361f3a9a0c0183a19cab3998892ecdc003de6d8037"
dependencies = [
"four-cc",
"mp4ra-rust",
"mpeg4-audio-const",
]
[[package]]
name = "ring"
version = "0.16.20"
@@ -2071,9 +2103,11 @@ dependencies = [
"moq-transport",
"mp4",
"quinn",
"rfc6381-codec",
"rustls",
"rustls-native-certs",
"rustls-pemfile",
"serde_json",
"tokio",
"toml_datetime",
"tracing",