Buffering callbacks in DAI - Android

12 views
Skip to first unread message

Chilakala Vishnu

unread,
Jul 24, 2025, 9:40:16 AM7/24/25
to Interactive Media Ads SDK
Hello Team IMA,

We realised that there is no `onAdBuffering` method on `VideoStreamPlayerCallback`. I tried to check for any equivalent method, but could not find any. Is there a way that I can tell IMA that my ad is buffering, so that the AD_BUFFERING or any other equivalent method is triggered?


IMA SDK

unread,
Jul 24, 2025, 2:41:42 PM7/24/25
to cvi...@gcp.conviva.com, ima...@googlegroups.com

Hi Vishnu,

Thank you for reaching out to the IMA SDK Support team.

You're correct—currently, the VideoStreamPlayer.VideoStreamPlayerCallback interface does not include a specific onAdBuffering callback. 

You can listen for this event using the AdEventListener on the AdsManager object

adsManager.addAdEventListener(new AdEvent.AdEventListener() {

  @Override

  public void onAdEvent(AdEvent adEvent) {

    switch (adEvent.getType()) {

      case AD_BUFFERING:

        Log.i(LOGTAG, "Ad is buffering...");

        break;

    }

  }

});

The AD_BUFFERING event is triggered by the SDK when it detects buffering during ad playback.Kindly get back to us with screen recording video if AD_BUFFERING does not trigger.

Kindly provide the requested details via Reply privately to author option 

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=500Ht00001swdygIAA&entry.80707362=00320088

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-07-24 18:41:28Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01swdyg:ref" (ADR-00320088)



Reply all
Reply to author
Forward
0 new messages