增加重连功能

This commit is contained in:
unknown
2020-07-09 20:04:39 +08:00
parent fadeccddab
commit cb733b368f
2 changed files with 23 additions and 5 deletions

View File

@@ -22,7 +22,8 @@ var config = struct {
AutoPull bool
RemoteAddr string
Timeout int
}{":554", false, "rtsp://localhost/${streamPath}", 0}
Reconnect bool
}{":554", false, "rtsp://localhost/${streamPath}", 0,false}
func init() {
InstallPlugin(&PluginConfig{