Hi, I had a similar problem with a Hikvision camera.
I was unable to have it show in a stable way, not in mosaic, not in homeassistant, etc...). Spend quite some time on it.
Didn't have that problem with Axis camera, so I assume it's a Hikvision thing.
I solved it by using ispy v7.2 which I had already running on my server.
ispy can also produce streaming url's.
Camera 1 url is for example: http://10.0.0.15:8081/mjpegfeed?oid=1&size=300x410
Camera 2 url is for example: http://10.0.0.15:8081/mjpegfeed?oid=2
This works perfect, seamless and without headaches.
Downside you have to run a server 24/7, but if you already have one running this is the easiest way.
Note: ispy is replaced by ispy agent, don't know if it's still possible with that but you can still download ispy
I was unable to have it show in a stable way, not in mosaic, not in homeassistant, etc...). Spend quite some time on it.
Didn't have that problem with Axis camera, so I assume it's a Hikvision thing.
I solved it by using ispy v7.2 which I had already running on my server.
ispy can also produce streaming url's.
Camera 1 url is for example: http://10.0.0.15:8081/mjpegfeed?oid=1&size=300x410
Camera 2 url is for example: http://10.0.0.15:8081/mjpegfeed?oid=2
This works perfect, seamless and without headaches.
Downside you have to run a server 24/7, but if you already have one running this is the easiest way.
Note: ispy is replaced by ispy agent, don't know if it's still possible with that but you can still download ispy