update common code

This commit is contained in:
Harvey Zack committed 2018-10-12 17:16:49 +08:00
1 parent 495782f5c6
commit 11bc295663
14 files changed
+59 -44

No files matched your search

-1
View File
@@ -85,7 +85,6 @@ export default class Mse {
this.art.on('mediaSource:sourceopen', () => {
this.sourceBuffer = this.mediaSource.addSourceBuffer(option.mimeCodec);
sourceBuffer.events.forEach(eventName => {
this.sourceBuffer.addEventListener(eventName, this.sourceBufferEventFn);
this.art.destroyEvents.push(() => {