Hi Team,
We have Picture-in-Picture feature in our app and we also have DAI Ad support through IMA SDK. Currently we are working on playlist feature.
Right now when the current video from the playlist is running within the app and if the video has Ad, it is working fine but when next video starts from playlist into Picture-in-Picture and if it has Ad, then Picture-in-Picture getting disappear.
We checked and found that when we get the callback into below delegate
- (void)adsLoader:(IMAAdsLoader *)loader adsLoadedWithData:(IMAAdsLoadedData *)adsLoadedData
and here when we assign self.streamManager = adsLoadedData.streamManager
after that Picture-in-Picture disappears.
streamManager is object of type IMAStreamManager
When Picture-in-Picture disappears we do not get any callback in below delegates
- (void)adsLoader:(IMAAdsLoader *)loader failedWithErrorData:(IMAAdLoadingErrorData *)adErrorData
- (void)streamManager:(IMAStreamManager *)streamManager didReceiveAdError:(IMAAdError *)error
- (void)adsManager:(IMAAdsManager *)adsManager didReceiveAdError:(IMAAdError *)error
Can you please let us know is this possible to support the Ad in Picture-in-Picture?
Development Environment
Xcode Version 14.0
IMA-iOS-SDK 3.14.4
iPad Pro iOS 16.0
Thanks & Regards
Mohammad Imran
Hello Mohammad,
Michael here from IMA SDK Support team. Thank you for reaching out to us.
Would you be able to confirm if you have reproduced the same behavior using one of our sample apps? If so, kindly share to us the below information:
You may send the requested details privately via "Reply To Author" button or with the below process.
If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:
1. Navigate to
2. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.
Regards,
|
||||||