You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
521 B
Go
22 lines
521 B
Go
package format
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"gitlab.com/ics_cinnamon/joy4/av/avutil"
|
|
"gitlab.com/ics_cinnamon/joy4/format/aac"
|
|
"gitlab.com/ics_cinnamon/joy4/format/raw"
|
|
)
|
|
|
|
func RegisterAll() {
|
|
//avutil.DefaultHandlers.Add(mp4.Handler)
|
|
//avutil.DefaultHandlers.Add(ts.Handler)
|
|
//avutil.DefaultHandlers.Add(rtmp.Handler)
|
|
//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!")
|
|
}
|