refactor: Streamer
breaking change: change PlayConfig.CustomArgs type
This commit is contained in:
@@ -24,18 +24,18 @@ type InputItem struct {
|
||||
}
|
||||
|
||||
type PlayConfig struct {
|
||||
VideoCodec string `json:"video_codec"`
|
||||
Preset string `json:"preset"`
|
||||
CRF int `json:"crf"`
|
||||
MaxRate string `json:"max_rate"`
|
||||
BufSize string `json:"buf_size"`
|
||||
Scale string `json:"scale"`
|
||||
FrameRate int `json:"frame_rate"`
|
||||
AudioCodec string `json:"audio_codec"`
|
||||
AudioBitrate string `json:"audio_bitrate"`
|
||||
AudioSampleRate int `json:"audio_sample_rate"`
|
||||
OutputFormat string `json:"output_format"`
|
||||
CustomArgs string `json:"custom_args"`
|
||||
VideoCodec string `json:"video_codec"`
|
||||
Preset string `json:"preset"`
|
||||
CRF int `json:"crf"`
|
||||
MaxRate string `json:"max_rate"`
|
||||
BufSize string `json:"buf_size"`
|
||||
Scale string `json:"scale"`
|
||||
FrameRate int `json:"frame_rate"`
|
||||
AudioCodec string `json:"audio_codec"`
|
||||
AudioBitrate string `json:"audio_bitrate"`
|
||||
AudioSampleRate int `json:"audio_sample_rate"`
|
||||
OutputFormat string `json:"output_format"`
|
||||
CustomArgs []string `json:"custom_args"`
|
||||
}
|
||||
|
||||
type LogConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user