mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-07 01:03:07 +08:00
Add ffmpeg async option for HomeKit audio
This commit is contained in:
@@ -115,6 +115,10 @@ func Init() {
|
||||
input = strings.Replace(tpl["file"], "{input}", s, 1)
|
||||
}
|
||||
|
||||
if _, ok := query["async"]; ok {
|
||||
input = "-use_wallclock_as_timestamps 1 -async 1 " + input
|
||||
}
|
||||
|
||||
s = cmd + input
|
||||
|
||||
if query != nil {
|
||||
|
Reference in New Issue
Block a user