RtmpPusher.zip

上传者: u013718730 | 上传时间: 2021-09-01 09:12:10 | 文件大小: 2.85MB | 文件类型: ZIP
通过Android摄像头采集NV21和PCM数据,通过libx264和libfaac编码为H264和AAC数据,再通过librtmp推流,像摄像头切换,屏幕旋转等细节,都处理得很完善,是个很好的学习资源,里面也有详细的原理讲解,更详细的也可看我的NDK博客: 【NDK】【033】Android实现摄像头采集和RTMP视频流推送 https://hellogoogle.blog.csdn.net/article/details/120027998

文件下载

资源详情

[{"title":"( 56 个子文件 2.85MB ) RtmpPusher.zip","children":[{"title":"RtmpPusher","children":[{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"RTMP直播流程和原理.txt <span style='color:#111;'> 4.86KB </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 53.06KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"local.properties <span style='color:#111;'> 67B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"src","children":[{"title":"main","children":[{"title":"cpp","children":[{"title":"AudioChannel.h <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"AudioChannel.cpp <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"base","children":[{"title":"Bases.cpp <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"JavaCaller.h <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"JavaCaller.cpp <span style='color:#111;'> 981B </span>","children":null,"spread":false},{"title":"Bases.h <span style='color:#111;'> 160B </span>","children":null,"spread":false}],"spread":false},{"title":"VideoChannel.h <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"VideoChannel.cpp <span style='color:#111;'> 8.03KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"armeabi-v7a","children":[{"title":"libx264.a <span style='color:#111;'> 6.97MB </span>","children":null,"spread":false},{"title":"libfaac.a <span style='color:#111;'> 264.85KB </span>","children":null,"spread":false},{"title":"librtmp.a <span style='color:#111;'> 316.42KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"commons","children":[{"title":"JniMacro.cpp <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"QueueThread.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"JniMacro.h <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"SafeQueue.h <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false}],"spread":false},{"title":"RtmpPusher.cpp <span style='color:#111;'> 9.01KB </span>","children":null,"spread":false},{"title":"include","children":[{"title":"rtmp","children":[{"title":"amf.h <span style='color:#111;'> 5.35KB </span>","children":null,"spread":false},{"title":"log.h <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"rtmp.h <span style='color:#111;'> 9.31KB </span>","children":null,"spread":false},{"title":"http.h <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":false},{"title":"faac","children":[{"title":"faaccfg.h <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"faac.h <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"x264","children":[{"title":"x264.h <span style='color:#111;'> 47.51KB </span>","children":null,"spread":false},{"title":"x264_config.h <span style='color:#111;'> 172B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable","children":[{"title":"icon_stop.png <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"icon_pause.png <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"icon_next.png <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"icon_resume.png <span style='color:#111;'> 6.25KB </span>","children":null,"spread":false},{"title":"icon_last.png <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false},{"title":"icon_app.xml <span style='color:#111;'> 12.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_play.xml <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"easing","children":[{"title":"android","children":[{"title":"media","children":[{"title":"RtmpPush","children":[{"title":"util","children":[{"title":"ThreadUtils.java <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"TaskQueue.java <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"CameraUtils.java <span style='color:#111;'> 10.92KB </span>","children":null,"spread":false},{"title":"Utils.java <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"LogUtil.java <span style='color:#111;'> 285B </span>","children":null,"spread":false}],"spread":false},{"title":"PlayActivity.java <span style='color:#111;'> 7.98KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"ABC.java <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false}],"spread":false},{"title":"StartActivity.java <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"control","children":[{"title":"AspectRatioSurfaceView.java <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":false},{"title":"push","children":[{"title":"RtmpPusher.java <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false},{"title":"AudioRecordHandler.java <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"CameraPreviewHandler.java <span style='color:#111;'> 5.24KB </span>","children":null,"spread":false},{"title":"EventListener.java <span style='color:#111;'> 504B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 735B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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