Documentation
¶
Index ¶
- func NewAdaptationSetInspector(config *AdaptationSetInspectorConfig) core.DASHInspector
- func NewMPDTypeInspector(mpdType string) core.DASHInspector
- func NewPresentationDelayInspector() core.DASHInspector
- func NewPresentationDelayInspectorWithConfig(config *PresentationDelayInspectorConfig) core.DASHInspector
- func NewRepresentationInspector(config *RepresentationInspectorConfig) core.DASHInspector
- func NewSpeedInspector() core.DASHInspector
- func NewSpeedInspectorWithConfig(config *SpeedInspectorConfig) core.DASHInspector
- type AdaptationSetInspectorConfig
- type AspectRatio
- type PresentationDelayInspector
- type PresentationDelayInspectorConfig
- type RepresentationInspectorConfig
- type SpeedInspectorConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdaptationSetInspector ¶
func NewAdaptationSetInspector(config *AdaptationSetInspectorConfig) core.DASHInspector
NewAdaptationSetInspector returns AdaptationSetInspector. It inspects number of AdaptationSets and those attributes.
func NewMPDTypeInspector ¶
func NewMPDTypeInspector(mpdType string) core.DASHInspector
NewMPDTypeInspector returns MPDTypeInspector. It inspects whether MPD@type equals to mpdType.
func NewPresentationDelayInspector ¶ added in v1.2.0
func NewPresentationDelayInspector() core.DASHInspector
func NewPresentationDelayInspectorWithConfig ¶ added in v1.2.0
func NewPresentationDelayInspectorWithConfig(config *PresentationDelayInspectorConfig) core.DASHInspector
func NewRepresentationInspector ¶
func NewRepresentationInspector(config *RepresentationInspectorConfig) core.DASHInspector
func NewSpeedInspector ¶
func NewSpeedInspector() core.DASHInspector
NewSpeedInspector returns SpeedInspector. It inspects gap between video time and real time.
func NewSpeedInspectorWithConfig ¶
func NewSpeedInspectorWithConfig(config *SpeedInspectorConfig) core.DASHInspector
Types ¶
type AspectRatio ¶
func ParseAspectRatio ¶
func ParseAspectRatio(ar string) (AspectRatio, error)
type PresentationDelayInspector ¶ added in v1.2.0
type PresentationDelayInspector struct {
// contains filtered or unexported fields
}
func (*PresentationDelayInspector) Inspect ¶ added in v1.2.0
func (ins *PresentationDelayInspector) Inspect(manifest *core.Manifest, segments core.SegmentStore) *core.Report
type PresentationDelayInspectorConfig ¶ added in v1.2.0
type PresentationDelayInspectorConfig struct { Warn time.Duration Error time.Duration IgnoreEarliestSegment bool IgnoreLatestSegment bool }
func DefaultPresentationDelayInspectorConfig ¶ added in v1.2.0
func DefaultPresentationDelayInspectorConfig() *PresentationDelayInspectorConfig
type RepresentationInspectorConfig ¶
type RepresentationInspectorConfig struct { WarnMaxHeight int64 ErrorMaxHeight int64 WarnMinHeight int64 ErrorMinHeight int64 ValidPARs []AspectRatio AllowHeightOmittion bool AllowWidthOmittion bool WarnMaxVideoBandwidth int64 ErrorMaxVideoBandwidth int64 WarnMinVideoBandwidth int64 ErrorMinVideoBandwidth int64 WarnMaxAudioBandwidth int64 ErrorMaxAudioBandwidth int64 WarnMinAudioBandwidth int64 ErrorMinAudioBandwidth int64 }
type SpeedInspectorConfig ¶
func DefaultSpeedInspectorConfig ¶
func DefaultSpeedInspectorConfig() *SpeedInspectorConfig
Click to show internal directories.
Click to hide internal directories.