ksvc / KSYMediaPlayer_Android

金山云Android播放SDK(KSYUN Live Streaming player SDK),支持RTMP HTTP-FLV HLS 协议(supporting RTMP HTTP-FLV HLS protocol),直播延时2-3秒(Living delay 2 or 3 seconds),supporting jitter control,software&hardware decode
http://v.ksyun.com/
Apache License 2.0
856 stars 246 forks source link

java.lang.StackOverflowError #84

Open sunhonggit opened 7 years ago

sunhonggit commented 7 years ago

I used KSYMediaPlayer play files from local disk, but when my app download files from background, the KSYMediaPlayer occur StackOverflowError? why?

E/AndroidRuntime: FATAL EXCEPTION: Thread-631 java.lang.StackOverflowError at com.ksyun.media.player.https.a$2$1.verify(KsyHttpConnection.java:173) at com.ksyun.media.player.https.a$2$1.verify(KsyHttpConnection.java:173) at com.ksyun.media.player.https.a$2$1.verify(KsyHttpConnection.java:173) at com.ksyun.media.player.https.a$2$1.verify(KsyHttpConnection.java:173) at com.ksyun.media.player.https.a$2$1.verify(KsyHttpConnection.java:173) at com.ksyun.media.player.https.a$2$1.verify(KsyHttpConnection.java:173) at com.ksyun.media.player.https.a$2$1.verify(KsyHttpConnection.java:173)

sunhonggit commented 7 years ago

正常播放一个raw目录下的视频没有问题,只要app在后台线程下载图片的时候,很容易报栈溢出的错误,下载的图片和播放器没有关系,请帮忙看一下是什么问题,谢谢

FirmianaRain commented 7 years ago

这是已知问题,新版本会fix,大约这周三能发布

sunhonggit commented 7 years ago

您好,请问这个问题的修改方案是否已经提交?

FirmianaRain commented 7 years ago

请参考新版本:https://github.com/ksvc/KSYMediaPlayer_Android/releases/tag/v1.7.3