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.
joy4/format/format.go

21 lines
571 B
Go

4 years ago
package format
import (
"github.com/Danile71/joy4/av/avutil"
"github.com/Danile71/joy4/format/aac"
"github.com/Danile71/joy4/format/flv"
"github.com/Danile71/joy4/format/mp4"
"github.com/Danile71/joy4/format/rtmp"
"github.com/Danile71/joy4/format/rtsp"
"github.com/Danile71/joy4/format/ts"
)
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)
}