From c59abb792391e2f7540a80bb8d989021fe0a5b80 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 15 Apr 2025 13:54:52 +0200 Subject: refactor jsp, part 1 --- common/src/stream.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/src/stream.rs') diff --git a/common/src/stream.rs b/common/src/stream.rs index 9fd7daf..ba91ff5 100644 --- a/common/src/stream.rs +++ b/common/src/stream.rs @@ -191,6 +191,11 @@ impl StreamSpec { index: get_num("index")? as IndexNum, container: get_container()?, }) + } else if query.contains_key("fragmentindex") { + Ok(Self::FragmentIndex { + segment: get_num("segment")? as SegmentNum, + track: get_num("track")? as TrackNum, + }) } else { Err("invalid stream spec") } -- cgit v1.2.3-70-g09d2