diff options
Diffstat (limited to 'stream/src')
| -rw-r--r-- | stream/src/fragment.rs | 1 | ||||
| -rw-r--r-- | stream/src/lib.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/stream/src/fragment.rs b/stream/src/fragment.rs index 6902d77..62bb0b6 100644 --- a/stream/src/fragment.rs +++ b/stream/src/fragment.rs @@ -123,6 +123,7 @@ pub fn fragment_stream( if !format.remux { segment = transcode( &sinfo.cache, + &sinfo.config.transcoder, track.kind, &format!("{}-T{track_num}-I{index}", HashKey(media_path)), format, diff --git a/stream/src/lib.rs b/stream/src/lib.rs index 1407643..a94f4c7 100644 --- a/stream/src/lib.rs +++ b/stream/src/lib.rs @@ -37,6 +37,7 @@ pub struct Config { #[serde(default)] pub offer_vp8: bool, #[serde(default)] pub offer_vp9: bool, #[serde(default)] pub offer_av1: bool, + pub transcoder: jellytranscoder::Config, } pub struct SMediaInfo { |