warn about preview in HLS mode is not supported
This commit is contained in:
parent
085d206c7e
commit
6b6d8e175f
@ -149,6 +149,10 @@ pub fn write_hls(
|
|||||||
proc_control.is_terminated.clone(),
|
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
|
// spawn a thread for ffmpeg ingest server and create a channel for package sending
|
||||||
if config.ingest.enable {
|
if config.ingest.enable {
|
||||||
thread::spawn(move || ingest_to_hls_server(config_clone, play_stat, proc_control_c));
|
thread::spawn(move || ingest_to_hls_server(config_clone, play_stat, proc_control_c));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user