aboutsummaryrefslogtreecommitdiff
path: root/stream
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-06-03 13:28:25 +0200
committermetamuffin <metamuffin@disroot.org>2025-06-03 13:28:25 +0200
commitd205173acdd721d581a88fe4788d1ec64b9c2055 (patch)
tree60091001cc36075bf18ed2411bac1663c4a45b17 /stream
parent0bfac6434601e8c4feac6d497df632ede15a7503 (diff)
downloadjellything-d205173acdd721d581a88fe4788d1ec64b9c2055.tar
jellything-d205173acdd721d581a88fe4788d1ec64b9c2055.tar.bz2
jellything-d205173acdd721d581a88fe4788d1ec64b9c2055.tar.zst
stream query short format
Diffstat (limited to 'stream')
-rw-r--r--stream/src/fragment.rs3
-rw-r--r--stream/src/lib.rs2
2 files changed, 3 insertions, 2 deletions
diff --git a/stream/src/fragment.rs b/stream/src/fragment.rs
index 205c302..49817ca 100644
--- a/stream/src/fragment.rs
+++ b/stream/src/fragment.rs
@@ -84,6 +84,9 @@ pub async fn fragment_stream(
}
});
}
+ StreamContainer::JVTT => {
+
+ }
_ => bail!("not yet supported"),
}
} else {
diff --git a/stream/src/lib.rs b/stream/src/lib.rs
index 8352eaf..9c62ac8 100644
--- a/stream/src/lib.rs
+++ b/stream/src/lib.rs
@@ -75,8 +75,6 @@ pub fn stream_head(spec: &StreamSpec) -> StreamHead {
StreamContainer::MPEG4 => "video/mp4",
};
match spec {
- StreamSpec::Whep { .. } => cons("application/x-todo", false),
- StreamSpec::WhepControl { .. } => cons("application/x-todo", false),
StreamSpec::Remux { container, .. } => cons(container_ct(*container), true),
StreamSpec::Original { .. } => cons("video/x-matroska", true),
StreamSpec::HlsSuperMultiVariant { .. } => cons("application/vnd.apple.mpegurl", false),