diff options
author | Keuin <[email protected]> | 2022-09-08 03:33:41 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-08 03:33:41 +0800 |
commit | ee451cbd950f82abf1df3d5e49ad74fbe9a53aa8 (patch) | |
tree | d10ed9a5499d9c588e873a25cdb5d99913640f2c /recording/config.go | |
parent | eaa1547b10f439a037866cee054a7810567aa6fc (diff) |
Add watch restart sleep.
Diffstat (limited to 'recording/config.go')
-rw-r--r-- | recording/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recording/config.go b/recording/config.go index 975887b..6d8704b 100644 --- a/recording/config.go +++ b/recording/config.go @@ -9,6 +9,7 @@ type TaskConfig struct { RoomId common.RoomId `mapstructure:"room_id"` Transport TransportConfig `mapstructure:"transport"` Download DownloadConfig `mapstructure:"download"` + Watch WatchConfig `mapstructure:"watch"` } type TransportConfig struct { @@ -22,6 +23,10 @@ type DownloadConfig struct { DiskWriteBufferBytes int `mapstructure:"disk_write_buffer_bytes"` } +type WatchConfig struct { + LiveInterruptedRestartSleepSeconds int `mapstructure:"live_interrupted_restart_sleep_seconds"` +} + func DefaultTransportConfig() TransportConfig { return TransportConfig{ SocketTimeoutSeconds: 10, |