Hikvision cam RTSP stream only works on mobile phone, not in browser

Hi, using a generic camera integration to add an RTSP cam feed direct from my Hikvision camera (not via NVR) to a picture glance card on a dashboard.

using the config below in my config.yaml

stream:
camera:
- platform: generic
stream_source: “rtsp://admin:[email protected]:554/Streaming/Channels/102”
authentication: digest
name: CCTV Front Left

works fine when viewing from my iphone but it just does not want to seem to work from a browser. The screen flickers and briefly says “Error with media stream contents”

Anyone got any ideas as to what the cause may be or even better what a solution may be?

thanks
Darren.

1 Like

ok seem to have solved (or worked around) my own problem. Changed the sub stream on the hik camera to H264 instead of H265…

so my next question is whether there is any advantage of H265 other than efficiency…i.e. should i look to use H265 if possible and if so is there a way for the browser to view this (using chrome)

thanks