fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
550 stars 102 forks source link

Http stream #403

Open vmonkey opened 2 years ago

vmonkey commented 2 years ago

Hello,

let me first thank for an excellent integration to Home Assistant.

I have a small feature request. Based on what I have found, (at least my RLC410) Reolink cameras allow for streaming via http, the url is of the form

http://192.168.x.y/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=USER&password=PASSWORD

Could this be added into the integration? My motivation for this is the ability to play the stream on my TV (Samsung "Smart" TV). While the rtsp and rtmp streams seem not to be compatible, the http stream is.

Thanks in advance.

M.

UberWagen commented 2 years ago

WebRTC is what you're looking for. This would be hard to implement as an integration as there needs to be a server running to encode/re-encapsulate the stream. Check out this repo

Disable mDNS in Chrome if you have issues.

vmonkey commented 2 years ago

Thanks for the suggestion, I may try that. I just wanted to point out that the http (FLV) stream is already available out of the box (so hopefully no server-side manipulation needed).

M.