Skip to content

Commit

Permalink
Detect more hosts serving DAI
Browse files Browse the repository at this point in the history
  • Loading branch information
emarsden committed Nov 2, 2023
1 parent e89bb4b commit 79008b8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/fixtures/rewrite-drop-dai.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@
</xsl:template>

<!--
Drop Periods served from dai.google.com (dynamic ad insertion service).
Drop Periods served from dai.google.com or from AWS MediaTailor or from Unified Streaming
(dynamic ad insertion services).
Test: xsltproc rewrite-drop-dai.xslt with-dai.mpd
-->
<xsl:template match="//mpd:Period[mpd:BaseURL[starts-with(text(),'https://dai.google.com')]]" />

<xsl:template match="//mpd:Period[mpd:BaseURL[contains(text(),'mediatailor.eu-west-1.amazonaws.com')]]" />

<xsl:template match="//mpd:Period[mpd:BaseURL[contains(text(),'unified-streaming.com')]]" />
</xsl:stylesheet>

0 comments on commit 79008b8

Please sign in to comment.