-
Add Util class for server-side inserted ads. · 378b3f6e
When working with SSAI ads, we need to easily convert positions between the underlying stream and the media model that exposes ad groups. To simplify this, we can add util methods (that are testable on their own). In addition, we need an easy way to build AdPlaybackStates for SSAI inserted ads. The metadata is obtained out-of-band and usually has the ad group start and end times in the underlying stream only. Hence, we also add a util method to add a new ad group based on this information. PiperOrigin-RevId: 374369360
tonihei committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| java/com/google/android/exoplayer2 | Loading commit data... | |
| AndroidManifest.xml | Loading commit data... |