Lemon
Lemon

Reputation: 487

What does MediaPlayerNative: info/warning (10973, 0) mean?How can I resolve it?

I'm using MediaPlayer play a mp3 file what was copied to my cache directory from another.It post a "10973 warning".

Upvotes: 8

Views: 1775

Answers (1)

Radek Daniluk
Radek Daniluk

Reputation: 415

I have the same warning in my logcat every time I start playing new audio file. This is a fragment of verbose log:

V/MediaPlayerNative: prepareAsync
V/MediaPlayerNative: message received msg=200, ext1=10973, ext2=0
W/MediaPlayerNative: info/warning (10973, 0)
V/MediaPlayerNative: callback application
V/MediaPlayerNative: back from callback
V/MediaPlayerNative: message received msg=1, ext1=0, ext2=0
V/MediaPlayerNative: MediaPlayer::notify() prepared

Here I found:

public static final int MEDIA_INFO_NO_VIDEO = 10973;

As you can see audio file is prepared correctly. The warning seems to be only info saying that file has no video. In my case it's obvious because I'm playing only audio files.

At first I related the warning with my audio lag problem but further investigation showed something different.

Upvotes: 9

Related Questions