googleads-ima-html5 icon indicating copy to clipboard operation
googleads-ima-html5 copied to clipboard

Playing DASH stream Ads with IMA SDK

Open daniel-dias opened this issue 1 year ago • 1 comments

Hi,

I have Shaka Player with IMA SDK for playing Ads.

It work fine with test url of VAST, but with our custom VAST (that has DASH streams) it doesn't work. It gives this error: [ima.admanager.VideoAdManager] Ad error: AdError 403: Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.

From what i understand, the IMA SDK doesn't use the current video player (shaka actually) but starts native HTML5 players to play the ads, and they cannot play DASH streams.

Is it possible to indicate the IMA SDK any other player to play the ads? For example, having a second Shaka Player instantiated only for using for the ads, that could play DASH?

Or is there any other way of playing DASH streams with IMA SDK?

Regards, Daniel

daniel-dias avatar Jul 30 '24 10:07 daniel-dias

Hello @daniel-dias ,

It may be helpful to set the mimetype you are trying to play with AdsRenderingSettings.mimeTypes.

Do you see the same issue when testing in the IMA VSI player?

Since this is an issue with the IMA SDK, and not specific to the samples in this repository, I would also recommend checking the IMA technical forum for similar issues, and possibly raise the issue there for assistance.

Thank you, Jackson IMA SDK team

Kiro705 avatar Aug 21 '24 15:08 Kiro705