-
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
ExoPlayer with IMA SDK not playing mid-roll ads for Live Channels stream type #7322
Comments
We don't currently support midrolls in live streams (see #4565). I will mark this as a low-priority enhancement for now, but if you need a fix soon you may want to look into doing server-side ad insertion. |
At the moment, I don't think we have a sensible way to address this issue from #4546: "The ad tags have fixed cue points and it's unclear how to handle the player position when resuming the live stream after playing a midroll." |
Thank you for the information. |
Reopening to track the enhancement. |
@andrewlewis, we're also interested in having midrolls in live streams. Actually, Shaka Player already supports this. The way it works is that it resumes the live stream in the same position where it stopped before. So the delay from the live edge is gradually increasing. In our tests, we've used fixed cue points and it wasn't a problem. If it helps, we could provide a testing live stream together with VMAP URL which you could use for development. |
@okycelt That would be helpful, especially if the stream/ad tag don't expire for a while (I'm not sure when we will get round to doing this). Thanks. |
@andrewlewis, I've sent you the links via email. The VMAP is generated dynamically. There should be a midroll every 20 seconds or so for the following 5 hours after you request the VMAP. If any of the links expire, just ping us here or via email. We'll provide new links. Thank you |
Btw. while in 2.11.4 the player freezes when trying to play a mid-roll on live stream, in 2.11.5 the player crashes with the following exception:
|
Is this tracking something different to #6388, and if not can they be duped together? |
Duplicate of #6388 |
I am using Exoplayer for streaming Live TV channels and movies. Also, I have integrated IMA SDK which allows playing instream ads and its working perfectly for movies. Pre, Mid and Post-roll Ads are working fine for movies but for Live TV Channel streaming it's only able to load pre-roll ads and mid-roll is not working for this condition. While trying to play mid-roll ads the player freezes.
The reference to my code is the same as this:
https://qiita.com/mehdi/items/e1de77dbbfd595314c41
I am using the following adTagUrl to test:
https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/ad_rule_samples&ciu_szs=300x250&ad_rule=1&impl=s&gdfp_req=1&env=vp&output=vmap&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpost&cmsid=496&vid=short_onecue&correlator=
Also, I am not getting error in logcat
The text was updated successfully, but these errors were encountered: