vlc-android-sdk icon indicating copy to clipboard operation
vlc-android-sdk copied to clipboard

MediaPlayer stop() cause freezing app

Open nguyenhoanglam opened this issue 8 years ago • 8 comments

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?

nguyenhoanglam avatar Mar 21 '17 17:03 nguyenhoanglam

I have that bug too. I tried to use mMediaPlayer.release(). dont helped

baralgin1003 avatar Mar 22 '17 09:03 baralgin1003

Same problem here too. In 1.9.8 version this did not occur

danriza avatar Apr 07 '17 07:04 danriza

Version 2.1.0 works good

baralgin1003 avatar Apr 07 '17 15:04 baralgin1003

But it is not available via gradle, or is it ?

danriza avatar Apr 07 '17 15:04 danriza

Not via gradle. I connected via module. Later i give work link.

baralgin1003 avatar Apr 07 '17 15:04 baralgin1003

@baralgin1003 Please do ! Any help will be much appreciated

danriza avatar Apr 10 '17 07:04 danriza

@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 avatar Apr 11 '17 04:04 baralgin1003

@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?

nguyenhoanglam avatar May 22 '17 15:05 nguyenhoanglam