This document describes the media codec, container, and network protocol support provided by the Android platform.

The following network protocols are supported for audio and video playback:

  • RTSP (RTP, SDP)
  • HTTP/HTTPS progressive streaming
  • HTTP/HTTPS live streaming draft protocol:
    • MPEG-2 TS media files only
    • Protocol version 3 (Android 4.0 and above)
    • Protocol version 2 (Android 3.x)
    • Not supported before Android 3.0

Note: HTTPS is not supported before Android 3.1.

> Android platform versions for Core media format and codec support
Audio: AAC LC;HE-AACv1 (AAC+);HE-AACv2 (enhanced AAC+);AAC ELD (enhanced low delay AAC);AMR-NB;AMR-WB;FLAC;MP3;MIDI;Vorbis;PCM/WAVE;Opus
Image: JPEG;GIF;PNG;BMP;WebP
Video: H.263;H.264 AVC;H.265 HEVC;MPEG-4 SP;VP8:VP9

Table 2. Examples of supported video encoding parameters for the H.264 Baseline Profile codec.

  SD (Low quality) SD (High quality) HD 720p (N/A on all devices)
Video resolution 176 x 144 px 480 x 360 px 1280 x 720 px
Video frame rate 12 fps 30 fps 30 fps
Video bitrate 56 Kbps 500 Kbps 2 Mbps
Audio codec AAC-LC AAC-LC AAC-LC
Audio channels 1 (mono) 2 (stereo) 2 (stereo)
Audio bitrate 24 Kbps 128 Kbps 192 Kbps

Table 3. Examples of supported video encoding parameters for the VP8 codec.

  SD (Low quality) SD (High quality) HD 720p (N/A on all devices) HD 1080p (N/A on all devices)
Video resolution 320 x 180 px 640 x 360 px 1280 x 720 px 1920 x 1080 px
Video frame rate 30 fps 30 fps 30 fps 30 fps
Video bitrate 800 Kbps 2 Mbps 4 Mbps 10 Mbps

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android(安卓)Studio打不开,无法启动,无反
  2. Android(安卓)UI秘笈:谨记该做什么不该做
  3. Android(安卓)沉浸式状态栏原理
  4. Android通过URI获取文件路径
  5. Android(安卓)Developers:ProGuard
  6. Android设计模式系列--模板方法模式
  7. Android(安卓)Q(10.0)版本新特性和兼容性适
  8. 推荐一本Android开发入门书籍
  9. Android新的网络请求框架volley源码解释
  10. android 支付宝