Implement input only mode w/ double framerate for virtual display
This commit is contained in:
@@ -1056,6 +1056,8 @@ namespace rtsp_stream {
|
||||
config.monitor.encodingFramerate = config.monitor.framerate;
|
||||
}
|
||||
|
||||
config.monitor.input_only = session.input_only;
|
||||
|
||||
configuredBitrateKbps = util::from_view(args.at("x-ml-video.configuredBitrateKbps"sv));
|
||||
}
|
||||
catch (std::out_of_range &) {
|
||||
@@ -1099,6 +1101,8 @@ namespace rtsp_stream {
|
||||
config.audio.flags[audio::config_t::CUSTOM_SURROUND_PARAMS] = valid;
|
||||
}
|
||||
|
||||
config.audio.input_only = session.input_only;
|
||||
|
||||
// If the client sent a configured bitrate, we will choose the actual bitrate ourselves
|
||||
// by using FEC percentage and audio quality settings. If the calculated bitrate ends up
|
||||
// too low, we'll allow it to exceed the limits rather than reducing the encoding bitrate
|
||||
|
||||
Reference in New Issue
Block a user