Versions in this module Expand all Collapse all v0 v0.0.2 Aug 24, 2023 v0.0.1 Aug 23, 2023 Changes in this version + const PAGE_HEAD_LENGTH + var CapturePattern [4]byte = [4]byte + func PrintPage(page *oggPage) + type AudioParam struct + ChannelCount uint32 + CodecId codec.CodecID + ExtraData []byte + InitialPadding uint32 + SampleRate uint32 + type DemuxState int + const DEMUX_PAGE_HEAD + const DEMUX_PAGE_PAYLOAD + type Demuxer struct + OnFrame func(streamId uint32, cid codec.CodecID, frame []byte, pts uint64, dts uint64, ...) + OnPacket func(streamId uint32, granule uint64, packet []byte, lost int) + OnPage func(page *oggPage) + func NewDemuxer() *Demuxer + func (demuxer *Demuxer) GetAudioParam() *AudioParam + func (demuxer *Demuxer) GetVideoParam() *VideoParam + func (demuxer *Demuxer) Input(buf []byte) (err error) + type OpusCodec struct + type VP8Codec struct + type VideoParam struct + Aspectratio uint32 + CodecId codec.CodecID + ExtraData []byte + FrameRate uint32 + Height uint32 + Width uint32