Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing when stop playing recorded livestream #36

Open
4netinteractive opened this issue Jun 18, 2015 · 2 comments
Open

Crashing when stop playing recorded livestream #36

4netinteractive opened this issue Jun 18, 2015 · 2 comments

Comments

@4netinteractive
Copy link

On some Android 4.2 devices we tested we have sometimes the issue that it crashes at the end of the recorded livestream with the Kickflip MediaPlayer integrated in the SDK.

Any idea what causes this and how this can be solved?

Stacktrace:
E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.cloozup.app, PID: 31217
java.lang.IllegalStateException
at android.media.MediaPlayer.getCurrentPosition(Native Method)
at io.kickflip.sdk.fragment.MediaPlayerFragment.getCurrentPosition(MediaPlayerFragment.java:245)
at android.widget.MediaController.setProgress(MediaController.java:423)
at android.widget.MediaController.access$500(MediaController.java:71)
at android.widget.MediaController$3.handleMessage(MediaController.java:394)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5356)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at dalvik.system.NativeStart.main(Native Method)

@OnlyInAmerica
Copy link
Member

Kickflip's minimum Android version is 4.3, but if all you're doing is playback that should be fine.

Would you be able to email me the link of the stream in question? It's possible the manifest was corrupted. Feel free to email me (see my Github profile for my address).

Aso I must say that Google's ExoPlayer is now the best choice for HLS playback on Android.

@4netinteractive
Copy link
Author

Hi,

Thanks for your quick reply. I don't think a manifest is corrupted because it only happens now and then. The devices were tested with android 4.4.2 (sorry not 4.2). We will have a look at the ExoPlayer and see if that is doing better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant