What does MediaPlayer error code 100 mean?

4,016 views
Skip to first unread message

Michael Hughes

unread,
Oct 23, 2014, 12:14:02 PM10/23/14
to ima...@googlegroups.com
I am seeing an error code 100 on the MediaPlayer class when I try to play certain ads. This seems to only be happening on older versions of android (ex. 4.0.3). I tried looking through what error code 100 might mean but was unable to find any answers. Below is the log for when I try to play ads:

.ImaVideoPlayerWrapper﹕ Ads loaded!
.ImaVideoPlayerWrapper﹕ Calling init.
.GranularAdsTrigger﹕ Ima ad times: 0, 120000, 585000, 1167000, -1000,
.ImaAdsViewPlayer﹕ loadAd with urlhttp://secure.eyereturn.com/16185/sheerblonde_pre-roll_1920x1080_en.webmhd_v1.webm
 D/MediaPlayer﹕ setDataSource(Context context,http://secure.eyereturn.com/16185/sheerblonde_pre-roll_1920x1080_en.webmhd_v1.webm, Map<String, String> headers) in
 E/MediaPlayer﹕ java.io.FileNotFoundException: No content provider:http://secure.eyereturn.com/16185/sheerblonde_pre-roll_1920x1080_en.webmhd_v1.webm
I/MediaPlayer﹕ header=rtspuseragent, value=HTC Streaming Player telus_wwe / 1.0 / htc_primou / 4.0.3
 I/MediaPlayer﹕ header=wapprofile, value=http://www.htcmms.com.tw/Android/Telus/T320a/ua-profile.xml
V/MediaPlayer﹕ network type=wifi
 I/MediaPlayer﹕ skip setting (httpproxyip,null)
I/MediaPlayer﹕ skip setting (httpproxyport,null)
I/MediaPlayer﹕ skip setting (rtspproxyip,null)
I/MediaPlayer﹕ skip setting (rtspproxyport,null)
I/MediaPlayer﹕ add setting (minudpport,1024)
I/MediaPlayer﹕ add setting (maxudpport,65535)
I/MediaPlayer﹕ add setting (buffertime,7)
I/MediaPlayer﹕ add setting (rtsptimeout,25000)
I/MediaPlayer﹕ add setting (rtptimeout,25000)
I/MediaPlayer﹕ add setting (rtcpreportinterval,3000)
I/MediaPlayer﹕ add setting (rtspkeepaliveinterval,35000)
D/MediaPlayer﹕ Couldn't open file on client side, trying server side
D/MediaPlayer﹕ setDataSource(Context context,http://secure.eyereturn.com/16185/sheerblonde_pre-roll_1920x1080_en.webmhd_v1.webm, Map<String, String> headers) out
I/MediaPlayer﹕ setLPAflag() in
D/MediaPlayer﹕ set AwesomePlayer LPA flag to false +
D/MediaPlayer﹕ set AwesomePlayer LPA flag to false -
I/MediaPlayer﹕ setLPAflag() out
D/TileRenderer﹕ glEndTilingQCOM: 0x502
I/PRIME﹕ <CallBackProxy> Send to WebViewClient.
W/MediaPlayer﹕ info/warning (1, 903)
I/MediaPlayer﹕ Info (1,903)
D/MediaPlayer﹕ getMetadata
D/MediaPlayer﹕ start() in
D/MediaPlayer﹕ [DLNA]Streaming path, should force enable DLNA if in mirror mode or have usage dongle
D/MediaPlayer﹕ [DLNA]not in Mirror mode, check nearby ready dongle
D/MediaPlayer﹕ [DLNA]startMirror in
D/MediaPlayer﹕ [getReadyDongle] No ready to use dongle
D/MediaPlayer﹕ [DLNA][startMirror] out no ready to use dongle
D/MediaPlayer﹕ [DLNA]start() streaming do local playback
D/MediaPlayer﹕ doStart() in
D/MediaPlayer﹕ beats setting trigger in start
D/MediaPlayer﹕ beats setting true
D/MediaPlayer﹕ triggerBeatsLogo=true
D/MediaPlayer﹕ doStart() out
D/MediaPlayer﹕ [DLNA]start() streaming out
D/MediaPlayer﹕ start() in
D/MediaPlayer﹕ doStart() in
D/MediaPlayer﹕ beats setting trigger in start
D/MediaPlayer﹕ beats setting true
D/MediaPlayer﹕ triggerBeatsLogo=true
D/MediaPlayer﹕ doStart() out
D/MediaPlayer﹕ [DLNA]start() out check content type already
W/IMediaDeathNotifier﹕ media server died
E/MediaPlayer﹕ error (100, 0)
E/MediaPlayer﹕ Mediaserver died in 16 state
W/AudioSystem﹕ AudioFlinger server died!
I/ServiceManager﹕ Waiting for service media.audio_flinger...
E/MediaPlayer﹕ Error (100,0)
D/VideoView﹕ Error: 100,0

Answers to questions in the forum sticky:
1) Which SDK are you using? (Flash, HTML5, iOS, Android)
Android V3beta8
2) What ad tag are you using in your request?
N/A
3) Are you able to reproduce this in the downloadable sample app or the ? If not, please include a link to a test page or app so we can see the issue.
No
4) What steps must we take to reproduce your issue?
Unknown

