I am using a USB device connected to my Android device.
this device will send me a buffer containing a video frame; it doses it continuously.
When I receive the buffer, I have to put a specific header in it and write it to the SD card as an m4v file.
then I have to play it in the media player while it works fine, but I have to show the video live. as soon as the USB device sends me a buffer, I have to process it and play it so that I can show the video.
My question is: how to play a video file from a byte buffer without saving it to an SD card?
android byte video
Amin.Frg
source share