Managed media sourceLimited availability
The ManagedMediaSource API is a MediaSource where the browser manages the memory of source buffers and may evict data if needed.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
✕Not supportedup to 155
Current: 155Edge
✕Not supportedup to 154
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
1–16.6Not supported
17+Supportedsince Sep 18, 2023
Current: 27MobileChrome Android
✕Not supportedup to 155
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
1–17Not supported
17.1+Supportedsince Oct 25, 2023
Current: 27How to use
Not supported in Chrome, Edge, Firefox, Chrome Android, Firefox Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: ManagedMediaSource.
Feature detection
JS · check before using
if ("ManagedMediaSource" in globalThis) {
// ManagedMediaSource is available
} else {
// load a polyfill or use a fallback
}Sub-features
Support for each part of the feature (7). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| ManagedMediaSource | ✕ | ✕ | ✕ | 17 | ✕ | ✕ | 17.1 |
| ManagedMediaSource.ManagedMediaSource | ✕ | ✕ | ✕ | 17 | ✕ | ✕ | 17.1 |
| ManagedMediaSource.endstreaming_event | ✕ | ✕ | ✕ | 17 | ✕ | ✕ | 17.1 |
| ManagedMediaSource.startstreaming_event | ✕ | ✕ | ✕ | 17 | ✕ | ✕ | 17.1 |
| ManagedMediaSource.streaming | ✕ | ✕ | ✕ | 17 | ✕ | ✕ | 17.1 |
| ManagedSourceBuffer | ✕ | ✕ | ✕ | 17 | ✕ | ✕ | 17.1 |
| ManagedSourceBuffer.bufferedchange_event | ✕ | ✕ | ✕ | 17 | ✕ | ✕ | 17.1 |