-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Cast iOS SDK crashes when playing SSAI streams and receiver send ad blocks #131
Comments
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. |
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
)The text was updated successfully, but these errors were encountered: