mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01:20 -08:00
34 lines
987 B
JavaScript
34 lines
987 B
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'],
|
|
},
|
|
};
|