Open kizovinh opened 6 months ago
I didn't really understand what was going on in the last paragraph
I didn't really understand what was going on in the last paragraph
in the custom:webrtc-card, there is option for poster, which is the still image showing when the camera is loading. I used MJPEG snapshot, hope it will fetch the image and show it on the card while the camera is loading, but it show a black screen instead.
Sorry for my bad English.
Well. Your question about the snapshot not working. Show link to shapshot and go2rtc config for this link.
Well. Your question about the snapshot not working. Show link to shapshot and go2rtc config for this link.
I didn't add any config for go2rtc. Currently I am using ezviz integration and add camera there. Then I use webrtc-card with these ezviz camera entity so it auto create these camera on go2rtc webui. Then I use this link http://192.168.68.104:1984/api/frame.jpeg?src=camera.ezviz_camera
to get the snapshot.
This link usually work fine when I open it on any browser. But when I use it as the still image for the card, it shows black screen
Go2rtc don't have actual link to your stream.
When you using WebRTC card with entity as source - actual stream link updated on each stream start.
When you using go2rtc API directly - there is no guarantee that link is ok.
Go2rtc don't have actual link to your stream.
When you using WebRTC card with entity as source - actual stream link updated on each stream start.
When you using go2rtc API directly - there is no guarantee that link is ok.
Thank you, this info helps a lot, however because of the camera connection, and the mjpeg snapshot from go2rtc can't work with external network, so I decide to create an automation to get the snapshot each 3 mins and save to local file and use it as still image.
So what about disable the video player control, is it possible?
For example in this screen shot, while loading, I want to disable the big "play" button. Loading status on the top right corner is sufficient enough
My goal is create a live stream dashboard which is most reliable as possible for live viewing purpose only. Anytime opening the dashboard, I want to see the image immediately whatever it is live image or static image of that camera!
I have 6 cameras in a lovelace dashboard, when I open the dashboard, it show 6 black screen with loading circle, after some time camera shows up along with play/pause and some button. How can I disable all of this? I just want to see the image only.
Then I use the go2rtc frame.jpeg snapshot as the poster, but even when the link work fine (I can open another tab and see the picture), it is still black screen when the camera is loading.