Versions in this module Expand all Collapse all v1 v1.0.0 Sep 20, 2020 Changes in this version + const G711Mu + const G7221AUDIOTYPE + const G7231AUDIOTYPE + const G729AUDIOTYPE + const HaiKangCode + const LocalCache + const MAPHeaderLength + const MAXFrameLen + const MEPGProgramEndCode + const PESHeaderLength + const PESLoadLength + const PSHeaderLength + const RTPHeaderLength + const RtpLoadLength + const StartCodeAudio + const StartCodeMAP + const StartCodePS + const StartCodeSYS + const StartCodeVideo + const StreamIDAudio + const StreamIDVideo + const StreamTypeH264 + const StreamTypeH265 + const SystemHeaderLength + const TCPTransferActive + const TCPTransferPassive + const UDPTransfer + var ErrFormatPack = errors.New("not package standard") + var ErrMarkerBit = errors.New("marker bit value error") + var ErrNotFoundStartCode = errors.New("not found the need start code flag") + var ErrParsePakcet = errors.New("parse ps packet error") + type DecPSPackage struct + AudioPayload []byte + AudioStreamType uint32 + VideoPayload []byte + VideoStreamType uint32 + func (dec *DecPSPackage) Read(data []byte) error + type RTP struct + func (rtp *RTP) PushPack(pack *RTPPack) + type RTPPack struct + Type RTPType + type RTPType int + const RTP_TYPE_AUDIO + const RTP_TYPE_AUDIOCONTROL + const RTP_TYPE_VIDEO + const RTP_TYPE_VIDEOCONTROL + func (rt RTPType) String() string + type RTP_PS struct + func (rtp *RTP_PS) PushPS(ps []byte)