MediaPlayer的错误列表速查(android)
16lz
2021-01-25
- public static final int MEDIA_ERROR_IO
- Added in API level 17 File or network related operation errors.
- Constant Value: -1004 (0xfffffc14)
- public static final int MEDIA_ERROR_MALFORMED
- Added in API level 17 Bitstream is not conforming to the related coding standard or file spec.
- Constant Value: -1007 (0xfffffc11)
- public static final int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK
- 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.
- See Also
- MediaPlayer.OnErrorListener
- Constant Value: 200 (0x000000c8)
- public static final int MEDIA_ERROR_SERVER_DIED
- Added in API level 1 Media server died. In this case, the application must release the MediaPlayer object and instantiate a new one.
- See Also
- MediaPlayer.OnErrorListener
- Constant Value: 100 (0x00000064)
- public static final int MEDIA_ERROR_TIMED_OUT
- Added in API level 17 Some operation takes too long to complete, usually more than 3-5 seconds.
- Constant Value: -110 (0xffffff92)
- public static final int MEDIA_ERROR_UNKNOWN
- Added in API level 1 Unspecified media player error.
- See Also
- MediaPlayer.OnErrorListener
- Constant Value: 1 (0x00000001)
- public static final int MEDIA_ERROR_UNSUPPORTED
- 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.
- Constant Value: -1010 (0xfffffc0e)
- public static final int MEDIA_INFO_BAD_INTERLEAVING
- 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.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 800 (0x00000320)
- public static final int MEDIA_INFO_BUFFERING_END
- Added in API level 9 MediaPlayer is resuming playback after filling buffers.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 702 (0x000002be)
- public static final int MEDIA_INFO_BUFFERING_START
- Added in API level 9 MediaPlayer is temporarily pausing playback internally in order to buffer more data.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 701 (0x000002bd)
- public static final int MEDIA_INFO_METADATA_UPDATE
- Added in API level 5 A new set of metadata is available.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 802 (0x00000322)
- public static final int MEDIA_INFO_NOT_SEEKABLE
- Added in API level 3 The media cannot be seeked (e.g live stream)
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 801 (0x00000321)
- public static final int MEDIA_INFO_UNKNOWN
- Added in API level 3 Unspecified media player info.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 1 (0x00000001)
- public static final int MEDIA_INFO_VIDEO_RENDERING_START
- Added in API level 17 The player just pushed the very first video frame for rendering.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 3 (0x00000003)
- public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING
- 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.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 700 (0x000002bc)
- public static final int MEDIA_ERROR_IO
- Added in API level 17 File or network related operation errors.
- Constant Value: -1004 (0xfffffc14)
- public static final int MEDIA_ERROR_MALFORMED
- Added in API level 17 Bitstream is not conforming to the related coding standard or file spec.
- Constant Value: -1007 (0xfffffc11)
- public static final int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK
- 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.
- See Also
- MediaPlayer.OnErrorListener
- Constant Value: 200 (0x000000c8)
- public static final int MEDIA_ERROR_SERVER_DIED
- Added in API level 1 Media server died. In this case, the application must release the MediaPlayer object and instantiate a new one.
- See Also
- MediaPlayer.OnErrorListener
- Constant Value: 100 (0x00000064)
- public static final int MEDIA_ERROR_TIMED_OUT
- Added in API level 17 Some operation takes too long to complete, usually more than 3-5 seconds.
- Constant Value: -110 (0xffffff92)
- public static final int MEDIA_ERROR_UNKNOWN
- Added in API level 1 Unspecified media player error.
- See Also
- MediaPlayer.OnErrorListener
- Constant Value: 1 (0x00000001)
- public static final int MEDIA_ERROR_UNSUPPORTED
- 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.
- Constant Value: -1010 (0xfffffc0e)
- public static final int MEDIA_INFO_BAD_INTERLEAVING
- 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.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 800 (0x00000320)
- public static final int MEDIA_INFO_BUFFERING_END
- Added in API level 9 MediaPlayer is resuming playback after filling buffers.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 702 (0x000002be)
- public static final int MEDIA_INFO_BUFFERING_START
- Added in API level 9 MediaPlayer is temporarily pausing playback internally in order to buffer more data.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 701 (0x000002bd)
- public static final int MEDIA_INFO_METADATA_UPDATE
- Added in API level 5 A new set of metadata is available.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 802 (0x00000322)
- public static final int MEDIA_INFO_NOT_SEEKABLE
- Added in API level 3 The media cannot be seeked (e.g live stream)
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 801 (0x00000321)
- public static final int MEDIA_INFO_UNKNOWN
- Added in API level 3 Unspecified media player info.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 1 (0x00000001)
- public static final int MEDIA_INFO_VIDEO_RENDERING_START
- Added in API level 17 The player just pushed the very first video frame for rendering.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 3 (0x00000003)
- public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING
- 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.
- See Also
- MediaPlayer.OnInfoListener
- Constant Value: 700 (0x000002bc)
转载于:https://www.cnblogs.com/akiha/p/5855034.html
更多相关文章
- 代码中设置drawableleft
- android 3.0 隐藏 系统标题栏
- Android开发中activity切换动画的实现
- Android(安卓)学习 笔记_05. 文件下载
- Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
- 技术博客汇总
- android 2.3 wifi (一)
- AndRoid Notification的清空和修改
- Android中的Chronometer