Documentation
¶
Index ¶
- func NewPCMAlawCodecData(index int, direction string, backchannel bool) av.AudioCodecData
- func NewPCMMulawCodecData(index int, direction string, backchannel bool) av.AudioCodecData
- type PCMUCodecData
- func (self PCMUCodecData) ChannelLayout() av.ChannelLayout
- func (self PCMUCodecData) GetDirection() string
- func (self PCMUCodecData) GetIndex() int
- func (self PCMUCodecData) IsBackChannel() bool
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPCMAlawCodecData ¶
func NewPCMAlawCodecData(index int, direction string, backchannel bool) av.AudioCodecData
func NewPCMMulawCodecData ¶
func NewPCMMulawCodecData(index int, direction string, backchannel bool) av.AudioCodecData
Types ¶
type PCMUCodecData ¶
type PCMUCodecData struct { Index int Direction string BackChannel bool // contains filtered or unexported fields }
func (PCMUCodecData) ChannelLayout ¶
func (self PCMUCodecData) ChannelLayout() av.ChannelLayout
func (PCMUCodecData) GetDirection ¶ added in v1.0.61
func (self PCMUCodecData) GetDirection() string
func (PCMUCodecData) GetIndex ¶ added in v1.0.61
func (self PCMUCodecData) GetIndex() int
func (PCMUCodecData) IsBackChannel ¶ added in v1.0.61
func (self PCMUCodecData) IsBackChannel() bool
func (PCMUCodecData) PacketDuration ¶
func (self PCMUCodecData) PacketDuration(data []byte) (time.Duration, error)
func (PCMUCodecData) SampleFormat ¶
func (self PCMUCodecData) SampleFormat() av.SampleFormat
func (PCMUCodecData) SampleRate ¶
func (self PCMUCodecData) SampleRate() int
func (PCMUCodecData) Type ¶
func (self PCMUCodecData) Type() av.CodecType
type SpeexCodecData ¶
func NewSpeexCodecData ¶
func NewSpeexCodecData(sr int, cl av.ChannelLayout) SpeexCodecData
func (SpeexCodecData) GetDirection ¶ added in v1.0.61
func (self SpeexCodecData) GetDirection() string
func (SpeexCodecData) GetIndex ¶ added in v1.0.61
func (self SpeexCodecData) GetIndex() int
func (SpeexCodecData) IsBackChannel ¶ added in v1.0.61
func (self SpeexCodecData) IsBackChannel() bool
func (SpeexCodecData) PacketDuration ¶
func (self SpeexCodecData) PacketDuration(data []byte) (time.Duration, error)
Click to show internal directories.
Click to hide internal directories.