Open webnard opened 1 year ago
@webnard thanks for your detailed issue description. We'll pick it up.
We can reproduce the issue. We'll investigate the issue and get back to you when we have more info. EDIT: This seems to be an issue on the underlying iOS SDK. We will look into it and prepare a fix on that SDK.
I'm getting an issue where the
timeOffset
property of anAdBreak
is always 0 for all ad breaks except for the first.With ads set at 5, 10, and 15 seconds, within the callback for an event listener on
AD_EVENT
, the timeOffset is 5000 for the first set of events (as expected) but becomes 0 for the ads at 10 and 15 seconds. I've tested this on iOS on a simulated iPhone 15 with react-native-theoplayer 3.0.2. The issue is demonstrated in the following videotimeoffsets.webm
Example code