From 6b6d8e175fcddc369081fce93e932466c228a65c Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sun, 3 Jul 2022 11:17:20 +0200 Subject: [PATCH] warn about preview in HLS mode is not supported --- ffplayout-engine/src/output/hls.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ffplayout-engine/src/output/hls.rs b/ffplayout-engine/src/output/hls.rs index c583625d..9f9d7ede 100644 --- a/ffplayout-engine/src/output/hls.rs +++ b/ffplayout-engine/src/output/hls.rs @@ -149,6 +149,10 @@ pub fn write_hls( proc_control.is_terminated.clone(), ); + if config.out.preview { + warn!("Preview in HLS mode is not supported!"); + } + // spawn a thread for ffmpeg ingest server and create a channel for package sending if config.ingest.enable { thread::spawn(move || ingest_to_hls_server(config_clone, play_stat, proc_control_c));