Skip to content

Commit

Permalink
Merge branch 'refactor-live' of https://github.com/bytedance/xgplayer
Browse files Browse the repository at this point in the history
…into refactor-live-loaderbuffer
  • Loading branch information
yqjiang committed Sep 20, 2019
2 parents 70c7c1d + 6e528d3 commit c7596a0
Show file tree
Hide file tree
Showing 26 changed files with 8,433 additions and 106 deletions.
158 changes: 158 additions & 0 deletions packages/xgplayer-flv/browser/index.dev.js

Large diffs are not rendered by default.

158 changes: 158 additions & 0 deletions packages/xgplayer-flv/dist/index.dev.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion packages/xgplayer-flv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@
"webpack": "^4.12.0",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^2.11.1",
"webpack-merge": "^4.2.2"
"webpack-merge": "^4.2.2",
"xgplayer-buffer": "^1.0.0",
"xgplayer-loader-fetch": "^1.0.0",
"xgplayer-utils": "^1.0.0",
"xgplayer-remux": "^1.0.0"
},
"peerDependency": {
"xgplayer": "^0.1.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/xgplayer-flv/src/Flv.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import FlvDemuxer from './parse/demux'
import Mp4Remuxer from 'xgplayer-remux/src/mp4'
import FetchLoader from 'xgplayer-loader-fetch/src/index'
import { XgBuffer } from 'xgplayer-buffer/src/index'
import { Tracks } from 'xgplayer-buffer/src/track'
import { REMUX_EVENTS, DEMUX_EVENTS } from '../../xgplayer-utils/src/constants/events'
import FetchLoader from 'xgplayer-loader-fetch'
import { XgBuffer } from 'xgplayer-buffer/dist/index'
import { Tracks } from 'xgplayer-buffer/dist/track'
import { REMUX_EVENTS, DEMUX_EVENTS } from 'xgplayer-utils/dist/constants/events'
import MSE from './parse/MSE'

const Tag = 'FLVController'
Expand Down
4 changes: 2 additions & 2 deletions packages/xgplayer-flv/src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Player from 'xgplayer'
import Context from '../../xgplayer-utils/src/Context'
import Context from 'xgplayer-utils/dist/Context'
import FLV from './Flv'
import allEvents, { flvAllowedEvents } from '../../xgplayer-utils/src/constants/events'
import allEvents, { flvAllowedEvents } from 'xgplayer-utils/dist/constants/events'

const isEnded = (player, flv) => {
if (!player.config.isLive) {
Expand Down
Loading

0 comments on commit c7596a0

Please sign in to comment.