Open faifai123 opened 10 years ago
please edit this ticket and include as many details as possible like:
If you can share your url, it would be even better. Thanks,
09-05 17:31:04.403: E/WindowManager(32351): at android.os.MessageQueue.nativePollOnce(Native Method) 09-05 17:31:04.403: E/WindowManager(32351): at android.os.MessageQueue.next(MessageQueue.java:128) 09-05 17:31:04.403: E/WindowManager(32351): at android.os.Looper.loop(Looper.java:151) 09-05 17:31:04.403: E/WindowManager(32351): at android.app.ActivityThread.main(ActivityThread.java:5453) 09-05 17:31:04.403: E/WindowManager(32351): at java.lang.reflect.Method.invokeNative(Native Method) 09-05 17:31:04.403: E/WindowManager(32351): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:857) 09-05 17:31:04.403: E/WindowManager(32351): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624) 09-05 17:31:04.403: E/WindowManager(32351): at dalvik.system.NativeStart.main(Native Method) 09-05 17:31:04.404: E/InputEventReceiver(32351): channel '43d48c70 Panel:com.google.android.exoplayer.demo/com.google.android.exoplayer.demo.full.FullPlayerActivity (client)' ~ Publisher closed input channel or an error occurred. events=0x9
Thanks !
Your backtrace misses the first line with the actual type of the exception. What's more, it really does not look like a HLS problem...
Here's the whole message in LogCat:
09-05 17:45:40.442: D/HLSSampleSource(404): 133: chunkTask (20839369) http://domain.com/VM01.mp4Frag133Num133.ts
09-05 17:45:40.442: I/System.out(404): [CDS]rx timeout:8000
09-05 17:45:40.518: I/SurfaceTextureClient(404): STC::queueBuffer fps:25.03, dur:1038.96, max:46.42, min:31.63
09-05 17:45:41.269: I/dalvikvm-heap(404): Clamp target GC heap from 138.281MB to 128.000MB
09-05 17:45:41.270: D/dalvikvm(404): GC_FOR_ALLOC freed 1595K (10706), 2% free 129189K/131016K, paused 284ms, total 284ms
09-05 17:45:41.270: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:308.22
09-05 17:45:41.297: D/HLSSampleSource(404): 134: chunkTask (21015986) http://domain.com/VM01.mp4Frag134Num134.ts
09-05 17:45:41.297: D/EventLogger(404): droppedFrames [83.72, 1]
09-05 17:45:41.297: I/System.out(404): [CDS]rx timeout:8000
09-05 17:45:41.298: D/EventLogger(404): droppedFrames [83.72, 1]
09-05 17:45:41.299: D/EventLogger(404): droppedFrames [83.72, 1]
09-05 17:45:41.301: D/EventLogger(404): droppedFrames [83.72, 1]
09-05 17:45:41.304: D/EventLogger(404): droppedFrames [83.72, 1]
09-05 17:45:41.316: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:5.51
09-05 17:45:41.435: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:52.81
09-05 17:45:41.486: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:50.99
09-05 17:45:41.549: I/SurfaceTextureClient(404): STC::queueBuffer fps:18.42, dur:1031.45, max:308.22, min:5.51
09-05 17:45:41.549: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:63.54
09-05 17:45:41.601: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:51.50
09-05 17:45:41.655: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:53.65
09-05 17:45:41.705: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:50.78
09-05 17:45:41.755: W/SurfaceTextureClient(404): [STC::queueBuffer(Media)] this:0x63bee100, api:3, abnormal interval:50.13
09-05 17:45:42.099: I/dalvikvm-heap(404): Clamp target GC heap from 139.054MB to 128.000MB
09-05 17:45:42.099: D/dalvikvm(404): GC_FOR_ALLOC freed 289K (2085), 1% free 129981K/131016K, paused 284ms, total 284ms
09-05 17:45:42.099: I/dalvikvm-heap(404): Forcing collection of SoftReferences for 512016-byte allocation
09-05 17:45:42.398: I/dalvikvm-heap(404): Clamp target GC heap from 139.044MB to 128.000MB
09-05 17:45:42.398: D/dalvikvm(404): GC_BEFORE_OOM freed 14K (62), 1% free 129966K/131016K, paused 299ms, total 299ms
09-05 17:45:42.398: E/dalvikvm-heap(404): Out of memory on a 512016-byte allocation.
09-05 17:45:42.398: I/dalvikvm(404): "AsyncTask #4" prio=5 tid=17 RUNNABLE JIT
09-05 17:45:42.398: I/dalvikvm(404): | group="main" sCount=0 dsCount=0 obj=0x42c421f8 self=0x63c59e20
09-05 17:45:42.398: I/dalvikvm(404): | sysTid=769 nice=10 sched=0/0 cgrp=apps/bg_non_interactive handle=1698649984
09-05 17:45:42.398: I/dalvikvm(404): | state=R schedstat=( 1995126688 1036955927 3139 ) utm=167 stm=32 core=2
09-05 17:45:42.398: I/dalvikvm(404): at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
09-05 17:45:42.402: I/dalvikvm(404): at java.nio.MemoryBlock.allocate(MemoryBlock.java:126)
09-05 17:45:42.402: I/dalvikvm(404): at java.nio.ReadWriteDirectByteBuffer.
ok, it's a Out-Of-Memory error. I'll look into it.
Hi Martin, any luck?
Any update? We are also facing similar issue
When are you planning to fix it? We are using it for HLS and want to release our app. Hoping to get your response, Martin.
Thanks for this library.
Dear Martin,
I tried the demo and added a HLS video (H.264 .m3u8) with 13 hours long and played 5 minutes and the app was crashed. I tried it on Samsung S4, Sony Xperia Z1 Compact, Red Mi and got the same result. Would you please have a look? Would the cause be that the video was too long? Thanks.