deepch / RTSPtoWSMP4f

RTSP Stream to WebBrowser MSE over WebSocket based MP4f segments
229 stars 64 forks source link

Delay compare to VLC #23

Closed yeshivsher closed 2 years ago

yeshivsher commented 3 years ago

Very good job!

but I compared the rtsp streaming to vlc rtsp and after a minute or two the go service have delay that growing all the time

deepch commented 3 years ago

This is very strange, I ran the test for a day. Can you give access to your stream?

yeshivsher commented 3 years ago

this one for example: rtsp://stream.strba.sk:1935/strba/VYHLAD_JAZERO.stream I did this test on local camera too.

image

deepch commented 3 years ago

Will I deal with this a little later, if not urgently?

yeshivsher commented 3 years ago

Actually, it is urgent for me... I will really appreciate it if you can just tell me how to solve it I appreciate it! of course, you don't have to... it is a security system that really on this service.

yeshivsher commented 3 years ago

And thank you for the reply!

yeshivsher commented 3 years ago

I think I see the problem. once I minimize the browser window the streaming stoped.

yeshivsher commented 3 years ago

Let me know when you have time for that. thank you very much!

yeshivsher commented 3 years ago

This is very strange, I ran the test for a day. Can you give access to your stream?

hi did you check this?

yeshivsher commented 3 years ago

I think I see the problem. once I minimize the browser window the streaming stoped.

this is the problem I have found and it is a problem also in the hls project

deepch commented 2 years ago

The latency in hls is ok; it needs a segment cache to work. I checked mp4f, but I didn't see any delay like yours.