Added streaming support
This commit is contained in:
parent
9cf32a2aa9
commit
7e61de3f65
|
@ -152,7 +152,7 @@ public class ExoPlayer implements IPlayer {
|
|||
// Produces Extractor instances for parsing the media data.
|
||||
ExtractorsFactory extractorsFactory = new DefaultExtractorsFactory();
|
||||
mediaSource = new ExtractorMediaSource(
|
||||
Uri.fromFile(new File(s)), dataSourceFactory, extractorsFactory, null, null);
|
||||
Uri.parse(s), dataSourceFactory, extractorsFactory, null, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue