Slow: HTTP Request Trigger -> keycode on NVIDIA SHIELD
Posted: 15 Feb 2019 19:54
I wanted to control my Nvidia Shield via IP, as part of my integrated remote system.
I have a rooted Shield, and created a flow that captures HTTP Request Triggers and executes a Root Command to send some media keycodes. It all works, but very slowly. Not much faster than the ADB method I was trying to improve upon.
Desmanto suggested in this post that generating keypresses this way could operate at "lightening speed", but I can only send key commands at maybe 2-3 per second, max.
I did change the Automagic response time from 500mS to 50mS, despite the warning about eating too many resources. It helped a little, but not enough.
I've used other devices' HTTP commands without this kind of lag (Yamaha receivers, TVs, etc), so what I'm expecting shouldn't be unreasonable. Maybe the problem is that each keystroke needs to check if the Automagic app has root privledges, since I get that annoying "Automagic has been granted" status message for every keypress?
Am I missing something that could be slowing this down?
Thanks!
I have a rooted Shield, and created a flow that captures HTTP Request Triggers and executes a Root Command to send some media keycodes. It all works, but very slowly. Not much faster than the ADB method I was trying to improve upon.
Desmanto suggested in this post that generating keypresses this way could operate at "lightening speed", but I can only send key commands at maybe 2-3 per second, max.
I did change the Automagic response time from 500mS to 50mS, despite the warning about eating too many resources. It helped a little, but not enough.
I've used other devices' HTTP commands without this kind of lag (Yamaha receivers, TVs, etc), so what I'm expecting shouldn't be unreasonable. Maybe the problem is that each keystroke needs to check if the Automagic app has root privledges, since I get that annoying "Automagic has been granted" status message for every keypress?
Am I missing something that could be slowing this down?
Thanks!