File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1053,7 +1053,7 @@ namespace nvhttp {
10531053 if (!!(named_cert_p->perm & PERM ::_all_actions)) {
10541054 auto current_appid = proc::proc.running ();
10551055 auto input_only_id_int = util::from_view (proc::input_only_app_id);
1056- auto should_hide_inactive_apps = config::input.enable_input_only_mode && rtsp_stream::session_count () != 0 && current_appid != input_only_id_int;
1056+ auto should_hide_inactive_apps = config::input.enable_input_only_mode && current_appid != input_only_id_int;
10571057 for (auto &app : proc::proc.get_apps ()) {
10581058 auto appid = util::from_view (app.id );
10591059 if (should_hide_inactive_apps && appid != current_appid && appid != input_only_id_int) {
@@ -1161,6 +1161,9 @@ namespace nvhttp {
11611161 if (is_input_only) {
11621162 BOOST_LOG (info) << " Launching input only session..." sv;
11631163
1164+ launch_session->client_do_cmds .clear ();
1165+ launch_session->client_undo_cmds .clear ();
1166+
11641167 // Still probe encoders once, if input only session is launched first
11651168 // But we're ignoring if it's successful or not
11661169 if (rtsp_stream::session_count () == 0 && !proc::proc.virtual_display ) {
Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ namespace proc {
163163 void
164164 proc_t::launch_input_only () {
165165 _app_id = util::from_view (input_only_app_id);
166+ allow_client_commands = false ;
166167 placebo = true ;
167168 }
168169
You can’t perform that action at this time.
0 commit comments