Comments (10)
So you can see all your cameras on single Hass page and they all works fine. But sometimes you can't see picture from reolink?
from go2rtc.
You're right. Sometimes i can see all of them. Sometimes not all of them. Usually if not all of them, it is the reolink (the last one of the page) that is missing.
from go2rtc.
Well. Open add-on UI and check active sessions. Then check info link for problem camera. Reload it few times. If you can see changes in send and receive fields.
from go2rtc.
if i open the page i can see 2 online for each camera (even if i cannot see the reolink one, that is the longer URL)
clicking on info at first i was not able to see anything (but that is just because i have dark theme and it was black over black)
[{"media:0":"video, sendonly, 96 H264/90000","media:1":"audio, sendonly, 97 MPEG4-GENERIC/16000","receive":1330510,"remote_addr":"192.168.1.243:554","send":0,"track:0":"96 H264/90000, sinks=1","type":"RTSP client producer","url":"rtsp://192.168.1.243/h264Preview_01_sub/"},{"remote_addr":"udp4 prflx 192.168.1.79:36478 related :0","send":1339719,"type":"WebRTC server consumer","user_agent":"HomeAssistant/2022.8.6 aiohttp/3.8.1 Python/3.10"}]
after some time
[{"media:0":"video, sendonly, 96 H264/90000","media:1":"audio, sendonly, 97 MPEG4-GENERIC/16000","receive":1566907,"remote_addr":"192.168.1.243:554","send":0,"track:0":"96 H264/90000, sinks=1","type":"RTSP client producer","url":"rtsp://192.168.1.243/h264Preview_01_sub/"},{"remote_addr":"udp4 prflx 192.168.1.79:36478 related :0","send":1577763,"type":"WebRTC server consumer","user_agent":"HomeAssistant/2022.8.6 aiohttp/3.8.1 Python/3.10"}]
here blow what i can see from HASS APP
from go2rtc.
Try to config Lovelace tab with only one problem camera. Is there still a problem?
from go2rtc.
According to the few tests i did up to now, I have 100% success rate with 1 single camera on the lovelace tab.
according to my previous snap of addon UI, is my configuration correct?
i have 4 rows never online with the content of the camera included in the go2rtc.yaml, and then the other URL camera generated (I guess) during the 1st vision attempt after HASS restart
from go2rtc.
go2rtc
support zero-config feature. So Hass create stream links on the fly on first stream start (rtsp://
links on your screen).
Streams with name are streams from your go2rtc.yaml
. You may add them to Hass using rtsp://127.0.0.1:8554/balcone_sala
links. You may add them to Frigate. Or view them in VLC (but change IP to your Hass server).
With first config - camera will have multiple connections. Some from Hass directly and one from go2rtc.
With second config - camera will have one connection from go2rtc
. And go2rtc
will have multiple connection - some from Hass via RTSP protocol, some from your browser via WebRTC protocol.
Use any config what you like.
from go2rtc.
thank again for your feedback. So I'm going to remove static yaml configuration keeping only HASS streams created on the fly (that are practically used.
Why if i open my page i hot "2" Online instead of "1" ?
On a RPi4 with 4 camera, can we say that 10% CPU usage is reasonable (all my stream should be H264 and no need to be trascoded, if I correctly got from your readme
regarding my original problem, can be something related to the concurrent stream requests?
do you think that my visulization problem could be some "HASS generic issue" rather than some problem with your addon?
with a lovale page with only that camera currently i got 100% success rate
I tried to switch among high/low resolution streams, but it seems no difference from that point of view
from go2rtc.
- Online counts Producers and Consumers of media content.
- Handling network traffic also takes time. I know about problem, don't know if I can fix it.
- Try to change order of your cameras on the screen. Check if problem persist on same stream.
Are you enable "Camera view: live" option on all cards?
from go2rtc.
Currently i moved one of the 4 cameras on a different card and now seems better.
All my pucture camera has live settings (instead of auto).
On my samsung and on my laptop with chrome now i have almost 100% successful view.
While i just noticed that my wife with nokia 6 never see the 2 hikvision camera's.... that's so strange. If she can see one of them that is webrtc h.264 in principle should be able to see all of them....
from go2rtc.
Related Issues (20)
- Connection issue rtsp.go: read tcp ... i/o timeout HOT 5
- mse: streams: wrong user/pass HOT 3
- ffmpeg not working! HOT 4
- Home Assistant streams never shutdown after go2rtc 1.9.0 upgrade HOT 10
- ffmpeg source stop working RTC after update 1.9.0 HOT 5
- Something strange with streams and HA after 1.9.0 upgrade HOT 14
- Panic on h264.EmitNalus HOT 1
- Question about adding camera dynamically HOT 3
- High Availability topology
- Error opening stream (INVALIDDATA) from HomeKit source (Aqara G2H) HOT 18
- Using piped backchannel without consumers leads to nil HOT 2
- Re-using homekit URL from HomeAssistant results in ffmpeg initialization error HOT 1
- Need a workflow for TurnServer with WebRTC HOT 3
- exec does not kill previous command when reconnecting HOT 6
- rotate not work HOT 4
- Incoming MJPEG stream not work HOT 8
- stun/turn webrtc config not respected HOT 12
- Camera health check through online state HOT 2
- How Update under proxmox container? HOT 1
- WebRTC stream freezes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go2rtc.