HMS-Core / hms-ads-demo-java

HUAWEI Ads SDK sample code. HUAWEI Ads SDK provides the banner, native, rewarded, interstitial and splash ad formats for integration.
https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/ads-sdk-introduction?ha_source=hms1
Apache License 2.0
57 stars 20 forks source link

InstreamAdsLoader compatible with ExoPlayer? #13

Open devnullpointer opened 3 years ago

devnullpointer commented 3 years ago

Is the InstreamAdsLoader compatible with ExoPlayer for instream pre roll ads? I would like to integrate it with Exoplayer to monetize my app on all android devices.

thank you.

chenqiuwei commented 2 years ago

No.

syslogic commented 7 months ago

InstreamAdsLoader may not be directly compatible, but eventually it could be wrapped. https://developer.android.com/media/media3/exoplayer/ad-insertion#client-using-third-party

See the ImaAdsLoader ...

implementation "androidx.media3:media3-exoplayer-ima:1.3.1"

https://github.com/google/ExoPlayer/tree/release-v2/extensions/ima