fix: pull rtsp

This commit is contained in:
langhuihui
2024-10-06 17:55:48 +08:00
parent c57200178d
commit fc790cfe06
30 changed files with 371 additions and 108 deletions

View File

@@ -118,6 +118,8 @@ func (t *Transformer) Start() (err error) {
args = append(args, "-f", "flv", to.Target)
case "rtsp":
args = append(args, "-f", "rtsp", to.Target)
case "srt":
args = append(args, "-f", "mpegts", to.Target)
default:
args = append(args, to.Target)
}