Current behaviour: on first play it shows non-linear overlay, but player is 5s waiting(loading spinner) for linear preroll or content resume event from SDK before timeout reached.
I wont change ad behaviour(like forceNonLinearFullslot do). I can call content resume in player to fix waiting, but if linear preroll with non-linear overlay on top of it is possible with VMAP and IMA SDK, it is not safe and must be handled by SDK.
Hi Petr,
The content is not stopped by the SDK when waiting for pre-roll handling, the content is loaded before the ad playback begins but never started, the content.play() API method gets called only after CONTENT_RESUME_REQUESTED is fired by the SDK when dealing with pre-roll.
In my previous statement, I meant to say that the IMA SDK won't fire the contentPauseRequested event if the ad being displayed is not linear. The contentResumeRequested is also not fired, we do it manually by calling the start the content.play() to start the content playback as soon as the ad is loaded and that we detected the ad as being non-linear. I would recommend you to take a look at the IMA SDK Architecture documentation.
Regards,
Arnaud Casame
IMA SDK Team