mirror of
https://github.com/hsnks100/liveflow.git
synced 2025-09-26 20:21:12 +08:00
feat: mp4 interval config
This commit is contained in:
@@ -8,6 +8,7 @@ disk_ram = true
|
||||
mode=false
|
||||
[mp4]
|
||||
record=true
|
||||
split_interval_ms=3000
|
||||
[ebml]
|
||||
record=false
|
||||
|
||||
|
@@ -25,7 +25,8 @@ type DockerConfig struct {
|
||||
}
|
||||
|
||||
type MP4 struct {
|
||||
Record bool `mapstructure:"record"`
|
||||
Record bool `mapstructure:"record"`
|
||||
SplitIntervalMS int `mapstructure:"split_interval_ms"`
|
||||
}
|
||||
|
||||
type EBML struct {
|
||||
|
Reference in New Issue
Block a user