pedroSG94 / vlc-example-streamplayer

Example code how to play a stream with VLC
GNU General Public License v3.0
229 stars 93 forks source link

Video stops as soon as app goes to background #27

Open theiosdevguy opened 5 years ago

theiosdevguy commented 5 years ago

Hello,

Currently as soon as the app goes to background, the video stops and does not resume when app comes into foreground again. The only way currently is to stop the video in onPause of activity and restart in onResume. Is there a way to keep the video playing in background? I checked and the libVLC supports playing video in background since version 1.x. How can we enable the vlc provided feature?

Thanks

pedroSG94 commented 5 years ago

I don't know. You can try ask to VLC developers in official repository. I compiled this library from there: https://code.videolan.org/videolan/vlc-android