SCTE-35 splice information signalling in EventType#55
Open
Vltnrch wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add
SignalandSpliceInfoSectionfields toEventType, with full type coverage for ANSI/SCTE 35 2023r2 splice information sections (XSDscte_35_20230713.xsd).Why
DASH events carrying SCTE-35 signalling appear under two bindings in the wild and both are now first-class:
<Signal>wrapper specified by SCTE 214-1 — Unified Streaming, Broadpeak, …<SpliceInfoSection>directly under<Event>— AWS MediaTailor and others, valid becauseSpliceInfoSectionis a global element in the SCTE-35 XSD(*EventType).SpliceInfo()returns whichever the source manifest populated.Coverage
SpliceNull,SpliceSchedule,SpliceInsert,TimeSignal,BandwidthReservation,PrivateCommandAvail,DTMF,Segmentation,Time,Audio,PrivateBinary,Extand anyAttribute extensibilitySCTE35Namespace,SCTE35Namespace2016,SCTE35SchemeIdXML/XMLBin/Bin, and the Table 23 segmentation type IDsXML namespace round-trip
Two URIs are seen in the wild for the same schema:
http://www.scte.org/schemas/35— canonical, declaredtargetNamespacesince 2020http://www.scte.org/schemas/35/2016— legacy, still produced by a large fraction of packagersEach SCTE-35 type embeds an unnamed
XMLName xml.Name: the URI seen on unmarshal is replayed verbatim on marshal, so a round trip preserves whichever the input used. Deliberate exception to the "output names are fixed" rule listed in the README, called out there explicitly.New*constructors defaultXMLNameto the canonical URI for programmatic use.