openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.7k forks source link

Possible to add RTSP Support to Video #4492

Open webdes03 opened 8 years ago

webdes03 commented 8 years ago

Expected Behavior

Would be able to add RTSP streams of security cameras.

Current Behavior

Currently doesn't support RTSP

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

tkuehne71 commented 8 years ago

I like this

webdes03 commented 8 years ago

I use Ubiquiti Unifi security cameras and those streams are only available via RTSP.

bigbasec commented 8 years ago

I would also love to see this.

ghost commented 8 years ago

Agreed. The best way to access video feeds on most new IP cams is RTSP.

kaikreuzer commented 8 years ago

Does anyone have a suggestion how to handle RTSP? How to proxy it through Jetty, how to display it on HTML5, Android & iOS?

bigbasec commented 8 years ago

It's not going to be easy. Even the solutions that do support it(MotionEye, zoneminder, etc) that run under linux require the use of ffmpeg or vlc to render the video. That's actually how I do it now, my zoneminder install fetches the RTSP, and I have openHAB setup to view the stream from zoneminder, which comes to openhab as mjpeg.

watou commented 8 years ago

@kaikreuzer Idea: Supporting WebRTC from the openHAB clients (intro video), and then testing with server software like Kurento to transcode RTSP to WebRTC. This way no plugins are required in browser clients, and there is Android and iOS support as well.

...interesting article

watou commented 8 years ago

A very different approach is to pull MotionEye JPEG feeds into openHAB Image widgets. It uses on a more recent version of motion that accepts RTSP streams.

bigbasec commented 8 years ago

I do exactly that, but with zone minder. I let zone minder deal with the rtsp, and just grab the mjpeg from that to display in openhab.

kirantpatil commented 6 years ago

Hi all,

Ring door bell is set up guide shows that we can stream video via RTSP to the client app remotely by registering the app with the cloud registration only.

How can it be achieved using openhab-cloud registration in place ?

As @kaikreuzer mentioned, we should handle RTSP via proxy it through Jetty.

@kaikreuzer, at client we need vlc player to initiate and receive streaming via RTSP.

Thanks.