w3c / media-source

Media Source Extensions
https://w3c.github.io/media-source/
Other
268 stars 57 forks source link

Live video-only playback in Chrome stops if frame rate is fluctuating #178

Closed mazzomazzo closed 7 years ago

mazzomazzo commented 7 years ago

Hello,

This works fine with IE and Edge. Needless to say, this works fine with Flash player. But MSE in Chrome have this issue. A lot of cameras will not maintain constant framerate if lighting conditions change. Framerate can fluctuate between 10-30 fps. When this happens, Chrome sometimes just stops playing; no exceptions are thrown.

Unreal Media Server sends very short (30-500 ms length) BMFF video/mp4 segments via WebSockets and MSE is used for playback. That allows to achieve very low latency (0.2 - 1 sec) and works very well with MSE player as long as framerate is more or less stable, otherwise it still works OK with IE and Edge, but not with Chrome.

We can provide sample streams and recorded fragmented .mp4 chunks for your analysis. Please advise.

This demo stream: http://umediaserver.net/umediaserver/demohtml5player.html plays fine because it's an IP camera that generates a stream with stable frame rate. We can provide a stream with fluctuating framerate that causes this issue.

Thank you. UMedia team

mazzomazzo commented 7 years ago

Does not happen consistently; also it seems like timestamps sent by camera in these cases are incorrect; we will close this issue for now until we have more determenistic behavior.