Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RPC RPC `yaml:"rpc"` Debug bool `yaml:"debug"` Interval int `yaml:"interval"` OutPutPath string `yaml:"out_put_path"` UploadPath string `yaml:"upload_path"` Feature Feature `yaml:"feature"` LiveRooms []string `yaml:"live_rooms"` OutputTmpl string `yaml:"out_put_tmpl"` VideoSplitStrategies VideoSplitStrategies `yaml:"video_split_strategies"` Cookies map[string]string `yaml:"cookies"` // contains filtered or unexported fields }
Config content all config info.
func NewConfigWithFile ¶
type Feature ¶
type Feature struct {
UseNativeFlvParser bool `yaml:"use_native_flv_parser"`
}
Feature info.
type VideoSplitStrategies ¶
type VideoSplitStrategies struct { OnRoomNameChanged bool `yaml:"on_room_name_changed"` MaxDuration time.Duration `yaml:"max_duration"` }
VideoSplitStrategies info.
Click to show internal directories.
Click to hide internal directories.