mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
All methods check if the player is currently handling the ad source by calling isCurrentAdPlaying(). This method was missing a check for empty timelines that throws an exception when trying to access a non-existent period. Also add this check to two methods that assume the current item is the ads source, but didn't check it yet. PiperOrigin-RevId: 653963557 |
||
|---|---|---|
| .. | ||
| androidTest | ||
| main | ||
| test | ||