core
core copied to clipboard
Camera stream orentation is ignored on WebRTC streams
Checklist
- [X] I have updated to the latest available Home Assistant version.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my browser.
- [X] I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.
Describe the issue you are experiencing
I'm struggling with this same issue, which seems to be back after HA 2024.11:
https://github.com/home-assistant/core/issues/81089
"When setting a orientation on the camera, it briefly changes position, but then reverts to the standard, and the value is not saved."
Describe the behavior you expected
Rotate the camera stream in the front-end in a grid card
Steps to reproduce the issue
- Load the dashboard
- Click the video stream on the card
- Set upt "camera strem orientation" to "rotate righ"
- Click "Update"
What version of Home Assistant Core has the issue?
2024.11.1
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Chrome 130.0.6723.117
Which operating system are you using to run this browser?
Windows 11
State of relevant entities
State: idle
Problem-relevant frontend configuration
cards:
- type: grid
square: false
columns: 1
cards:
- show_state: false
show_name: false
camera_view: live
type: picture-entity
entity: camera.reolink_rlc_510wa_clear
camera_image: camera.reolink_rlc_510wa_clear
Javascript errors shown in your browser console/inspector
http://192.168.1.144:8123/unknown/src/scoped-custom-element-registry.js 404 (Not Found)
Additional information
No response
Fixed with 2024.11.2
Problem is back with 2024.11.3
Some other people struggling with the same issue:
https://community.home-assistant.io/t/help-camera-rotation-stopped-working/793325/1
Same problem. :(
Updated to 2024.12.1. Problem persists.
Is there any workarounds now?
Is there any workarounds now?
Not that I know of :-(
Problem still exists in 2024.12.2
Was it fixed in 2024.12.3 ? Mine is working okay now.
Updated to 2024.12.4. Issue still persists for me
If i changed the preload setting at the same time (i enabled it) the orientation setting seem to persist (for now...)
If i changed the preload setting at the same time (i enabled it) the orientation setting seem to persist (for now...)
Not working for me 😭
If you disable it first, then enable it again together with the orientation setting, does that work? I tried this after updating to 12.4
If you disable it first, then enable it again together with the orientation setting, does that work? I tried this after updating to 12.4
Kind of. I only works when I press the play button and the window pops up. But it does not rotate when I first access the tab (target behavior).
Thanks, though
Yeah, same as for me, and it rotated correctly in my picture glance card which was the goal for me. But clearly there seems to be some sort of bug here. Edit: Now after a restart, i can't seem to get it to work again...
Anybody can take a look at this please? Some others users experiencing this behavior: https://community.home-assistant.io/t/help-camera-rotation-stopped-working/793325/5
If you disable it first, then enable it again together with the orientation setting, does that work? I tried this after updating to 12.4
This unfortunately didn't work for me
If you disable it first, then enable it again together with the orientation setting, does that work? I tried this after updating to 12.4
This unfortunately didn't work for me
Yeah, I've encountered times when it does not work to.
If I do som repeat reloads and disable+enable efter what I've done what i did above with the setting, then it usually starts to work eventually. But it resets after every reboot of the os.
Still not working in 2025.1.3
Anyone got it working?
Thanks!
FINALLLY FIXED with OS 14.2 and Supervisor 2025.1.4.
Update: issue still persists:
https://community.home-assistant.io/t/help-camera-rotation-stopped-working/793325/18?u=marcecastro
Still broken for me.
` Core 2025.2.5
Supervisor 2025.02.4
Operating System 14.2
Frontend 20250221.0`
same - to follow
Still broken
Any help here, please?
Same issue, really anoying...
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (go2rtc) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of go2rtc can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign go2rtcRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
go2rtc documentation go2rtc source (message by IssueLinks)
The described issue only happens if you use a WebRTC stream, which has been available and has been the preferred stream since 2023.11+. I will look into it in the next days.
The described issue only happens if you use a WebRTC stream, which has been available and has been the preferred stream since 2023.11+. I will look into it in the next days.
Hi! Any news about this? sorry, no pressure, just curious :-) Thanks!
I'm working on it; it's not so easy to solve without transcoding it. Currently looking around for a good solution If possible, the easiest solution is to change the orientation directly on the camera and disable it on HA for now.
I'm working on it; it's not so easy to solve without transcoding it. Currently looking around for a good solution If possible, the easiest solution is to change the orientation directly on the camera and disable it on HA for now.
Thanks for the update! I'll wait for the fix, since my Reolink camera does not offer a 90 degree rotation feature (it sucks!).