as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
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
最后修改于 2026年8月25日