• 大小: 87KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-11
  • 语言: Java
  • 标签: MediaPlayer  Http  Proxy  

资源简介

本文是在《玩转 Android MediaPlayer之视频预加载(优化)》基础上修复Http代理服务器(Http Proxy()透传的bug。前面几篇相关文章所用的代理服务器一个时间只能监听来自Mediaplayer的一个Request请求,但在实际项目开发过程中,发现有些支持m3u8格式Mediaplayer发出新的Request请求之前不会中断旧的Request请求,所以本文代码会加入多线程监听Request请求。

资源截图

代码片段和文件信息

/** Automatically generated file. DO NOT MODIFY */
package com.videoplayer;

public final class BuildConfig {
    public final static boolean DEBUG = true;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        380  2012-12-16 10:38  videoplayer_demo\.classpath

    I.A....       847  2012-07-30 09:53  videoplayer_demo\.project

    I.A....       115  2012-07-30 09:53  videoplayer_demo\.settings\org.eclipse.core.resources.prefs

    I.A....       629  2012-07-30 09:53  videoplayer_demo\.settings\org.eclipse.jdt.core.prefs

    I.A....      1263  2012-08-06 08:59  videoplayer_demo\AndroidManifest.xml

     文件       1263  2012-12-15 14:38  videoplayer_demo\bin\AndroidManifest.xml

     文件        423  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\Config$ProxyRequest.class

     文件        449  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\Config$ProxyResponse.class

     文件        719  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\Config.class

     文件       4497  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\DownloadThread.class

     文件        591  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\HttpGetProxy$1.class

     文件       1568  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\HttpGetProxy$2.class

     文件       4496  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\HttpGetProxy$Proxy.class

     文件       6506  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\HttpGetProxy.class

     文件       4195  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\HttpGetProxyUtils.class

     文件       5257  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\HttpParser.class

     文件       1249  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\Utils$1.class

     文件        959  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\Utils$2.class

     文件       1335  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\Utils$3.class

     文件       5541  2012-12-16 13:23  videoplayer_demo\bin\classes\com\proxy\Utils.class

     文件        339  2012-12-16 13:23  videoplayer_demo\bin\classes\com\videoplayer\BuildConfig.class

     文件        331  2012-12-16 13:23  videoplayer_demo\bin\classes\com\videoplayer\R$attr.class

     文件        391  2012-12-16 13:23  videoplayer_demo\bin\classes\com\videoplayer\R$drawable.class

     文件        381  2012-12-16 13:23  videoplayer_demo\bin\classes\com\videoplayer\R$id.class

     文件        385  2012-12-16 13:23  videoplayer_demo\bin\classes\com\videoplayer\R$layout.class

     文件        418  2012-12-16 13:23  videoplayer_demo\bin\classes\com\videoplayer\R$string.class

     文件        510  2012-12-16 13:23  videoplayer_demo\bin\classes\com\videoplayer\R.class

     文件       1506  2012-12-16 13:53  videoplayer_demo\bin\classes\com\videoplayer\testVideoPlayer$1.class

     文件       1282  2012-12-16 13:53  videoplayer_demo\bin\classes\com\videoplayer\testVideoPlayer$2.class

     文件        819  2012-12-16 13:53  videoplayer_demo\bin\classes\com\videoplayer\testVideoPlayer$3.class

............此处省略48个文件信息

评论

共有 条评论