AndroidVideoCache
AndroidVideoCache copied to clipboard
Cache support for any video player with help of single line
I have a list of videos which is try to cache but somehow only the first few videos are being cached. urls.map { proxy.registerCacheListener(listener, it) uriList.add(Uri.parse(proxy.getProxyUrl(it))) } val mediaSource =...
com.danikula.videocache.ProxyCacheException: Error reading data from Version: 2.7.1 at com.danikula.videocache.HttpUrlSource.read(HttpUrlSource.java:129) at com.danikula.videocache.ProxyCache.readSource(ProxyCache.java:127) at com.danikula.videocache.ProxyCache.access$100(ProxyCache.java:19) at com.danikula.videocache.ProxyCache$SourceReaderRunnable.run(ProxyCache.java:187) at java.lang.Thread.run(Thread.java:784) Caused by: java.net.ProtocolException: unexpected end of stream at com.android.okhttp.internal.http.Http1xStream$FixedLengthSource.read(Http1xStream.java:396) at com.android.okhttp.okio.RealBufferedSource$1.read(RealBufferedSource.java:371) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)...
E/HttpProxyCacheServer: HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error closing socket input stream. Version: 2.7.1 at com.danikula.videocache.HttpProxyCacheServer.closeSocketInput(HttpProxyCacheServer.java:287) at com.danikula.videocache.HttpProxyCacheServer.releaseSocket(HttpProxyCacheServer.java:272) at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:245) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:54) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:340) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at...
can you cache mp3?
i want to authenticate the video url like I am doing it before downloading or live streaming. Basically my requirement is to authenticate the http client call. Can you please...
HttpProxyCacheServer error com.danikula.videocache.ProxyCacheException: Error processing request. Version: 2.7.0 at com.danikula.videocache.HttpProxyCacheServer.processSocket(HttpProxyCacheServer.java:241) at com.danikula.videocache.HttpProxyCacheServer.access$200(HttpProxyCacheServer.java:52) at com.danikula.videocache.HttpProxyCacheServer$SocketProcessorRunnable.run(HttpProxyCacheServer.java:338) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)
it server can not response content_length.the sourceinfo is -1,it will error
How to fix Error starting local proxy server ? change the host or port is a way?
com.danikula.videocache.ProxyCacheException: Error pinging server (attempts: 3, max timeout: 280). If you see this message, please, report at https://github.com/danikula/AndroidVideoCache/issues/134. Default proxies are: [DIRECT]. Version: 2.7.0 at com.danikula.videocache.Pinger.ping(Pinger.java:73) at com.danikula.videocache.HttpProxyCacheServer.isAlive(HttpProxyCacheServer.java:183) at com.danikula.videocache.HttpProxyCacheServer.(HttpProxyCacheServer.java:82)...