Function createDashProtectionXmlRules

  • Creates a dash extension for content protection parsing rules.

    Type Parameters

    • T extends object

    Parameters

    • contentProtectionRules: XmlRules<T>

      Rules to be used when processing ContentProtection elements.

    Returns XmlRules<DashProtections<T>>

    Returns a rules map that should be merged with the dash manifest rules.