Madman (Media ads manager) is a high performance alternative to Google's standard IMA android SDK. If you have your own VAST server and want to render video ads and have full control over the UI, then this library is for you.
Describe the bug
When the VMAP only contains a post roll ad break, the ad is not playing
To Reproduce
Steps to reproduce the behavior:
Scrub to the end of the player.
Ad break not playing. Looking at the logs, Madman is triggering the correct events with the AdElement to be played. The MadmanAdLoader for some reason is triggering the onEnded callback even before the ad has ended due to which the library stops the ad.
Describe the bug When the VMAP only contains a post roll ad break, the ad is not playing
To Reproduce Steps to reproduce the behavior:
Expected behavior Post roll ad should be played.