WebThingsIO / onvif-adapter

ONVIF Profile S video camera adapter
Mozilla Public License 2.0
10 stars 6 forks source link

Video stream is not working properly #26

Open tssk opened 4 years ago

tssk commented 4 years ago

Hi,

I updated my gateway to v0.11.0 (debian deb) and ONVIF add-on got updated v0.3.0 (I can see some new properties) and streaming is broken.

I have to wait a long before opening the Stream to get at least some picture after checking the Streaming checkbox. The picture is static even that I see loading chunk-stream0-X.m4s files in the F12 networking log.

It worked fine for me in previous versions.

Is this a known issue?

Thanks,

Tomas

tssk commented 4 years ago

OK, sorry it stars after about 1 minute. I am on local LAN, I did not expect it to take so long...

tssk commented 4 years ago

And the stream is about 1,5 minute late. Running ffplay directly on the stream address gives me about 2 second delay.

mrstegeman commented 4 years ago

I made some changes to the adapter recently so that it always transcodes, rather than trying to force a stream with a huge bitrate through the web. This adds to the already large delay caused by DASH/HLS streaming.