Closed Bug 1191712 Opened 5 years ago Closed 4 years ago
Use lower memory threshold for audio only source buffer
MediaSource currently uses a memory threshold of 100MiB for its sourcebuffers regardless of the content type. While 100MiB is appropriate for video, for audio only sourcebuffer it doesn't make any sense. 100MiB of buffer to keep audio allows for over one hour of buffer. This defeat the purpose of mediasource which allows to narrowly control what and how much data is fed to the media element. Chrome according to their literature uses 150MB for video and 12MB for audio. I think we could easily reduce it to 15MB which gives us over 9 minutes of audio buffer if we use YouTube as a reference.
Target for 43; no need to upload to 42. Doing this in time would make more since than size. The spec does specify sizes though, and we'd need to work with player authors to make sure they work with the buffering we provide.
Priority: -- → P2
ended up being fixed in bug 1216460
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1216460
You need to log in before you can comment on or make changes to this bug.