Versions in this module Expand all Collapse all v0 v0.0.3 Feb 3, 2024 v0.0.2 Feb 3, 2024 Changes in this version + func NewOpusCodecData(sr int, cc av.ChannelLayout) av.AudioCodecData + func NewPCMAlawCodecData() av.AudioCodecData + func NewPCMCodecData() av.AudioCodecData + func NewPCMMulawCodecData() av.AudioCodecData + type OpusCodecData struct + ChannelLayout_ av.ChannelLayout + SampleRate_ int + func (self OpusCodecData) ChannelLayout() av.ChannelLayout + func (self OpusCodecData) PacketDuration(data []byte) (time.Duration, error) + func (self OpusCodecData) SampleFormat() av.SampleFormat + func (self OpusCodecData) SampleRate() int + func (self OpusCodecData) Type() av.CodecType + type PCMUCodecData struct + func (self PCMUCodecData) ChannelLayout() av.ChannelLayout + func (self PCMUCodecData) PacketDuration(data []byte) (time.Duration, error) + func (self PCMUCodecData) SampleFormat() av.SampleFormat + func (self PCMUCodecData) SampleRate() int + func (self PCMUCodecData) Type() av.CodecType + type SpeexCodecData struct + func NewSpeexCodecData(sr int, cl av.ChannelLayout) SpeexCodecData + func (self SpeexCodecData) PacketDuration(data []byte) (time.Duration, error)