Versions in this module Expand all Collapse all v0 v0.0.1 Apr 19, 2023 Changes in this version + const BufSz + const PktSz + func DeB64(b64 string) []byte + func IsIn(slice []uint16, val uint16) bool + func MkJson(i interface{}) string + type Cue struct + Command *SpliceCommand + Descriptors []SpliceDescriptor + InfoSection *InfoSection + PacketData *packetData + func (cue *Cue) Decode(bites []byte) bool + func (cue *Cue) Show() + type InfoSection struct + CwIndex string + DescriptorLoopLength uint16 + EncryptedPacket bool + EncryptionAlgorithm uint8 + Name string + Private bool + ProtocolVersion uint8 + PtsAdjustment float64 + Reserved string + SectionLength uint16 + SectionSyntaxIndicator bool + SpliceCommandLength uint16 + SpliceCommandType uint8 + TableID string + Tier string + func (infosec *InfoSection) Decode(gob *gobs.Gob) bool + type Pids struct + PcrPids []uint16 + PmtPids []uint16 + Scte35Pids []uint16 + type Scte35Parser struct + func NewScte35Parser() *Scte35Parser + func (scte35p *Scte35Parser) Parse(pkt []byte) (cue *Cue) + type SpliceCommand struct + AvailExpected uint8 + AvailNum uint8 + Bites []byte + BreakAutoReturn bool + BreakDuration float64 + CommandType uint8 + ComponentCount uint8 + Components []uint8 + DurationFlag bool + Identifier uint32 + Name string + OutOfNetworkIndicator bool + PTS float64 + ProgramSpliceFlag bool + SpliceEventCancelIndicator bool + SpliceEventID string + SpliceImmediateFlag bool + TimeSpecifiedFlag bool + UniqueProgramID uint16 + func (cmd *SpliceCommand) Decode(cmdtype uint8, gob *gobs.Gob) + type SpliceDescriptor struct + ArchiveAllowedFlag bool + AudioComponents []audioCmpt + Components []segCmpt + DTMFChars uint64 + DTMFCount uint8 + DeliveryNotRestrictedFlag bool + DeviceRestrictions string + Identifier string + Length uint8 + Name string + NoRegionalBlackoutFlag bool + PreRoll uint8 + ProgramSegmentationFlag bool + ProviderAvailID uint32 + SegmentNum uint8 + SegmentationDuration float64 + SegmentationDurationFlag bool + SegmentationEventCancelIndicator bool + SegmentationEventID string + SegmentationMessage string + SegmentationTypeID uint8 + SegmentationUpid *Upid + SegmentationUpidLength uint8 + SegmentationUpidType uint8 + SegmentsExpected uint8 + SubSegmentNum uint8 + SubSegmentsExpected uint8 + TAINano uint32 + TAISeconds uint64 + Tag uint8 + UTCOffset uint16 + WebDeliveryAllowedFlag bool + func (dscptr *SpliceDescriptor) Decode(gob *gobs.Gob, tag uint8, length uint8) + type Stream struct + Cues []*Cue + Pid2Prgm map[uint16]uint16 + Pid2Type map[uint16]uint8 + Pids *Pids + Prgm2Pcr map[uint16]uint64 + Prgm2Pts map[uint16]uint64 + Programs []uint16 + func NewStream() *Stream + func (stream *Stream) Decode(fname string) []*Cue + func (stream *Stream) DecodeBytes(b []byte) []*Cue + type Upid struct + ContentID []byte + EndOfDay uint8 + FormatIdentifier string + Name string + PrivateData []byte + Reserved uint8 + TSID uint16 + UniqueFor uint16 + UpidType uint8 + Upids []Upid + Value string + func (upid *Upid) Decode(gob *gobs.Gob, upidType uint8, upidlen uint8)