vlc-android-sdk
vlc-android-sdk copied to clipboard
MediaPlayer stop() cause freezing app
Whenever I call stop() method of MediaPlayer class, the app was freezing in about 20 seconds. This is a bug or I did something wrong?
I have that bug too. I tried to use mMediaPlayer.release(). dont helped
Same problem here too. In 1.9.8 version this did not occur
Version 2.1.0 works good
But it is not available via gradle, or is it ?
Not via gradle. I connected via module. Later i give work link.
@baralgin1003 Please do ! Any help will be much appreciated
@danriza open that project and compile https://github.com/leeib/vlc-android-2.1.0 (in android studio under Windows) Then return into your project and go File-New-Import module, select folder libvlc and import this in your project. In build.grade add compile project(':libvlc') profit
@baralgin1003 I've tried vlc 2.1.0 but there's a issue with SurfaceView. When I stream video with MJPEG url, the SurfaceView' content was scaled down (not scaled to fill its specific size). This issue did not occur when streaming with MP4 url. However, when I use version 2.0.6, the SurfaceView's issue is gone. What's wrong with MJPEG in version 2.1.0?