Add option to ignore encoder probe failure
This commit is contained in:
@@ -353,7 +353,11 @@ namespace proc {
|
||||
// due to hotplugging, driver crash, primary monitor change,
|
||||
// or any number of other factors).
|
||||
if (rtsp_stream::session_count() == 0 && video::probe_encoders()) {
|
||||
return 503;
|
||||
if (config::video.ignore_encoder_probe_failure) {
|
||||
BOOST_LOG(warning) << "Encoder probe failed, but continuing due to user configuration.";
|
||||
} else {
|
||||
return 503;
|
||||
}
|
||||
}
|
||||
|
||||
std::string fps_str;
|
||||
|
||||
Reference in New Issue
Block a user