- From: <bugzilla@jessica.w3.org>
- Date: Wed, 01 Apr 2015 05:03:25 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28379 --- Comment #3 from Aaron Colwell <acolwell@google.com> --- (In reply to billconan from comment #2) > (In reply to Aaron Colwell from comment #1) > > This sounds like a quality of implementation issue to me. If the web > > application has allowed the media element to run out of data, why would it > > expect playback not to stop? How long of an underflow should the UA endure > > before actually stopping playback? > > > > You are right that MSE is biased more towards providing smooth playback > > instead of low latency. The main reasons for that come from the ways the > > SourceBuffers can be manipulated and because of constraints imposed by media > > decode pipelines. It seems to me that if you are interested in low latency > > non-mutable presentations you should be looking more towards WebRTC instead > > of MSE. > First of all, please dial it back a little bit. I can understand if you are frustrated by the behavior you are seeing and perhaps the web platform in general, but I don't think your strong language is particularly helpful. I'm sorry if my initial response upset you. > the player stops for way longer time than the actual network delay. a small > hiccup can trigger few seconds video pause. I never said I expected playback > not to stop. the problem is how long it should stop. Ok. This is quality of implementation issue and is not a behavior specified in the MSE spec. If Chrome is pausing for a long time then you should file a bug against Chrome (https://code.google.com/p/chromium/issues/entry?template=Audio/Video%20Issue) with a repro case so they can fix the implementation. If I were to guess, Chrome is probably not detecting your content as a "live stream" and so it isn't triggering the low-latency code path. You'd have to work with the Chrome engineers to figure out what is going on. This isn't the forum for dealing with Chrome specific issues. > > I can easily repro this issue with chrome. for example, I create a 60 fps > mp4 stream, but instead of generating video frames at 60 frames per second, > I generate frames at 55 fps. > > The remote desktop use case would appreciate no buffering at all. so the > video player should play the video at 55fps if 60 is not achievable. but the > reality is that the video player pauses for 2 to 3 seconds for buffering. Great! Please put this repo in the Chrome bug you file. > > To be honest, I don't understand the implementation difficulty of a > buffering model option. Adding an option isn't hard. My point is that I don't think we need it because the spec doesn't actually specify the behavior you are seeing. My original comments were assuming that you were suggesting that the UA delay the transition to HAVE_CURRENT_DATA when a "hiccup" occurs. I'm assuming a "hiccup" means data arriving late enough that it causes the playback pipeline to underflow (ie triggers a transition to HAVE_CURRENT_DATA). I was trying to determine what type of delay criteria you had in mind. This was not particularly clear from the words I typed. I am sorry. The 2-3 second delay you are seeing in Chrome likely has more to do with the HTML5 rules for transitioning from HAVE_CURRENT_DATA back to HAVE_ENOUGH_DATA(http://www.w3.org/html/wg/drafts/html/master/semantics.html#dom-media-have_enough_data) It sounds to me like you want a transition to HAVE_ENOUGH_DATA to occur if anything beyond the current playback position is appended. I'm not sure if I agree with that, but I agree pausing 2-3 seconds is probably not a good idea either. In my mind, it seems like better language in the HTML5 spec is needed around low latency streams since this is likely an issue for non-MSE based streams as well. All this of course assumes that a Chrome bug fix doesn't resolve the issue. I'm leaving out the rest of your comments because they aren't relevant or particularly productive to the main issue at hand. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Wednesday, 1 April 2015 05:03:26 UTC