bambuser / BambuserPlayerSDK-Android

This project demonstrates how is the integration of Bambuser's Player SDK in an native Android application
Apache License 2.0
1 stars 1 forks source link

IllegalStateException after closing player #10

Closed SergioPoq closed 6 months ago

SergioPoq commented 10 months ago

After using the seekbar and closing the player, sometimes the app crashes with the following error:

java.lang.IllegalStateException
    at android.media.MediaPlayer.getCurrentPosition(Native Method)
    at com.bambuser.broadcaster.NiceMediaPlayer.getCurrentPosition(SourceFile:2)
    at com.bambuser.broadcaster.BroadcastPlayer.getCurrentPosition(SourceFile:2)
    at com.bambuser.player.m5.d(SourceFile:126)
    at com.bambuser.player.yd.run(SourceFile:4)
    at java.util.TimerThread.mainLoop(Timer.java:562)
    at java.util.TimerThread.run(Timer.java:512)
JennyBambuser commented 9 months ago

Thank you for your feedback, we are currently looking into the issue

SimovicIvan commented 6 months ago

Should be fixed in 1.1.5, please let us know if you can still reproduce.