Documentation
¶
Index ¶
Constants ¶
View Source
const ( StartCodePS = 0x000001ba StartCodeSYS = 0x000001bb StartCodeMAP = 0x000001bc StartCodeVideo = 0x000001e0 StartCodeAudio = 0x000001c0 PrivateStreamCode = 0x000001bd MEPGProgramEndCode = 0x000001b9 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EsHandler ¶
type EsHandler interface { ReceiveAudio(MpegPsEsStream) ReceiveVideo(MpegPsEsStream) }
type MpegPsStream ¶
type MpegPsStream struct { EsHandler // contains filtered or unexported fields }
func (*MpegPsStream) Drop ¶
func (ps *MpegPsStream) Drop()
func (*MpegPsStream) ReadPayload ¶
func (ps *MpegPsStream) ReadPayload(data *util.Buffer) (payload []byte, err error)
Click to show internal directories.
Click to hide internal directories.