aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'common/src')
-rw-r--r--common/src/stream.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/src/stream.rs b/common/src/stream.rs
index 55f2f49..ca1ec29 100644
--- a/common/src/stream.rs
+++ b/common/src/stream.rs
@@ -54,6 +54,12 @@ pub enum StreamSpec {
container: StreamContainer,
format: FormatNum,
},
+ // Track {
+ // segment: SegmentNum,
+ // track: TrackNum,
+ // container: StreamContainer,
+ // foramt: FormatNum,
+ // },
}
#[derive(Debug, Clone, Deserialize, Serialize)]
@@ -171,6 +177,10 @@ impl StreamSpec {
Ok(Self::Info {
segment: get_num("segment").ok(),
})
+ } else if query.contains_key("hlssupermultivariant") {
+ Ok(Self::HlsSuperMultiVariant {
+ container: get_container().ok().unwrap_or(StreamContainer::Matroska),
+ })
} else if query.contains_key("hlsmultivariant") {
Ok(Self::HlsMultiVariant {
segment: get_num("segment")? as SegmentNum,