Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion doc/bin/hls.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@ numbers for different media.
`--listen-tls-cert`/`--listen-tls-key` or `--listen-tls-generate` serve HTTPS,
and `--cors-origin` opens it to browsers.
H.264/H.265 and AAC/Opus renditions are served. Import handles classic HLS;
LL-HLS parts are not implemented yet. The library is
LL-HLS parts are not implemented yet. Import fetches only from the playlist's
origin (scheme, host, and port): a reference or redirect to another origin, such
as a separate CDN host, fails the import. The library is
[`moq-hls`](https://docs.rs/moq-hls).
1 change: 1 addition & 0 deletions rs/moq-hls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ tracing = { workspace = true }
url = { workspace = true }

[dev-dependencies]
futures = { workspace = true }
moq-tokio = { path = "../moq-tokio", default-features = false, features = ["tcp", "noq", "aws-lc-rs"] }
tokio = { workspace = true, features = ["test-util"] }
tower = { version = "0.5", features = ["util"] }
4 changes: 4 additions & 0 deletions rs/moq-hls/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ pub enum Error {
#[error("mux: {0}")]
Mux(#[from] moq_mux::Error),

/// An import resource or redirect hop left the playlist's origin, or the playlist uses an unsupported scheme.
#[error("resource is outside the playlist's origin")]
ResourceRefused,

/// A `file://` URL could not be turned back into a filesystem path.
#[error("invalid file URL")]
InvalidFileUrl,
Expand Down
Loading
Loading