{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/748","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/748/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/748/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/748/events","html_url":"https://github.com/google/ExoPlayer/issues/748","id":103976301,"number":748,"title":"I found a strange bug may be due to proguard.","user":{"login":"AlanCheen","id":6982439,"avatar_url":"https://avatars.githubusercontent.com/u/6982439?v=3","gravatar_id":"","url":"https://api.github.com/users/AlanCheen","html_url":"https://github.com/AlanCheen","followers_url":"https://api.github.com/users/AlanCheen/followers","following_url":"https://api.github.com/users/AlanCheen/following{/other_user}","gists_url":"https://api.github.com/users/AlanCheen/gists{/gist_id}","starred_url":"https://api.github.com/users/AlanCheen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlanCheen/subscriptions","organizations_url":"https://api.github.com/users/AlanCheen/orgs","repos_url":"https://api.github.com/users/AlanCheen/repos","events_url":"https://api.github.com/users/AlanCheen/events{/privacy}","received_events_url":"https://api.github.com/users/AlanCheen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/ExoPlayer/labels/need%20more%20info","name":"need more info","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-31T02:50:34Z","updated_at":"2015-09-01T02:39:26Z","closed_at":null,"body":"\r\nI found my app can't play some videos well when i proguarded my app but play the same video well when debug.\r\n\r\nAt first i think it's Color OS's bug,cause it happens on ColorOS only but when i build a debug app it plays well.\r\n\r\nThen, i tried the exoplayer demo ,but nothing changed.\r\n\r\nSo i think may be it's the proguard affect the exoplayer? I can't find any other reason.  \r\n\r\ne.g. URL : `http://s.5dktv.com/hls/f4/30100127_72_1.m3u8`\r\n\r\nThe log when can't play:\r\n```\r\n08-31 10:07:24.297  23357-23357/? D/EventLogger﹕ start [0]\r\n08-31 10:07:24.297  23357-23357/? D/EventLogger﹕ state [0.00, false, P]\r\n08-31 10:07:24.307  23357-23357/? D/EventLogger﹕ state [0.01, true, P]\r\n08-31 10:07:27.841  23357-23357/? D/EventLogger﹕ state [3.54, true, B]\r\n08-31 10:07:27.851  23357-23357/? D/EventLogger﹕ videoFormat [3.55, 0, 0]\r\n08-31 10:07:28.001  23357-23357/? D/EventLogger﹕ decoderInitialized [3.70, OMX.qcom.video.decoder.avc]\r\n08-31 10:07:28.262  23357-23357/? D/EventLogger﹕ videoSizeChanged [320, 568, 1.0]\r\n08-31 10:07:29.673  23357-23357/? D/EventLogger﹕ state [5.38, true, R]\r\n08-31 10:07:29.893  23357-23357/? E/EventLogger﹕ internalError [5.59, loadError]\r\n    com.google.android.exoplayer.i.u$d: Unexpected ArrayIndexOutOfBoundsException: length=9; index=9\r\n            at com.google.android.exoplayer.i.u$b.run(Loader.java:222)\r\n            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)\r\n            at java.util.concurrent.FutureTask.run(FutureTask.java:234)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)\r\n            at java.lang.Thread.run(Thread.java:856)\r\n     Caused by: java.lang.ArrayIndexOutOfBoundsException: length=9; index=9\r\n            at com.google.android.exoplayer.j.n.c(ParsableBitArray.java:147)\r\n            at com.google.android.exoplayer.e.c.k$b.b(TsExtractor.java:552)\r\n            at com.google.android.exoplayer.e.c.k$b.a(TsExtractor.java:471)\r\n            at com.google.android.exoplayer.e.c.k.a(TsExtractor.java:149)\r\n            at com.google.android.exoplayer.f.c.a(HlsExtractorWrapper.java:225)\r\n            at com.google.android.exoplayer.f.p.h(TsChunk.java:110)\r\n            at com.google.android.exoplayer.i.u$b.run(Loader.java:209)\r\n            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)\r\n            at java.util.concurrent.FutureTask.run(FutureTask.java:234)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)\r\n            at java.lang.Thread.run(Thread.java:856)\r\n08-31 10:07:30.814  23357-23357/? E/EventLogger﹕ internalError [6.51, loadError]\r\n    com.google.android.exoplayer.i.s$a: Unable to connect to http://s.5dktv.com/hls/f4/30100127_72_1-0.ts\r\n            at com.google.android.exoplayer.i.p.a(DefaultHttpDataSource.java:192)\r\n            at com.google.android.exoplayer.i.q.a(DefaultUriDataSource.java:136)\r\n            at com.google.android.exoplayer.f.p.h(TsChunk.java:103)\r\n            at com.google.android.exoplayer.i.u$b.run(Loader.java:209)\r\n            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)\r\n            at java.util.concurrent.FutureTask.run(FutureTask.java:234)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)\r\n            at java.lang.Thread.run(Thread.java:856)\r\n     Caused by: java.net.ConnectException: failed to connect to s.5dktv.com/221.181.200.237 (port 80) after 8000ms: connect failed: ENETUNREACH (Network is unreachable)\r\n            at libcore.io.IoBridge.connect(IoBridge.java:114)\r\n            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)\r\n            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)\r\n            at java.net.Socket.connect(Socket.java:842)\r\n            at libcore.net.http.HttpConnection.<init>(HttpConnection.java:76)\r\n            at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)\r\n            at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)\r\n            at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)\r\n            at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)\r\n            at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)\r\n            at libcore.net.http.HttpEngine.connect(HttpEngine.java:311)\r\n            at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)\r\n            at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)\r\n            at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:81)\r\n            at com.google.android.exoplayer.i.p.b(DefaultHttpDataSource.java:340)\r\n            at com.google.android.exoplayer.i.p.a(DefaultHttpDataSource.java:190)\r\n            at com.google.android.exoplayer.i.q.a(DefaultUriDataSource.java:136)\r\n            at com.google.android.exoplayer.f.p.h(TsChunk.java:103)\r\n            at com.google.android.exoplayer.i.u$b.run(Loader.java:209)\r\n            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)\r\n            at java.util.concurrent.FutureTask.run(FutureTask.java:234)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)\r\n            at java.lang.Thread.run(Thread.java:856)\r\n     Caused by: libcore.io.ErrnoException: connect failed: ENETUNREACH (Network is unreachable)\r\n            at libcore.io.Posix.connect(Native Method)\r\n            at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)\r\n            at libcore.io.IoBridge.connectErrno(IoBridge.java:144)\r\n            at libcore.io.IoBridge.connect(IoBridge.java:112)\r\n            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)\r\n            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)\r\n            at java.net.Socket.connect(Socket.java:842)\r\n            at libcore.net.http.HttpConnection.<init>(HttpConnection.java:76)\r\n            at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)\r\n            at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)\r\n            at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)\r\n            at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)\r\n            at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)\r\n            at libcore.net.http.HttpEngine.connect(HttpEngine.java:311)\r\n            at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)\r\n            at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)\r\n            at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:81)\r\n            at com.google.android.exoplayer.i.p.b(DefaultHttpDataSource.java:340)\r\n            at com.google.android.exoplayer.i.p.a(DefaultHttpDataSource.java:190)\r\n            at com.google.android.exoplayer.i.q.a(DefaultUriDataSource.java:136)\r\n            at com.google.android.exoplayer.f.p.h(TsChunk.java:103)\r\n            at com.google.android.exoplayer.i.u$b.run(Loader.java:209)\r\n            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)\r\n            at java.util.concurrent.FutureTask.run(FutureTask.java:234)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)\r\n            at java.lang.Thread.run(Thread.java:856)\r\n08-31 10:07:30.844  23357-23357/? D/EventLogger﹕ state [6.55, true, B]\r\n08-31 10:07:31.825  23357-23357/? E/EventLogger﹕ internalError [7.52, loadError]\r\n    com.google.android.exoplayer.i.s$a: Unable to connect to http://s.5dktv.com/hls/f4/30100127_72_1-0.ts\r\n            at com.google.android.exoplayer.i.p.a(DefaultHttpDataSource.java:192)\r\n            at com.google.android.exoplayer.i.q.a(DefaultUriDataSource.java:136)\r\n            at com.google.android.exoplayer.f.p.h(TsChunk.java:103)\r\n            at com.google.android.exoplayer.i.u$b.run(Loader.java:209)\r\n            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)\r\n            at java.util.concurrent.FutureTask.run(FutureTask.java:234)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)\r\n            at java.lang.Thread.run(Thread.java:856)\r\n     Caused by: java.net.ConnectException: failed to connect to s.5dktv.com/221.181.200.237 (port 80) after 8000ms: connect failed: ENETUNREACH (Network is unreachable)\r\n            at libcore.io.IoBridge.connect(IoBridge.java:114)\r\n            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)\r\n            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)\r\n            at java.net.Socket.connect(Socket.java:842)\r\n            at libcore.net.http.HttpConnection.<init>(HttpConnection.java:76)\r\n            at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)\r\n            at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)\r\n            at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)\r\n            at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)\r\n            at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)\r\n            at libcore.net.http.HttpEngine.connect(HttpEngine.java:311)\r\n            at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)\r\n            at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)\r\n            at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:81)\r\n            at com.google.android.exoplayer.i.p.b(DefaultHttpDataSource.java:340)\r\n            at com.google.android.exoplayer.i.p.a(DefaultHttpDataSource.java:190)\r\n            at com.google.android.exoplayer.i.q.a(DefaultUriDataSource.java:136)\r\n            at com.google.android.exoplayer.f.p.h(TsChunk.java:103)\r\n            at com.google.android.exoplayer.i.u$b.run(Loader.java:209)\r\n            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)\r\n            at java.util.concurrent.FutureTask.run(FutureTask.java:234)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)\r\n            at java.lang.Thread.run(Thread.java:856)\r\n     Caused by: libcore.io.ErrnoException: connect failed: ENETUNREACH (Network is unreachable)\r\n            at libcore.io.Posix.connect(Native Method)\r\n            at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)\r\n            at libcore.io.IoBridge.connectErrno(IoBridge.java:144)\r\n            at libcore.io.IoBridge.connect(IoBridge.java:112)\r\n            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)\r\n            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)\r\n            at java.net.Socket.connect(Socket.java:842)\r\n            at libcore.net.http.HttpConnection.<init>(HttpConnection.java:76)\r\n            at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)\r\n            at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)\r\n            at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)\r\n            at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)\r\n            at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)\r\n            at libcore.net.http.HttpEngine.connect(HttpEngine.java:311)\r\n            at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)\r\n            at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)\r\n            at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:81)\r\n            at com.google.android.exoplayer.i.p.b(DefaultHttpDataSource.java:340)\r\n            at com.google.android.exoplayer.i.p.a(DefaultHttpDataSource.java:190)\r\n            at com.google.android.exoplayer.i.q.a(DefaultUriDataSource.java:136)\r\n            at com.google.android.exoplayer.f.p.h(TsChunk.java:103)\r\n            at com.google.android.exoplayer.i.u$b.run(Loader.java:209)\r\n            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)\r\n            at java.util.concurrent.FutureTask.run(FutureTask.java:234)\r\n            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)\r\n            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)\r\n            at java.lang.Thread.run(Thread.java:856)\r\n08-31 10:07:33.827  23357-23357/? E/EventLogger﹕ internalError [9.53, loadError]\r\n08-31 10:07:33.847  23357-23357/? E/EventLogger﹕ playerFailed [9.55]\r\n08-31 10:07:34.008  23357-23357/? D/EventLogger﹕ state [9.70, true, I]\r\n08-31 10:07:35.549  23357-23357/? D/EventLogger﹕ end [11.25]\r\n\r\n```\r\nSorry for my poor english,may the url and log will help you understand what i said.\r\nThank you in advance.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/136557402","html_url":"https://github.com/google/ExoPlayer/issues/748#issuecomment-136557402","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/748","id":136557402,"user":{"login":"AlanCheen","id":6982439,"avatar_url":"https://avatars.githubusercontent.com/u/6982439?v=3","gravatar_id":"","url":"https://api.github.com/users/AlanCheen","html_url":"https://github.com/AlanCheen","followers_url":"https://api.github.com/users/AlanCheen/followers","following_url":"https://api.github.com/users/AlanCheen/following{/other_user}","gists_url":"https://api.github.com/users/AlanCheen/gists{/gist_id}","starred_url":"https://api.github.com/users/AlanCheen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlanCheen/subscriptions","organizations_url":"https://api.github.com/users/AlanCheen/orgs","repos_url":"https://api.github.com/users/AlanCheen/repos","events_url":"https://api.github.com/users/AlanCheen/events{/privacy}","received_events_url":"https://api.github.com/users/AlanCheen/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T02:39:26Z","updated_at":"2015-09-01T02:39:26Z","body":"BTW,there is nothing in my proguard-rules.pro file.\r\nJust set minifyEnabled :\r\n```\r\nbuildTypes {\r\n        release {\r\n            minifyEnabled true\r\n            signingConfig signingConfigs.adhoc\r\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\r\n        }\r\n    }\r\n```"}}