I\'m developing a video streaming application and I\'m getting stuck when calling set setDataSource with a FileDescriptor. I want my application to play the video as it is b
I was facing the same issue while loading video from obb extension file. i fixed it by replacing:
mPlayer.setDataSource(fd);
with:
mPlayer.setDataSource(fis.getFileDescriptor(),fis.getStartOffset(),fis.getLength());
where fis is AssetFileDescriptor