1. public static final int MEDIA_ERROR_IO   
  2. Added in API level 17 File or network related operation errors.   
  3.   
  4. Constant Value: -1004 (0xfffffc14)   
  5. public static final int MEDIA_ERROR_MALFORMED   
  6. Added in API level 17 Bitstream is not conforming to the related coding standard or file spec.   
  7.   
  8. Constant Value: -1007 (0xfffffc11)   
  9. public static final int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK   
  10. Added in API level 3 The video is streamed and its container is not valid for progressive playback i.e the video's index (e.g moov atom) is not at the start of the file.  
  11.   
  12. See Also  
  13. MediaPlayer.OnErrorListener   
  14. Constant Value: 200 (0x000000c8)   
  15. public static final int MEDIA_ERROR_SERVER_DIED   
  16. Added in API level 1 Media server died. In this case, the application must release the MediaPlayer object and instantiate a new one.  
  17.   
  18. See Also  
  19. MediaPlayer.OnErrorListener   
  20. Constant Value: 100 (0x00000064)   
  21. public static final int MEDIA_ERROR_TIMED_OUT   
  22. Added in API level 17 Some operation takes too long to complete, usually more than 3-5 seconds.   
  23.   
  24. Constant Value: -110 (0xffffff92)   
  25. public static final int MEDIA_ERROR_UNKNOWN   
  26. Added in API level 1 Unspecified media player error.  
  27.   
  28. See Also  
  29. MediaPlayer.OnErrorListener   
  30. Constant Value: 1 (0x00000001)   
  31. public static final int MEDIA_ERROR_UNSUPPORTED   
  32. Added in API level 17 Bitstream is conforming to the related coding standard or file spec, but the media framework does not support the feature.   
  33.   
  34. Constant Value: -1010 (0xfffffc0e)   
  35. public static final int MEDIA_INFO_BAD_INTERLEAVING   
  36. Added in API level 3 Bad interleaving means that a media has been improperly interleaved or not interleaved at all, e.g has all the video samples first then all the audio ones. Video is playing but a lot of disk seeks may be happening.  
  37.   
  38. See Also  
  39. MediaPlayer.OnInfoListener   
  40. Constant Value: 800 (0x00000320)   
  41. public static final int MEDIA_INFO_BUFFERING_END   
  42. Added in API level 9 MediaPlayer is resuming playback after filling buffers.  
  43.   
  44. See Also  
  45. MediaPlayer.OnInfoListener   
  46. Constant Value: 702 (0x000002be)   
  47. public static final int MEDIA_INFO_BUFFERING_START   
  48. Added in API level 9 MediaPlayer is temporarily pausing playback internally in order to buffer more data.  
  49.   
  50. See Also  
  51. MediaPlayer.OnInfoListener   
  52. Constant Value: 701 (0x000002bd)   
  53. public static final int MEDIA_INFO_METADATA_UPDATE   
  54. Added in API level 5 A new set of metadata is available.  
  55.   
  56. See Also  
  57. MediaPlayer.OnInfoListener   
  58. Constant Value: 802 (0x00000322)   
  59. public static final int MEDIA_INFO_NOT_SEEKABLE   
  60. Added in API level 3 The media cannot be seeked (e.g live stream)  
  61.   
  62. See Also  
  63. MediaPlayer.OnInfoListener   
  64. Constant Value: 801 (0x00000321)   
  65. public static final int MEDIA_INFO_UNKNOWN   
  66. Added in API level 3 Unspecified media player info.  
  67.   
  68. See Also  
  69. MediaPlayer.OnInfoListener   
  70. Constant Value: 1 (0x00000001)   
  71. public static final int MEDIA_INFO_VIDEO_RENDERING_START   
  72. Added in API level 17 The player just pushed the very first video frame for rendering.  
  73.   
  74. See Also  
  75. MediaPlayer.OnInfoListener   
  76. Constant Value: 3 (0x00000003)   
  77. public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING   
  78. Added in API level 3 The video is too complex for the decoder: it can't decode frames fast enough. Possibly only the audio plays fine at this stage.  
  79.   
  80. See Also  
  81. MediaPlayer.OnInfoListener   
  82. Constant Value: 700 (0x000002bc)   
  1. public static final int MEDIA_ERROR_IO   
  2. Added in API level 17 File or network related operation errors.   
  3.   
  4. Constant Value: -1004 (0xfffffc14)   
  5. public static final int MEDIA_ERROR_MALFORMED   
  6. Added in API level 17 Bitstream is not conforming to the related coding standard or file spec.   
  7.   
  8. Constant Value: -1007 (0xfffffc11)   
  9. public static final int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK   
  10. Added in API level 3 The video is streamed and its container is not valid for progressive playback i.e the video's index (e.g moov atom) is not at the start of the file.  
  11.   
  12. See Also  
  13. MediaPlayer.OnErrorListener   
  14. Constant Value: 200 (0x000000c8)   
  15. public static final int MEDIA_ERROR_SERVER_DIED   
  16. Added in API level 1 Media server died. In this case, the application must release the MediaPlayer object and instantiate a new one.  
  17.   
  18. See Also  
  19. MediaPlayer.OnErrorListener   
  20. Constant Value: 100 (0x00000064)   
  21. public static final int MEDIA_ERROR_TIMED_OUT   
  22. Added in API level 17 Some operation takes too long to complete, usually more than 3-5 seconds.   
  23.   
  24. Constant Value: -110 (0xffffff92)   
  25. public static final int MEDIA_ERROR_UNKNOWN   
  26. Added in API level 1 Unspecified media player error.  
  27.   
  28. See Also  
  29. MediaPlayer.OnErrorListener   
  30. Constant Value: 1 (0x00000001)   
  31. public static final int MEDIA_ERROR_UNSUPPORTED   
  32. Added in API level 17 Bitstream is conforming to the related coding standard or file spec, but the media framework does not support the feature.   
  33.   
  34. Constant Value: -1010 (0xfffffc0e)   
  35. public static final int MEDIA_INFO_BAD_INTERLEAVING   
  36. Added in API level 3 Bad interleaving means that a media has been improperly interleaved or not interleaved at all, e.g has all the video samples first then all the audio ones. Video is playing but a lot of disk seeks may be happening.  
  37.   
  38. See Also  
  39. MediaPlayer.OnInfoListener   
  40. Constant Value: 800 (0x00000320)   
  41. public static final int MEDIA_INFO_BUFFERING_END   
  42. Added in API level 9 MediaPlayer is resuming playback after filling buffers.  
  43.   
  44. See Also  
  45. MediaPlayer.OnInfoListener   
  46. Constant Value: 702 (0x000002be)   
  47. public static final int MEDIA_INFO_BUFFERING_START   
  48. Added in API level 9 MediaPlayer is temporarily pausing playback internally in order to buffer more data.  
  49.   
  50. See Also  
  51. MediaPlayer.OnInfoListener   
  52. Constant Value: 701 (0x000002bd)   
  53. public static final int MEDIA_INFO_METADATA_UPDATE   
  54. Added in API level 5 A new set of metadata is available.  
  55.   
  56. See Also  
  57. MediaPlayer.OnInfoListener   
  58. Constant Value: 802 (0x00000322)   
  59. public static final int MEDIA_INFO_NOT_SEEKABLE   
  60. Added in API level 3 The media cannot be seeked (e.g live stream)  
  61.   
  62. See Also  
  63. MediaPlayer.OnInfoListener   
  64. Constant Value: 801 (0x00000321)   
  65. public static final int MEDIA_INFO_UNKNOWN   
  66. Added in API level 3 Unspecified media player info.  
  67.   
  68. See Also  
  69. MediaPlayer.OnInfoListener   
  70. Constant Value: 1 (0x00000001)   
  71. public static final int MEDIA_INFO_VIDEO_RENDERING_START   
  72. Added in API level 17 The player just pushed the very first video frame for rendering.  
  73.   
  74. See Also  
  75. MediaPlayer.OnInfoListener   
  76. Constant Value: 3 (0x00000003)   
  77. public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING   
  78. Added in API level 3 The video is too complex for the decoder: it can't decode frames fast enough. Possibly only the audio plays fine at this stage.  
  79.   
  80. See Also  
  81. MediaPlayer.OnInfoListener   
  82. Constant Value: 700 (0x000002bc)   

转载于:https://www.cnblogs.com/akiha/p/5855034.html

更多相关文章

  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(安卓)dumpsys 命令解析
  2. 如何查看Android设备的CPU架构信息
  3. Android实现图片帮助跳转以及选择重拍Sql
  4. Android开机启动流程说明
  5. Some useful Android(安卓)components
  6. android&&TableLayout
  7. Android下载网络图片到本地
  8. Flutter 图片保存到本地
  9. Android防止暴力(多次)点击 - 代码已封装可
  10. Android调用蓝牙功能