mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-14 00:06:17 -08:00
59 lines
1.3 KiB
JavaScript
59 lines
1.3 KiB
JavaScript
export default {
|
|
mediaSource: {
|
|
propertys: [
|
|
'activeSourceBuffers',
|
|
'duration',
|
|
'readyState',
|
|
'sourceBuffers',
|
|
],
|
|
methods: [
|
|
'addSourceBuffer',
|
|
'endOfStream',
|
|
'removeSourceBuffer',
|
|
'clearLiveSeekableRange',
|
|
'setLiveSeekableRange',
|
|
],
|
|
events: [
|
|
'sourceclose',
|
|
'sourceended',
|
|
'sourceopen',
|
|
],
|
|
},
|
|
sourceBuffer: {
|
|
propertys: [
|
|
'mode',
|
|
'updating',
|
|
'buffered',
|
|
'timestampOffset',
|
|
'audioTracks',
|
|
'videoTracks',
|
|
'textTracks',
|
|
'appendWindowStart',
|
|
'appendWindowEnd',
|
|
'trackDefaults',
|
|
],
|
|
methods: [
|
|
'appendBuffer',
|
|
'appendStream',
|
|
'abort',
|
|
'remove',
|
|
],
|
|
events: [
|
|
'abort',
|
|
'error',
|
|
'update',
|
|
'updateend',
|
|
'updatestart',
|
|
],
|
|
},
|
|
sourceBufferList: {
|
|
propertys: [
|
|
'length',
|
|
],
|
|
events: [
|
|
'addsourcebuffer',
|
|
'removesourcebuffer',
|
|
],
|
|
},
|
|
};
|