Skip to content

Enhancements and typo #17

@miketerada

Description

@miketerada

There are a few values that can be added for completeness.

  1. SegmentTemplate - can be part of AdaptationSet and should be added to the struct.
    <AdaptationSet mimeType="video/mp4" segmentAlignment="true" startWithSAP="1" bitstreamSwitching="false" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
      <SegmentTemplate timescale="90000" duration="180180" startNumber="1"/>
  1. Duration - should be added to SegmentTemplate.
Duration. *string `xml:"duration,attr"`
<SegmentTemplate timescale="44100" media="aac_$Number%09d$.mp4" initialization="aacinit.mp4" duration="88288" startNumber="1"/>
  1. AudioChannelConfiguration - should be added to Representation.
AudioChannelConfiguration *AudioChannelConfiguration `xml:"AudioChannelConfiguration,omitempty"`

type AudioChannelConfiguration struct {
    SchemeIDURI *string `xml:"schemeIdUri,attr"`
    Value       *string `xml:"value,attr,omitempty"`
}
<Representation id="6" bandwidth="192000" audioSamplingRate="48000" codecs="ec-3">
        <AudioChannelConfiguration schemeIdUri="urn:mpeg:mpegB:cicp:ChannelConfiguration" value="6"/>
</Representation>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions