ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

AdsMediaSource isn't documented in the developer guide.

Open BetweenTwoBits opened this issue 8 years ago • 5 comments

The developer guide has a wonderful section on MediaSources, but doesn't mention the AdsMediaSource. Having docs around the benefits and use cases would be immensely useful.

BetweenTwoBits avatar Nov 14 '18 16:11 BetweenTwoBits

Good point. I'll mark this as an enhancement to add a section about ad playback in general.

tonihei avatar Nov 14 '18 16:11 tonihei

I was trying to understand how to use AdsMediaSource today as we are currently building a large podcast app (1M+ users from our existing user base) but no such luck :-( Can you point me to some info/examples etc ? Many thanks

ajonno avatar Jan 19 '20 04:01 ajonno

The original blog post about the IMA extension still has some useful information and may be a starting point. The ExoPlayer demo app also integrates with the IMA extension so you could take a look at that as well. Resolving this issue by adding proper documentation to the developer guide is still work in progress I'm afraid.

Edit: given your issue #6891 is a different use case from the IMA extension, this answer isn't relevant. Please have a look at #6814 which I think does what you need.

andrewlewis avatar Jan 19 '20 19:01 andrewlewis

There is a section on ad insertion now, here.

ojw28 avatar Nov 15 '20 15:11 ojw28

Thank you for following up @ojw28!

BetweenTwoBits avatar Nov 17 '20 19:11 BetweenTwoBits