玩转 Android MediaPlayer之视频预加载

上传者: hellogv | 上传时间: 2019-12-21 18:50:02 | 文件大小: 16KB | 文件类型: rar
理服务器:预先下载媒体的头部(头部Size为 s1 byte)->监听播放器的请求,当Request的是预加载的URL->代理把媒体头部作为Response返回给播放器,并改Ranage 为 s1 byte 发送Request->代理服务器纯粹作为透传。

文件下载

资源详情

[{"title":"( 17 个子文件 16KB ) 玩转 Android MediaPlayer之视频预加载","children":[{"title":"videoplayer_demo","children":[{"title":".project <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"proxy","children":[{"title":"HttpGetProxy.java <span style='color:#111;'> 7.99KB </span>","children":null,"spread":false},{"title":"HttpParser.java <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false},{"title":"DownloadThread.java <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"ProxyUtils.java <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"C.java <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"videoplayer","children":[{"title":"testVideoPlayer.java <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":null,"spread":false},{"title":"drawable","children":[{"title":"icon.png <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":null,"spread":false},{"title":"layout","children":[{"title":"main.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 173B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 115B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"videoplayer","children":[{"title":"R.java <span style='color:#111;'> 738B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"default.properties <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 288B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • hj_try_1991 :
    阅读了一遍代码,觉得还有值得学习的地方。
    2018-05-10
  • Loong.xu :
    太老 了 过时的技术 了
    2017-09-29
  • 杨旭东 :
    一般般吧,不过已经不太适合现在开发了。
    2016-08-29
  • veryliu :
    阅读了一遍代码,觉得还有值得学习的地方。
    2016-04-25
  • 慵懒的咸鱼 :
    还不错!!!!
    2016-04-13

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明