Thank you, I had tried that method, but it fails with 400mb vidoes. When I try with a 20 mb video, it plays the sound but there is no display.
Here is the code:
byte[] bytes = bfile.getBytes(1, (int)length);
source = new MediaSource(buffer);
player.play(source);
byte[] bytes = bfile.getBytes(1, (int)length);
QBuffer buffer = new QBuffer(new QByteArray(bytes));
source = new MediaSource(buffer);
player.play(source);
To copy to clipboard, switch view to plain text mode
Even if this method works, it's still too slow since it needs all the video in memory before starting to play. That's why I need streaming. Thanks again for your interest...
Bookmarks