Open rajeshbeats opened 1 year ago
A note, we have sender applications on both Android and Web that don't encounter this issue with the setup of ads on streams, this only seems to affect iOS sender applications.
@rajeshbeats & @darrennolan I am also running into this issue. Were you guys able to fix this issue?
@julianjohn - never really resolved. We even reached out to our partnerships people. For us, the specific issue was ads of very short length, < 5s. I think we had 3s bumpers added in that worked as ads, and that caused the issue. When those bumpers were removed (before further testing from us/google) - the issue went away and no one was able to investigate further.
Hope that helps you a little.
Thanks very much, @darrennolan. This helps. In our case, it is a ~1 min video.
Also running into this issue. Not happening on Web or Android, only iOS. Happens with pretty long content (~20mins) and ads are minimum 5-15s. Always happens whenever the content reaches the end or starts.
We have noticed Google Cast iOS SDK crashes when we try to cast SSAI (Server-Side Ad Insertion) videos and the receiver sends ad blocks events back to the app. The crash is caused by an exception in the -[__NSArrayM insertObject:atIndex:] method of the Core Foundation framework inside Google cast iOS SDK.
Steps to reproduce:
Launch the app and connect to a receiver. Play an SSAI video on the receiver. Wait for an ad to play and the receiver to send ad blocks back to the app. Observe that the app crashes.
Expected behavior:
The SDK should handle ad blocks sent by the receiver without crashing.
Actual behavior:
The SDK crashes when the receiver sends ad blocks back to the app.
Additional information on environment
Device : iPhone 12 OS : 16.2 Xcode version: 14.1
Here is the stack trace from crash report
We observed below warning appears before the crash.
-[GCKUICastSliderAdBlock initWithAdBlockPosition:adBlockDuration:watched:expanded:] - adBlockPosition should be within the range [0:1]
Also, Our iOS app doesnt have implementation of
GCKUIMediaController
or any Ad Breaks (such asGCKAdBreakClipInfoBuilder
)