yasea

 收藏    我在用   0 人在用

带美颜滤镜的 Android 直播推流开源客户端项目,通过手机摄像头和麦克风采样,编码为H.264和AAC,再封装FLV格式,推送至RTMP服务器。延迟达到毫秒级别。

 GitHub     下载     同步

241    3083    915    over 1 year前

Yet Another Stream Encoder for Android

Android Arsenal

Yasea is an Android streaming client. It encodes YUV and PCM data from
camera and microphone to H.264/AAC, encapsulates in FLV and transmits over RTMP.

Feature

  • [x] Android mini API 16.
  • [x] H.264/AAC hard encoding.
  • [x] H.264 soft encoding.
  • [x] RTMP streaming with state callback handler.
  • [x] Portrait and landscape dynamic orientation.
  • [x] Front and back cameras hot switch.
  • [x] Recording to MP4 while streaming.
  • [x] Beautiful filters with GPUImage.
  • [x] Acoustic echo cancellation and automatic gain control support.

Test

You may build your own private RTMP server srs.
Remember to modify the URL by yourself. Have fun!

NOTE if you feel high latency, please check your bandwidth limits and player buffering.

<img src="http://ww2.sinaimg.cn/mw690/a16d768bgw1f9euw0n7fyj20u01hc48t.jpg" height="450px" >
<img src="http://ww3.sinaimg.cn/mw690/a16d768bgw1f9euwdtmn7j20u01hck3u.jpg" height="450px" >
<img src="http://ww1.sinaimg.cn/mw690/a16d768bgw1f9euwg3jfxj20u01hcgvi.jpg" height="450px" >

<img src="http://ww4.sinaimg.cn/mw690/a16d768bgw1f9euwbo9s9j20u01hcgwq.jpg" height="450px" >
<img src="http://ww1.sinaimg.cn/mw690/a16d768bgw1f9euw3udb3j20u01hcak1.jpg" height="450px" >
<img src="http://ww2.sinaimg.cn/mw690/a16d768bgw1f9euw8ngn9j20u01hcdqs.jpg" height="450px" >

<img src="http://ww3.sinaimg.cn/mw690/a16d768bgw1f9euwktw04j20u01hcqct.jpg" height="450px" >
<img src="http://ww4.sinaimg.cn/mw690/a16d768bgw1f9euwiffobj20u01hctix.jpg" height="450px" >
<img src="http://ww4.sinaimg.cn/mw690/a16d768bgw1f9euw63u4mj20u01hcn88.jpg" height="450px" >

Acknowledgements

  • dotEngine -- A brilliant realtime multimedia communication service vendor with open cross-platform SDK (github).

 
No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up