Versions in this module Expand all Collapse all v1 v1.1.0 Jan 19, 2021 Changes in this version type Frame + Dts int64 + Pts int64 v1.0.0 Jan 9, 2021 Changes in this version + type AudioMeta struct + Channels int + Codec string + DataRate float64 + SampleRate int + SampleSize int + Sps []byte + type Frame struct + AbsTimestamp int64 + Payload []byte + type FrameWriter interface + WriteFrame func(frame *Frame) error + type MediaType int + const MediaTypeAttachment + const MediaTypeAudio + const MediaTypeData + const MediaTypeNB + const MediaTypeSubtitle + const MediaTypeUnknown + const MediaTypeVideo + func (mt *MediaType) MarshalText() ([]byte, error) + func (mt *MediaType) UnmarshalText(text []byte) error + func (mt MediaType) String() string + type VideoMeta struct + ClockRate int + Codec string + DataRate float64 + FixedFrameRate bool + FrameRate float64 + Height int + Pps []byte + Sps []byte + Vps []byte + Width int