Closed Bug 572235 Opened 16 years ago Closed 16 years ago

Increase default media cache size from 50MB to 500MB

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: kinetik, Assigned: kinetik)

Details

Attachments

(1 file)

Attached patch patch v0 — — Splinter Review
The old default (50MB) was selected fairly arbitrarily and turns out to be pretty small for common real-world videos. A single average length 360p video can be ~90MB on YouTube (and ~270MB for 720p).
Attachment #451411 - Flags: review?(roc)
Keywords: checkin-needed
Whiteboard: [needs landing]
http://hg.mozilla.org/mozilla-central/rev/5c557d4dd0c7 We discussed this at the office. If we can't play through the entire media, we won't fire canplaythrough until the mediacache entirely fills. With a larger media cache, we'll delay this (last ditch) canplaythrough firing further. If some existing controls/players out there solely rely on canplaythrough in order to start playback (perhaps dailymotion?) then they may delay starting playback much longer now. We hope that the soon-to-be-added-in-Firefox HTMLMediaElement.buffered attribute will be used by custom controls to determine whether video playback should start, rather than the canplaythrough event.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [needs landing]
OS: Mac OS X → All
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: