yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

how to feed data to MediaPlayer #443

Open xdf103 opened 7 years ago

xdf103 commented 7 years ago

We are trying to use Vitamio's MediaPlayer to play a live stream. The stream is specially encoded, so we have to decode the stream into byte array and feed the byte array to MediaPlayer. We try using the pipe method, but keep getting "EPIPE (Broken pipe)". Is there any way to feed byte array data continuously to MediaPlayer?