Android ExoPlayer ConcatenatingMediaSource自动播放下一个活动到哪里去?

时间:2017-06-06 08:56:05

标签: android exoplayer

extractorMediaSource = new ExtractorMediaSource[list.size()];

for (int i = 0; i < list.size(); i++) {
    extractorMediaSource[i] = new ExtractorMediaSource(Uri.parse(list.get(i).getMusicBean().getPath()), 
    dataSourceFactory, extractorsFactory, null, null);
}

concatenatingMediaSource = new ConcatenatingMediaSource(extractorMediaSource);
concatenatingMediaSource.releaseSource();
loopingMediaSource = new LoopingMediaSource(concatenatingMediaSource);
mSimpleExoPlayer.prepare(loopingMediaSource);

我想知道,ConcatenatingMediaSource自动播放下一个活动地点?

0 个答案:

没有答案