add debug message

master v1.0.0
Baik S. Hyun 4 years ago
parent 3d915d3a69
commit f47e6a594e

@ -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}
}

Loading…
Cancel
Save