Any Ideas? 

Bret McGowen

unread,
Oct 23, 2014, 6:02:01 PM10/23/14
to ima...@googlegroups.com
Hi Michael,

1. We have released Beta 9 of the IMA Android SDK. There's not a specific bug fix for this issue but it might be worth upgrading to see if it resolves your problem, as there are quite a few bugs fixed in this release.
2. If that doesn't fix it, are you seeing this during content playback, during ad playback, during the transition from ad to content, or from the transition from content to ad?
3. I see from your answers you tried reproducing (unsuccessfully) in the sample app -- do you have an ad tag that you can provide so I can try to replicate it on my end to take a look? And does it still throw the same error with a different content video playing?

Cheers!
Bret McGowen
IMA SDK Team

Mayank Mehta

unread,
Nov 3, 2014, 11:15:00 AM11/3/14
to ima...@googlegroups.com
Hi Bret,

I'm getting the same error as Michael, I have updated to Beta 9. Issue is happening on Samsung S3 running 4.1.2. I have tried same Ad_URL on sample app works fine possible on S3, i think it is because of different ads encoded differently. 

Issue happens when transitioning from content to Ad while doing ad playback.  Second problems is even after capturing the error I'm not able to transition from error to video playback. Any suggestions? 

W/IMediaDeathNotifier﹕ media server died
W/AudioSystem﹕ AudioPolicyService server died!
W/AudioSystem﹕ AudioFlinger server died!

Bret McGowen

unread,
Nov 4, 2014, 10:54:46 AM11/4/14
to ima...@googlegroups.com
Hi Mayank,

Thanks for the additional information; do you have an ad tag you are seeing the issue with? I am not able to replicate it with any of our test ads, so you're probably right that it's related to the encoding for the ad, so I'll need an example of an ad or ads that shows the issue.

1) Can you post an ad tag that shows the issue in S3? If the ads that come back are different from request to request, if you could capture the VAST XML in the response for an ad that shows the problem that would help me diagnose the issue.
2) Can you post the code to demonstrate how you're capturing the error? I'd like to see how you're capturing it. As a workaround to get your video content to play, can you call AdsManager.destroy() and request a new set of ads with AdsLoader.requestAds()?

Thanks,

Mayank Mehta

unread,
Nov 4, 2014, 12:44:27 PM11/4/14
to ima...@googlegroups.com
Hi Bret,

Below is the stripped down version of the code and sequence of what is called, as you would see below it calls AdsManager.destroy at later stage  : 

@Override
    public void onAdError(AdErrorEvent event) {    
         videoPlayer.getUiContainer().setVisibility(View.INVISIBLE);    
    }


    @Override
    public void onError() {        
        videoPlayer.getUiContainer().setVisibility(View.INVISIBLE);        
        videoPlayer.resumeContent();
    }

 @Override
    public void onAdEvent(AdEvent event) {
            ....
            // This Takes care of destroying AdsManager 
            case ALL_ADS_COMPLETED:
                adsManager.destroy();
                skipAd = true;
                break;
}

public void resumeContent() {
        
                video.setVideoPath(savedContentUrl);        
video.seekTo(savedContentPosition);
play();
}

Sequence of what Methods are called 

OnError -> resumeContent() method is called  
AdError 
onAdEvent -> gets ALL_ADS_COMPLETED which destroys adsmanager Object

Please let me know if you need more details.

Thanks,
Mayank

Bret McGowen

unread,
Nov 5, 2014, 12:38:06 PM11/5/14
to ima...@googlegroups.com
Hi Mayank,

Thanks for the debugging information; I'll take a look and let you know what I find.

Mayank Mehta

unread,
Nov 6, 2014, 3:24:34 PM11/6/14
to ima...@googlegroups.com
Hi Bret,

Thanks, Please let me know if you need any more info. 

Mayank Mehta

unread,
Nov 7, 2014, 11:18:33 AM11/7/14
to ima...@googlegroups.com
Hi Bret,

I see exactly same behavior in the sample app if specific video is fetch by sdk.
Media server dies and if I press home and comeback again and If I click play, now video would work (this same behavior as my app)

Bret McGowen

unread,
Nov 7, 2014, 3:24:19 PM11/7/14
to ima...@googlegroups.com
Hi Mayank,

Thanks for following up -- I'm still investigating this issue with the rest of the team. I'll keep investigating and let you know what we find.

Cheers,

Ralf

unread,
Apr 22, 2015, 5:32:21 AM4/22/15
to ima...@googlegroups.com
Hi Bret,

we are seeing the same issue for some video files. Here's one example:
We use the latest Android IMA SDK.


Best
Ralf

Yury Pavlotsky (IMA SDK Team)

unread,
Apr 22, 2015, 5:45:44 PM4/22/15
to ima...@googlegroups.com
Hi Ralf,

Could you send me the ad tag you are using to serve this video, so I can try to reproduce your issue? If you don't want to post it in the forum you can send to me via private message.

Thanks,
Yury Pavlotsky
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages