Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content
For additional information, see https://www.w3.org/TR/media-source-2/#dom-sourcebufferlist.

Properties

length

readonly length: number
Gets the length of the source buffer list. For additional information, see https://www.w3.org/TR/media-source-2/#dom-sourcebufferlist-length.

onaddsourcebuffer

onaddsourcebuffer: EventListener
For additional information, see https://www.w3.org/TR/2016/REC-media-source-20161117/#dom-sourcebufferlist-onaddsourcebuffer

Parameters

event?
import("./EventTargetInterface").Event | import("./EventTargetInterface").TrackEvent | import("./EventTargetInterface").MediaEncryptedEvent

onremovesourcebuffer

onremovesourcebuffer: EventListener
For additional information, see https://www.w3.org/TR/media-source-2/#dom-sourcebufferlist-onremovesourcebuffer

Parameters

event?
import("./EventTargetInterface").Event | import("./EventTargetInterface").TrackEvent | import("./EventTargetInterface").MediaEncryptedEvent
Last modified on August 25, 2026