Strange symptom with keyboard and mouse
Tinypilot comes up fine and I can see the video with no problem. When I move the cursor or try to key something in, nothing happens (at least that's the way it looks). Cursor doesn't move, keys are not echoed.
But, in reality the mouse movements and key strokes are going to the PC but the view seems to not reflect that.
As an example, if I cursor over the wastebasket and right click, nothing will show up on the screen. But if i refresh the page, it shows that the movement and click have occured.
Running latest version 2.6.2 of Tinypilot. Windows 11.
- 8 replies
Hi John, thanks for reaching out. I'm sorry to hear you're having trouble with the video freezing.
There could be several explanations for this issue, so we'll need to investigate further. It sounds like the TinyPilot device isn't having any issues capturing the screen or sending input, so the problem is most likely with the video stream between the TinyPilot device and your web browser.
Could you please send me a link to your logs by going to System, Logs, and Get Sharable URL? Can you please also try switching the streaming mode by going to System, then Video Settings, and then choosing whichever of MJPEG or H.264 isn't currently selected from the dropdown menu?
Here is the link:
Tried setting the video to H.264 but got a message that it couldn't do it. Running MPEG.
Thanks for getting back to me!
I've reviewed the logs you provided, and everything looks normal. I don't believe H.264 works with RemoteIT by default, but you may be able to fix that by configuring a STUN server.
Regarding MJPEG not working, the video appears to be getting cached or frozen somewhere in transit. It would be good to rule out RemoteIT as the explanation, so would it be possible for you to try accessing the TinyPilot device over a local network to check if the issue still happens?
- JJohn Sikora @johnsikora
I just noticed something when I tried to test this morning. I have "timer" on the computer that counts down on the screen. When I access the screen, I thought that it was not responding but the timer does indeed count down albeit very slowly which seems to concur with your thoughts ont he video being hung up somewhere.
I don't have the ability to add another computer to the network. But, I did log into tinypilot from the PC that I was monitoring. You get the infinite mirror effect, but I did see the countdown dropping normally on the infinite number of screens. And the screens came up very quickly.
I also installed tailscale and tried to connect with it. Got the same symptoms.
The last thing I changed was the SD card with the new version 2.6.2. Could the speed of the SD card be an issue?
- Progresswith handling this problem
Thanks for getting back to me with your detailed notes!
The symptoms you've described strongly suggest that there is something between the TinyPilot device and your computer causing problems with the video stream. It's doubtful that a configuration problem on the TinyPilot device or a slow microSD card is causing this issue.
As you're working over the Internet, it's unlikely that you can do anything to fix whatever is causing the underlying issue. However, you mentioned that H.264 works when using Tailscale. I recommend using H.264 over MJPEG, as H.264 performs better, and I know that many of our customers use Tailscale, so if possible, I'd recommend sticking with H.264 over Tailscale if that's an option.