Closed Bug 620715 Opened 14 years ago Closed 7 years ago

Could start playing sooner on live streams

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: jrmuizel, Unassigned)

Details

If you go to this page: http://www.wowzamedia.com/_demo/webm/html5.html in Firefox it takes a couple of seconds for the video to start playing. The same page starts playing nearly instantly in Chrome.
I don't see much of a difference between the startup time of video on Chrome and Firefox. How repeatable is this for you?
(In reply to comment #1) > I don't see much of a difference between the startup time of video on Chrome > and Firefox. How repeatable is this for you? Pretty repeatable. I'll try to get some actual timings. One thing I notice is that Firefox will show the first frame and then wait before actually playing. Chrome starts playing as soon as something shows up.
When we don't know the length of the media (as in the live stream case here) we can't make an estimate of the bitrate, and so we won't start playback until we've downloaded for more than 3s (until we consider the "download rate reliable"). That's possibly the delay you're seeing. That decision is made in nsHTMLMediaElement::UpdateReadyStateForData(NextFrameStatus).
Summary: Video takes too long to start → Could start playing sooner on live streams
OS: Mac OS X → All
Hardware: x86 → All
Component: Audio/Video → Audio/Video: Playback
Mass closing do to inactivity. Feel free to re-open if still needed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.