You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
533 B

package ffmpegServer
import "ycmediakit/internal/pkg/unit/keepalive"
type FfmpegConfig struct {
Timeout int
ToHls ToHlsConfig
}
type CmdBaseConfig struct {
decodeCodec string
EncodeCodec string
Profile string
Preset string
Crf string
Bitrate string
VfScale string
GopSize string
}
type ToHlsConfig struct {
CmdBaseConfig `mapstructure:"base"`
Keepalive keepalive.Config
HlsRoot string
HlsName string
HlsTime string
HlsListSize string
HlsWarp string
}