Failed to stream H.264
Description
After updating the video settings to H.262, expected the video stream to start using H.262. Instead, it falls back to MJPEG
What's the behavior that you expect?
To start streaming using H.264
What's happening instead?
It is streaming using MJPEG
What are the steps to reproduce this behavior?
- Open TinyPilot in Chrome
- Click on 'System->Video Settings'
- Change to H.264
- Save
Screenshots
Logs
https://logs.tinypilotkvm.com/0JGwW0fg
Hi @georgeparissis, I'm sorry H.264 streaming isn't working correctly on your TinyPilot.
Thanks for sharing those details and logs.
Are you connecting to your TinyPilot remotely over the internet? Perhaps using a service like Tailscale or remote.it?
Hi @db39
Yes, I am connecting over the internet and yes I am using remote.it to connect. It is annoying because when I was back home H.264 was working fine, and now that I am remote it doesn't. It makes the whole experience very slow and bad.
Thanks for confirming, @georgeparissis.
If H.264 works locally, but not when you connect to your TinyPilot remotely over the Internet, it sounds like using a STUN server could help here. In TinyPilot Pro version 2.6.2, we introduced STUN server configuration options in TinyPilot's H.264 video settings to help users running into the same issue.
Your logs suggest your TinyPilot is running TinyPilot Pro version 2.6.1. Could you update to the latest version of TinyPilot Pro (on TinyPilot's web interface, go to System > Update)? Once updated, could you try configuring a STUN server to see if that allows you to use H.264 over the Internet?
Thank you for the help, unfortunately it didn't work.
I tried Google and GMX with no success.
Thanks for the update, @georgeparissis. I'm sorry that didn't work.
Are you able to try Tailscale instead of remote.it for a remote connection? It's possible that remote.it isn't suited for H.264 streaming.