diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-29 18:03:06 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-29 18:03:06 +0100 |
commit | db511d3fe50f05329615f718515fab1b80d9e06a (patch) | |
tree | 7969fea01be100cbe4385ad13a14940a987ac513 /stream/src/hls.rs | |
parent | 82e8a55a1496ae9132e13e7286fe1c0d57d586d3 (diff) | |
download | jellything-db511d3fe50f05329615f718515fab1b80d9e06a.tar jellything-db511d3fe50f05329615f718515fab1b80d9e06a.tar.bz2 jellything-db511d3fe50f05329615f718515fab1b80d9e06a.tar.zst |
no direct redb access
Diffstat (limited to 'stream/src/hls.rs')
-rw-r--r-- | stream/src/hls.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/src/hls.rs b/stream/src/hls.rs index 2203ee8..c09b77f 100644 --- a/stream/src/hls.rs +++ b/stream/src/hls.rs @@ -10,14 +10,14 @@ use jellycommon::{ stream::{StreamFormat, StreamSpec}, LocalTrack, Node, SourceTrackKind, }; -use std::{fmt::Write, ops::Range}; +use std::{fmt::Write, ops::Range, sync::Arc}; use tokio::{ io::{AsyncWriteExt, DuplexStream}, task::spawn_blocking, }; pub async fn hls_master_stream( - node: Node, + node: Arc<Node>, _local_tracks: Vec<LocalTrack>, _spec: StreamSpec, mut b: DuplexStream, @@ -50,7 +50,7 @@ pub async fn hls_master_stream( } pub async fn hls_variant_stream( - node: Node, + node: Arc<Node>, local_tracks: Vec<LocalTrack>, mut spec: StreamSpec, mut b: DuplexStream, |