aboutsummaryrefslogtreecommitdiff
path: root/stream/src/segment.rs
blob: ed4f5ef6db4f3c8703577dcc1aaf901b0673188c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
    This file is part of jellything (https://codeberg.org/metamuffin/jellything)
    which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
    Copyright (C) 2023 metamuffin <metamuffin.org>
*/
use jellycommon::{stream::StreamSpec, LocalTrack, Node};
use std::ops::Range;
use tokio::io::DuplexStream;

pub async fn stream_segment(
    node: Node,
    track_sources: Vec<LocalTrack>,
    spec: StreamSpec,
    range: Range<usize>,
    b: DuplexStream,
) {
    
}