libvlc
has support to accept a file descriptor as a valid piece of media. AssetManager
allows you to grab an asset as a file descriptor. If I feed the assets file descriptor to libvlc
, nothing plays and it stops immediately after attempting to play from the file descriptor. Is there a reason this doesn't work like this?
Asked
Active
Viewed 673 times
0

fasteque
- 4,309
- 8
- 38
- 50

kevin-lisnr
- 43
- 7
1 Answers
0
So it seems the reason is that the fd given by any AssetManager
asset is actually the fd for the whole application package. It is expected that you seek to the place given by getStartOffset
. Looks like I need to find a way to inform libvlc about this.

kevin-lisnr
- 43
- 7