I am developing a solution to detect ad slate in live content over SSAI.
So far we have been able to detect the ad slate in HLSManifest.
However I don't see any relevant object or information when it comes for DashManifest.
I see EventStream
which is responsible for ad display
I am using the onTimelineChanged
to read the manifest changes
override fun onTimelineChanged(timeline: Timeline, reason: Int) {
super.onTimelineChanged(timeline, reason)
val manifest: Any? = exoPlayer.currentManifest
if (manifest is HlsManifest) readHLSManifest(manifest)
else if (manifest is DashManifest) readDASHManifest(manifest)
}
Not able to figure what I can use for ad slate detection from Dash. Is it possible?