Make SSAI player logic more targeted.
There is a newly added condition to help advancing between SSAI ads and content in case the ad group position or ad duration changed. The condition currently doesn't check directly whether it's a SSAI transition but relies on indrect signals. Making this more direct helps to understand the purpose and avoid unintentional bugs where this condition would apply in other cases too. In addition, we need to exclude TextRenderer from the check because its read position doesn't correspond to the actual decode position since the decoding happens in the renderer itself (b/181312195). PiperOrigin-RevId: 374835985
Showing
with
11 additions
and
8 deletions
Please
register
or
sign in
to comment