Git Product home page Git Product logo

Comments (10)

AlexxIT avatar AlexxIT commented on May 23, 2024

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.

marcob79 avatar marcob79 commented on May 23, 2024

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.

AlexxIT avatar AlexxIT commented on May 23, 2024

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.

marcob79 avatar marcob79 commented on May 23, 2024

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)

image

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
Screenshot_20220824-182958_Home Assistant

from go2rtc.

AlexxIT avatar AlexxIT commented on May 23, 2024

Try to config Lovelace tab with only one problem camera. Is there still a problem?

from go2rtc.

marcob79 avatar marcob79 commented on May 23, 2024

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.

AlexxIT avatar AlexxIT commented on May 23, 2024

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.

marcob79 avatar marcob79 commented on May 23, 2024

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.

AlexxIT avatar AlexxIT commented on May 23, 2024
  1. Online counts Producers and Consumers of media content.
  2. Handling network traffic also takes time. I know about problem, don't know if I can fix it.
  3. 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.

marcob79 avatar marcob79 commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.