@ -121,7 +121,7 @@ var (
PCM_ALAW = MakeAudioCodecType(avCodecTypeMagic + 3)
SPEEX = MakeAudioCodecType(avCodecTypeMagic + 4)
NELLYMOSER = MakeAudioCodecType(avCodecTypeMagic + 5)
G729= MakeAudioCodecType(avCodecTypeMagic + 6)
G729 = MakeAudioCodecType(avCodecTypeMagic + 6)
)
const codecTypeAudioBit = 0x1
@ -269,6 +269,7 @@ func (self *Handlers) FindCreate(uri string) (handler RegisterHandler, muxer av.
var DefaultHandlers = &Handlers{}
func Open(url string) (demuxer av.DemuxCloser, err error) {
fmt.Println("avutil Open!")
return DefaultHandlers.Open(url)
}
@ -120,5 +120,7 @@ func Handler(h *avutil.RegisterHandler) {
return err == nil
fmt.Println("AAC handler!")
h.CodecTypes = []av.CodecType{av.AAC}