In my video player when i try to play MKV Matroska file it stay still the video is not playing.
MKV Matroska
i followed CodeLabs and ExoPlayer Dev and build player it
Try to make MediaSource like this:
MediaSource
private MediaSource buildMediaSource(Uri uri) { DataSource.Factory dataSourceFactory = new DefaultDataSourceFactory(this, "exoplayer"); return new ExtractorMediaSource.Factory(dataSourceFactory) .createMediaSource(uri); }