|
|
|
@ -5,6 +5,7 @@ import (
|
|
|
|
|
|
|
|
|
|
"gitlab.com/ics_cinnamon/joy4/av/avutil"
|
|
|
|
|
"gitlab.com/ics_cinnamon/joy4/format/aac"
|
|
|
|
|
"gitlab.com/ics_cinnamon/joy4/format/raw"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func RegisterAll() {
|
|
|
|
@ -14,6 +15,7 @@ func RegisterAll() {
|
|
|
|
|
//avutil.DefaultHandlers.Add(rtsp.Handler)
|
|
|
|
|
//avutil.DefaultHandlers.Add(flv.Handler)
|
|
|
|
|
avutil.DefaultHandlers.Add(aac.Handler)
|
|
|
|
|
avutil.DefaultHandlers.Add(raw.Handler)
|
|
|
|
|
|
|
|
|
|
fmt.Println("Handler Regi Done!")
|
|
|
|
|
}
|
|
|
|
|