Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebRTC for dummies #643

Open
iz3man opened this issue Jan 20, 2024 · 3 comments
Open

WebRTC for dummies #643

iz3man opened this issue Jan 20, 2024 · 3 comments
Labels
question Further information is requested

Comments

@iz3man
Copy link

iz3man commented Jan 20, 2024

I tried to understand how this addon works, but am not sure I got it completely right.
So I install the add-on and it can be installed only once. That would mean it's some kind of proxy, right?
It look for configured cameras and then generates streaming urls that can be used by other apps (like webbrowsers, ...). Correct as well?
If that is the case: Does it matter HOW those cameras are added to the system? Does it matter performance wise if those are MJPEG streams, or H264 streams, ... My question: What's best practise to add the cameras to HomeAssistant?
And then I go to the server:1984 address and can choose between different kind of proxy-streams. Correct? And those are the streams I use to add when I use a camera-webrtc card in HA?
Sorry, you see I'm a little confused, and didn't see these questions answered for me.

@WeVolutionNet
Copy link

I'm on the same knowledge level like you, so my answer might not be the best answer.

I managed to add my streams in HomeAssistant via the lovelace card.

At first the card was not showing. (Directly after I installed it in HA)
After a quick reboot of HA followed by a full reboot of HA + "ctrl+F5" in my webbrowser the "WebRtc" card was available in Home Assistant. I used my rstp stream url in the form user:pwd@url to show the stream.

Afterwards this new entry was also listed on the:1984 list. I did not try/manage to get the streams from there into HomeAssistant.

Hope this helps for now...

@iz3man
Copy link
Author

iz3man commented Jan 26, 2024

Thanks. Adding streams to my HA dashboard via webrtc-card was not the issue. That was quite easy, but I wanted to get some background knowledge, and info on what to do with the :1984 page. But it seems this is not seen any answers from the github owner for some time. :/

@AlexxIT AlexxIT added the question Further information is requested label Feb 17, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 17, 2024

  1. This is not addon. This is integration.
  2. Yes. This is proxy for media stream.
  3. Yes. It can stream video to browsers as well.
  4. MJPEG and H264 codecs are web-compatible.
  5. Best practice is to use web-compatible codecs in the camera settings.
  6. Web UI is used to debug. You can use this formats in the other software in your LAN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants