成功读取tags

This commit is contained in:
Harvey Zack committed 2018-12-18 16:46:00 +08:00
1 parent 52458bb95e
commit 3a50f7ea86
8 files changed
+170 -18

No files matched your search

@@ -2,6 +2,7 @@ import Emitter from 'tiny-emitter';
import checkSupport from './utils/checkSupport';
import EventProxy from './eventProxy';
import CreatMediaSource from './creatMediaSource';
import LoadFile from './loadFile';
import * as utils from './utils';
import config from './config';
@@ -33,6 +34,7 @@ class Flv extends Emitter {
load() {
this.events = new EventProxy(this);
this.mediaSource = new CreatMediaSource(this);
this.file = new LoadFile(this);
this.emit('load');
}