Versions in this module Expand all Collapse all v0 v0.0.1 Oct 14, 2021 Changes in this version + func Channels(pkt []byte) int + func PacketDuration(pkt []byte) (time.Duration, error) + type CodecData struct + Channels int + func NewCodecData(channels int) *CodecData + func (d CodecData) ChannelLayout() av.ChannelLayout + func (d CodecData) PacketDuration(pkt []byte) (time.Duration, error) + func (d CodecData) SampleFormat() av.SampleFormat + func (d CodecData) SampleRate() int + func (d CodecData) Type() av.CodecType