aboutsummaryrefslogtreecommitdiff
path: root/stream/src/hls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stream/src/hls.rs')
-rw-r--r--stream/src/hls.rs6
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,