-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ad tag retrieval unblocking #9237
Comments
I think if you are using an Can you give us some more details on what is in that ad tag and whether there is a pre-roll involved? Do you see that ExoPlayer is waiting for ad media that is not playing as pre-roll? You can also post the URI to the ad tag for inspection if you want. |
Another note: If this is about a case where the ad tag is not properly loading, you can set a timeout. |
@marcbaechinger thanks for your response , As per your comment " the ad tag from that URI is fetched first to check what ads are to be inserted " here we don't want it to fetch it in the beginning as we are always having mid roll ads. Can we control this ad Tag fetch call , i mean to can we do it like fetch at some particular second of video content. |
I don't think this is possible. The ad tag is always loaded first. |
Not sure if this is helpful, but there is a way to "preload" the ad tag independently of starting playback, see |
@marcbaechinger Are ads tag url and content url calls getting fired simultaneously ? |
In the short term, I'd recommend either pre-requesting the ad tag (if there is a suitable point before starting playback when you know you'll need the ads) or alternatively splitting the content into two clips where the first clip is just content (with no ad tag URI) and the second clip has the ad tag URI. The ad tag will be preloaded before playback reaches the second clip. To make the transition seamless, the second clip needs to start on a keyframe. |
thanks @andrewlewis , wondering if we already have ad tag url's response (VAST) as string , can we pass this thing directly to player so that it can directly use it and doesn't have to fetch this same response from ad tag url. |
Yes, although it requires everything to be part of the ad tag (you can't have a VMAP ad tag that points to other ad tags). It should work to build a |
Currently if we add an AdTag Uri and Content Uri and then prepare and play as shown below
(using IMA)
player doesn't play content till ads are fetched, In my case i don't want player to wait for Ads as it increases ( time to display first frame) .Is there any way i can achieve this.
The text was updated successfully, but these errors were encountered: