Stream Component: Confirmed Cameras and Configurations

What addon exactly and which instructions are you referring to?

When i try to cast one of my blueiris camera to my android tv with an intehrated chromecast i recive the ā€œservizio camera/play_stream . Expecting value: line 1 column 1 (char 0)ā€, that is my service data in the ā€œservice tabā€:

{
ā€œentity_idā€: ā€œcamera.lavanderia_testā€, ā€œmedia_playerā€: ā€œmedia_player.4k_led_tv_powered_by_android_2ā€
}

any idea?

Yeah i Have hassio Iā€™ll check it out. Thank You

You sure itā€™s the correct URL?

Mine is rtsp://user:pass@ 192.168.25.233:554/mpeg4/ch01/main/av_stream
(Hikvision doorbell)

Yes, iā€™m testing your variant. But itā€™s no change.
If you disable the stream component, then everything works in ffmpeg mode.
Perhaps the streaming image will work on Chromecast. I can not check.
But for work in the interface HA it apparently does not fit unfortunately.

i have digoo xme nvr,
https://www.mydigoo.com/Digoo-DG-XME-1080P-4-8-12CH-HDMI-P2P-Standalone-ONVIF-NVR-Recorder-For-IP-Camera-Security-System-p-35.html

can someone please guide, what might be its config for stream
thanks in adv

It work perfect!! Thank You!!

Choppy video, you could try playing eith the p and i frame settings within the camera. it can help with what you are seeing in the HA front end.

Mine is coming up with the ā€œCould not install all requirementsā€ error, so I ran the commands from the component page, but after that the front end will not load until I comment out stream in the configuration.
Can anyone help with this?

Thomas

it takes about 10 minutes to install the requirements, longer if you are on a raspberry pi, this is after following the component page.

Thank you, so the front end not loading is just the requirements installing and I should give it more time?

yea on my raspberry pi it takes about 10-12 minutes to install pyAV while on faster hardware it takes 2-3 minutesā€¦just like when zwave gets an update some components just take longer to install. Start up errors usually show up in the log.

Going back to my earlier comment is no one else having a similar issue as me where when you launch the stream it fails to load anything but a black spinning window. However if you close it and launch it a second time the stream starts as it should?

Just curious if there are timeout settings or anything I should tweak or if this is worthy of opening as a bug on github.

currently testing with at reolink camera setup directly as a generic camera using the listed known config. The playback issue seems to happen on chrome/windows 10, iOS and apple TV as playback devices.

Thank You, that looks to have worked. I just need to actually get it to stream to echo show now

1 Like

How long are you leaving the player up before closing it? It can take up to 20 seconds or so for the stream to start. Once it starts teh stream is kept open for 5 minutes which is probably why you see it working the next time around.

Has anyone tried this with a Yi Camera? if not Iā€™ll give it a shot

Hey, you should add this configuration too for the low quality setting in reolink. Reolinks have 2 quality settings, low and high.

High quality (one you posted):

- platform: generic
  still_image_url: "http://192.168.1.x/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=user&password=password"
  stream_source: "rtsp://user:[email protected]:554/h264Preview_01_main"

Low quality

- platform: generic
  still_image_url: "http://192.168.1.x/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=user&password=password"
  stream_source: "rtsp://user:[email protected]:554/h264Preview_01_sub"
1 Like

I have been trying on Alexa devices and Samsung TV s without anything.
Is everyone doing it from services wit camera.play_stream?
Any guidance on how to even get it to work on chrome would great

Do you need to do anything special if your blue iris server is behind a NGINX proxy? I canā€™t get the stream using the domain name.

I do not have it behind NGINX but you want to make sure the URL is accessible, try it in VLC to see if its valid. May need to make sure the directories are being forwarded properly?