warn about preview in HLS mode is not supported

This commit is contained in:
jb-alvarado 2022-07-03 11:17:20 +02:00
parent 085d206c7e
commit 6b6d8e175f

View File

@ -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));