Video Stream (rtsp) from xiaomi yi ants and raspi

Hi to everyone,

I have a xiaomi ants camera, that works by rtsp protocol. And also a openhab 1.8

I would like to know method to publish the video stream rtsp protocol to openhab… Openhab i have it installed on Raspi 3

How i need to do it?

thanks

You can try just using the Video element on the sitemap and leave off the encoding part. This will let the browser autoselect the streaming format and if your browser works with rtsp it should work.

Otherwise you will need to convert the stream to mjpeg and stream that on some http url. This thread has some ideas on how to do that.

Once done you simply use the “Video” element on the sitemap