You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the IMA ads Extension in ExoPlayer, and I'm facing an issue where ads take some time to load due to internet connectivity or other unforeseen circumstances. To ensure a bufferless video playback experience in Android, I want to precache the IMA ad from the VAST file. While ExoPlayer automatically loads and stores midroll ads in the cache, it doesn't have sufficient time to preload preroll ads. Is there a way to address this issue and precache preroll ads for smoother playback?
The text was updated successfully, but these errors were encountered:
Based on the way the IMA extension handles ad loading this is not currently possible. See the IMA Android preloading guide's timing table. With preloading, IMA starts loading ads following AdsManager.init().
However, with the IMA extension, AdsManager.init() and AdsManager.start() are called directly after each other. See the extension code. I would recommend creating an issue on the ExoPlayer GitHub, explaining this, to see if there is a solution to allowing a call to .init() to start loading pre-roll ads before playback.
Hi @Kiro705
I am getting this error after the ad is loaded.
here are the logs for more details.
I'm testing a preroll ad here with the preroll test uri, and I want to avoid increasing the timeout because it could hurt the user experience. Can you help me fix this?
I'm using the IMA ads Extension in ExoPlayer, and I'm facing an issue where ads take some time to load due to internet connectivity or other unforeseen circumstances. To ensure a bufferless video playback experience in Android, I want to precache the IMA ad from the VAST file. While ExoPlayer automatically loads and stores midroll ads in the cache, it doesn't have sufficient time to preload preroll ads. Is there a way to address this issue and precache preroll ads for smoother playback?
The text was updated successfully, but these errors were encountered: