aboutsummaryrefslogtreecommitdiff
path: root/stream/src/fragment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stream/src/fragment.rs')
-rw-r--r--stream/src/fragment.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/src/fragment.rs b/stream/src/fragment.rs
index 17e7633..2dbc716 100644
--- a/stream/src/fragment.rs
+++ b/stream/src/fragment.rs
@@ -12,11 +12,12 @@ use jellycommon::{
};
use jellytranscoder::fragment::transcode;
use log::warn;
+use std::sync::Arc;
use tokio::{fs::File, io::DuplexStream};
use tokio_util::io::SyncIoBridge;
pub async fn fragment_stream(
- node: Node,
+ node: Arc<Node>,
local_tracks: Vec<LocalTrack>,
spec: StreamSpec,
mut b: DuplexStream,