我正在开发一种解决方案来检测 SSAI 上实时内容中的广告。
到目前为止,我们已经能够检测到 HLSManifest 中的广告板。
但是,当涉及到 DashManifest 时,我没有看到任何相关的对象或信息。
我知道EventStream
哪个负责广告展示
我正在使用onTimelineChanged
来阅读清单更改
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)
}
无法弄清楚我可以使用什么来从 Dash 进行广告板检测。可能吗?