Versions in this module Expand all Collapse all v2 v2.2.1 Feb 6, 2023 Changes in this version + const AUDIO_HEARING_IMPAIRED v2.2.0 Aug 19, 2022 Changes in this version + const AUDIO_CLEAN_EFFECTS + const AUDIO_DESCRIPTION + const AUDIO_NATIVE + const AUDIO_PRIMARY + const AUDIO_STREAM + const AUDIO_UNDEFINED + const AVC_VIDEO + const BitsPerByte + const CONDITIONAL_ACCESS + const COPYRIGHT + const CrcLen + const DOLBY_DIGITAL + const DOLBY_VISION + const EBP + const EC3 + const EXTENSION + const LANGUAGE + const MAXIMUM_BITRATE + const MaxBitRateBytesPerSecond + const PSIHeaderLen + const PatPid + const PidNotFound + const PmtStreamTypeAac + const PmtStreamTypeAc3 + const PmtStreamTypeEc3 + const PmtStreamTypeID3 + const PmtStreamTypeMpeg2VideoH262 + const PmtStreamTypeMpeg4Video + const PmtStreamTypeMpeg4VideoH264 + const PmtStreamTypeMpeg4VideoH265 + const PmtStreamTypePrivateContent + const PmtStreamTypeScte35 + const REGISTRATION + const SCTE_ADAPTATION + const STREAM_IDENTIFIER + const SYSTEM_CLOCK + const TTML_DESC_TAG_EXTENSION + const TTML_PURPOSE_ALL_DIALOGUE + const TTML_PURPOSE_ALL_DIALOGUE_WITH_HARD_OF_HEARING + const TTML_PURPOSE_AUDIO_DESCRIPTION + const TTML_PURPOSE_CONTENT_RELATED_COMMENTARY + const TTML_PURPOSE_HARD_OF_HEARING + const TTML_PURPOSE_OTHER_LANG_DIALOGUE + const TTML_PURPOSE_OTHER_LANG_DIALOGUE_WITH_HARD_OF_HEARING + const TTML_PURPOSE_SAME_LANG_DIALOGUE + const VIDEO_STREAM + func CanBuildPMT(payload []byte, sectionLength uint16) bool + func ExtractCRC(payload []byte) (uint32, error) + func FilterPMTPacketsToPids(packets []*packet.Packet, pids []int) ([]*packet.Packet, error) + func IsPMT(pkt *packet.Packet, pat PAT) (bool, error) + func NewPointerField(size int) []byte + func PmtAccumulatorDoneFunc(b []byte) (bool, error) + func PointerField(psi []byte) uint8 + func PrivateIndicator(psi []byte) bool + func SectionLength(psi []byte) uint16 + func SectionSyntaxIndicator(psi []byte) bool + func TableID(psi []byte) uint8 + type PAT interface + NumPrograms func() int + ProgramMap func() map[int]int + SPTSpmtPID func() (int, error) + func NewPAT(patBytes []byte) (PAT, error) + func ReadPAT(r io.Reader) (PAT, error) + type PMT interface + CurrentNextIndicator func() bool + ElementaryStreams func() []PmtElementaryStream + IsPidForStreamWherePresentationLagsEbp func(pid int) bool + PIDExists func(pid int) bool + Pids func() []int + RemoveElementaryStreams func(pids []int) + String func() string + VersionNumber func() uint8 + func NewPMT(pmtBytes []byte) (PMT, error) + func ReadPMT(r io.Reader, pid int) (PMT, error) + type PmtDescriptor interface + DecodeDolbyVisionCodec func(string) string + DecodeIso639AudioType func() byte + DecodeIso639LanguageCode func() string + DecodeMaximumBitRate func() uint32 + DecodeTTMLIso639LanguageCode func() string + DecodeTTMLSubtitlePurpose func() uint8 + Format func() string + IsDolbyATMOS func() bool + IsDolbyVision func() bool + IsEBPDescriptor func() bool + IsIFrameProfile func() bool + IsIso639LanguageDescriptor func() bool + IsMaximumBitrateDescriptor func() bool + IsTTMLDescTagExtension func() bool + IsTTMLSubtitlingDescriptor func() bool + Tag func() uint8 + func NewPmtDescriptor(tag uint8, data []byte) PmtDescriptor + type PmtElementaryStream interface + Descriptors func() []PmtDescriptor + ElementaryPid func() int + IsTTMLSubtitling func() bool + MaxBitRate func() uint64 + func NewPmtElementaryStream(streamType uint8, elementaryPid int, descriptors []PmtDescriptor) PmtElementaryStream + type PmtStreamType interface + IsAudioContent func() bool + IsID3Content func() bool + IsPrivateContent func() bool + IsSCTE35Content func() bool + IsStreamWherePresentationLagsEbp func() bool + IsVideoContent func() bool + StreamType func() uint8 + StreamTypeDescription func() string + func LookupPmtStreamType(code uint8) PmtStreamType + type TableHeader struct + PrivateIndicator bool + SectionLength uint16 + SectionSyntaxIndicator bool + TableID uint8 + func NewTableHeader() TableHeader + func TableHeaderFromBytes(data []byte) (TableHeader, error) + func (th TableHeader) Data() []byte Other modules containing this package github.com/Comcast/gots