aboutsummaryrefslogtreecommitdiff
path: root/stream/src/jhls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stream/src/jhls.rs')
-rw-r--r--stream/src/jhls.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/stream/src/jhls.rs b/stream/src/jhls.rs
index 600d945..e61e918 100644
--- a/stream/src/jhls.rs
+++ b/stream/src/jhls.rs
@@ -41,7 +41,10 @@ pub async fn jhls_stream(
&node.public,
match &track_sources[i] {
TrackSource::Local(x) => x,
- TrackSource::Remote => return Some(Err(anyhow!("das geht nicht"))),
+ // TODO fetch seek index from the remote and create a single session to be sent in jhls
+ TrackSource::Remote(_) => {
+ return Some(Err(anyhow!("remote tracks dont work yet")))
+ }
},
) {
Ok(segments) => Some(Ok::<_, anyhow::Error>(JhlsTrack {