WebRTC
WebRTC copied to clipboard
Set a default digital PTZ location/zoom
I believe this is going to be a feature request, but maybe it already exists: is there a way to set a default digital PTZ location/zoom?
Use Case: I have 2 cameras for my kids (2 under 2, weee). The cameras are mounted high to get them out of view and away from kids yanking on things, but I really only want to see their bed so I can check on them. I can obviously use the digital PTZ to get it in the right spot and persist it, but that doesn't affect other users/devices. Ideally, I would just set that default on the card, and then disable the digital PTZ so scrolling doesn't mess with it from mobile.
Is there a way to do this via style configurations? If not, this is a feature request. :)
I think this is not related to this component. It's just some service call. You can use shortcuts for that.
I'm talking about the digital PTZ, not the one on the camera. I think the card handles this, since it's specific to the instance of the card
I thought you want to disable it. But now I get your idea.
@dbuezas do you want to add this? :)
Sorry too busy at the moment. I hope somebody else picks it up :)
Fair enough. Thanks for taking a look at the request!
Just thought I'd chime in and say that if someone has a go at this it would be neat if it was possible to have one digital PTZ location on one card and another on another card. I'd use the same camera feed and have a zoom on two different things.
The url of the camera is used to create a persistance key. Maybe you can add a query parameter which hopefuly go2rtc ignores. e.g:
- url: your_stream?position=1
Hm. I'm using entity: camera... and not url:
type: custom:webrtc-camera
entity: camera.kamera_tapo_hd_stream
muted: true