MediaError Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaPlayer+ErrorEventArgs..ctor, and F:Android.Media.MediaPlayer+IOnErrorListener.OnError members.

public enum MediaError
type MediaError = 
Inheritance
MediaError

Fields

Io -1004

File or network related operation errors.

Malformed -1007

Bitstream is not conforming to the related coding standard or file spec.

NotValidForProgressivePlayback 200

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.

ServerDied 100

Media server died.

TimedOut -110

Some operation takes too long to complete, usually more than 3-5 seconds.

Unknown 1

Unspecified media player error.

Unsupported -1010

Bitstream is conforming to the related coding standard or file spec, but the media framework does not support the feature.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to