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

ONVIF PTZ controls not working on mobile #1800

Open
DrissiReda opened this issue Dec 26, 2024 · 5 comments
Open

ONVIF PTZ controls not working on mobile #1800

DrissiReda opened this issue Dec 26, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@DrissiReda
Copy link

The PTZ controls don't appear on mobile but they appear on desktop.

I'm using:
frigate 0.15.0-beta4
ha: 2024.12.5
frigate-hass-card: v5.6.0

What would the cause of that be?
The small blue round icon disappears almost immediately on desktop but remains indefinitely on mobile I don't know what it corresponds to.
No logs about this.

@DrissiReda DrissiReda added the bug Something isn't working label Dec 26, 2024
@dermotduffy
Copy link
Owner

The small blue round icon disappears almost immediately on desktop but remains indefinitely on mobile I don't know what it corresponds to.

The stream is not loading on your mobile device for some reason (PTZ controls only show up after the stream loads). You're probably just seeing snapshots updating once per second. You need to figure out why the stream is not loading.

@dermotduffy
Copy link
Owner

frigate-hass-card: v5.6.0

That's not a valid card version. Minimally I'd make sure I'm on the latest: v6.1.2

@DrissiReda
Copy link
Author

The small blue round icon disappears almost immediately on desktop but remains indefinitely on mobile I don't know what it corresponds to.

The stream is not loading on your mobile device for some reason (PTZ controls only show up after the stream loads). You're probably just seeing snapshots updating once per second. You need to figure out why the stream is not loading.

Any tips on why it would only be on mobile? Same network, same server, works perfectly on desktop. I just put it on v6.1.2, it's the latest available via HACS.

@dermotduffy
Copy link
Owner

Any tips on why it would only be on mobile?

Could be any of a number of reasons I'm afraid, from networking issues to video codec issues. What live provider are you using? (Paste your config). You might try a different one. If you're using the default (e.g. auto or ha), you might check if you see the same behavior if you just open the video stream in HA outside the card. If it works in HA, but not the card, there's something up with the card. If it also doesn't work in HA, then at least you know the card isn't the problem.

@DrissiReda
Copy link
Author

Could be any of a number of reasons I'm afraid, from networking issues to video codec issues. What live provider are you using? (Paste your config). You might try a different one. If you're using the default (e.g. auto or ha), you might check if you see the same behavior if you just open the video stream in HA outside the card. If it works in HA, but not the card, there's something up with the card. If it also doesn't work in HA, then at least you know the card isn't the problem.

I'm using home assistant and frigate in Kubernetes, self hosted on my own server. I didn't know I could stream the video on Home assistant directly.

The thing that might be an issue is that I'm using domain name since I'm accessing camera from an external network via internet.

To make this work with frigate I had to fork onvif library to override the IP local address returned by the camera.

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