I would like to create a couple of adsManager and preload all of ads before they start.
It is for live streaming player, so it is difficult to decide witch and when the ad will play.
also, many users (more than 400 thousand people at once) connect this live streaming, preloading is necessary. Otherwise the ads server might be down.
so I need to preload a couple of ads before, then if the ads timing will come, choose the specific one.
I tried to create multiple adsManager first, it was OK. But once enabling preloading setting, it doesn't work properly.
・create an AdsLoader
・create AdsManagerA with adtag A (EnablePreloading)
・create AdsManagerB with adtag B (EnablePreloading)
・create AdsManagerC with adtag C (EnablePreloading)
・when time to play Ad, diceided to play AdManager B so implement AdsManagerB.start()
・and then when time to play next Ad, diceided to play AdManager A so implement AdsManagerA.start()
when playing AdManagerB, ad will be play but the different sorce. (souce of adTag C)
and then, when playing AdManagerA, it will be error. like..
Uncaught (in promise) DOMException: The element has no supported sources.
I guess, preloading is allowed only one source, even if creating 3 adManegers, the very last one overwrite the preloaded source.
ads are all VAST. I tried all sample adTags but all the same.
Do you have any ideas to solve this?