Camera streaming does not work - spinner

I added the following configuration (the URLs are correct, they do work if I paste them on the browser’s address bar). I also tried to set verify_ssl to false and to put username and password as separate lines :


camera:
  - name: living_room_cam
    platform: generic
    still_image_url: http://hassio:Oc*****@192.168.***.***/image/jpeg.cgi
    stream_source: http://hassio:Oc*****@192.168.***.***/video.cgi

stream:

But this is what I get in the UI - an endless spinner. Any idea what’s wrong?

image

Problem was that I had to use “platform: mjpeg”