Implement input only mode w/ double framerate for virtual display

This commit is contained in:
Yukino Song
2025-02-05 06:54:30 +08:00
parent e0d81d3c5f
commit 23dd06b344
13 changed files with 184 additions and 55 deletions

View File

@@ -96,6 +96,9 @@ namespace proc {
_env(std::move(env)),
_apps(std::move(apps)) {}
void
launch_input_only();
int
execute(int app_id, const ctx_t& _app, std::shared_ptr<rtsp_stream::launch_session_t> launch_session);
@@ -178,4 +181,5 @@ namespace proc {
terminate_process_group(boost::process::v1::child &proc, boost::process::v1::group &group, std::chrono::seconds exit_timeout);
extern proc_t proc;
extern std::string input_only_app_id;
} // namespace proc