aboutsummaryrefslogtreecommitdiff
path: root/stream
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-10-02 20:02:06 +0200
committermetamuffin <metamuffin@disroot.org>2023-10-02 20:02:06 +0200
commite25beb3e0c2531b09d8efd70e858396dcc631dd2 (patch)
tree917189b7e5e5363c830fbdabcb416e16623a6438 /stream
parent839c1e1490e7cd856e6ada1dcfd82f3d4505c89c (diff)
downloadjellything-e25beb3e0c2531b09d8efd70e858396dcc631dd2.tar
jellything-e25beb3e0c2531b09d8efd70e858396dcc631dd2.tar.bz2
jellything-e25beb3e0c2531b09d8efd70e858396dcc631dd2.tar.zst
add profiles to jhls
Diffstat (limited to 'stream')
-rw-r--r--stream/src/jhls.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/src/jhls.rs b/stream/src/jhls.rs
index d528c06..5183a26 100644
--- a/stream/src/jhls.rs
+++ b/stream/src/jhls.rs
@@ -42,6 +42,7 @@ pub async fn jhls_stream(
let out = serde_json::to_string(&JhlsMetadata {
tracks,
+ extra_profiles: CONF.transcoding_profiles.clone(),
duration: media.duration,
})?;
tokio::spawn(async move { b.write_all(out.as_bytes()).await });