google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.71k stars 6.02k forks source link

The countdown of the ima extension is frozen after loading #8239

Closed sajjadshahbazi closed 3 years ago

sajjadshahbazi commented 3 years ago

I'm using ImaAdsLoader for show advertisement. when watching an ad if the show loading view(Buffering Event), the countdown is stopped.

sshahbazi commented 3 years ago

ad_test.zip

sshahbazi commented 3 years ago

video attached for show the bug

sshahbazi commented 3 years ago

https://admin.deema.agency/?c=v&m=tag&placementId=1678&videotype=prerole&wPlayer=0&hPlayer=0&ip=151.241.1.99&ua=okhttp&domain=namava.ir&page=/&secure=1&language=fa&res=xml

icbaker commented 3 years ago

Thanks for the video - I can reproduce what you're seeing in the demo app by forcing a rebuffer during the ad playback and playing the "VMAP pre-roll" IMA sample.

@andrewlewis The code I used to reproduce is in internal change 343081629.

sajjadshahbazi commented 3 years ago

I do not know what to do about this problem. Please advise you

sajjadshahbazi commented 3 years ago

In addition to the buffer mode, sometimes these three events happen quickly in a row (even it may be early in the ad show).

FIRST_QUARTILE MIDPOINT THIRD_QUARTILE

The loading is displayed and then the timer stops.

andrewlewis commented 3 years ago

Thank you for reporting this. There is a fix in review.

atrope commented 3 years ago

Do you know when we can expect a minor update?

We are waiting for this to release an update.

Thanks!

andrewlewis commented 3 years ago

The above commit on dev-v2 should fix the issue. I think the minor release that will pick this up is planned for early December (but we can't commit to a schedule I'm afraid).

If you need this urgently you could try making the equivalent one-line bug fix in ImaAdsLoader as from that commit. You need to depend on sources to do that though.