For this Poc, we wanted to show advertisements with two different ad units, for this we implemented. Google Mobile Ads SDK Documentation
Hard code html directly into a WebView to verify that a MediaStream video can be played.
For this PC it was necessary to play Pre-Roll ads followed by an audio file in M3U8 format, for this the Google IMA SDK was implemented on the ExoPlayer player. IMA SDK Documentation
In order to make this module work, it is necessary to have the Spotify application installed. Api Documentation