Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to stream H.264 #1822

Open
georgeparissis opened this issue Jul 12, 2024 · 5 comments
Open

Failed to stream H.264 #1822

georgeparissis opened this issue Jul 12, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@georgeparissis
Copy link

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?

  1. Open TinyPilot in Chrome
  2. Click on 'System->Video Settings'
  3. Change to H.264
  4. Save

Screenshots

image

Logs

https://logs.tinypilotkvm.com/0JGwW0fg

@georgeparissis georgeparissis added the bug Something isn't working label Jul 12, 2024
@db39
Copy link
Contributor

db39 commented Jul 12, 2024

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?

@georgeparissis
Copy link
Author

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.

@db39
Copy link
Contributor

db39 commented Jul 15, 2024

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?

@georgeparissis
Copy link
Author

Thank you for the help, unfortunately it didn't work.

I tried Google and GMX with no success.

@db39
Copy link
Contributor

db39 commented Jul 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants