1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 15:02:19 +00:00

Investigate of why I don't have any audio

This commit is contained in:
Yohann D'ANELLO 2020-11-09 15:55:44 +01:00
parent 11d89c6950
commit 33f86a0742

View File

@ -75,7 +75,7 @@ func forward(streamName string, q *messaging.Quality, fwdCfg []string) {
formattedURL = strings.ReplaceAll(formattedURL, "%name", streamName) formattedURL = strings.ReplaceAll(formattedURL, "%name", streamName)
params = append(params, "-f", "flv", params = append(params, "-f", "flv",
"-c:v", "copy", "-c:a", "libopus", formattedURL) "-c:v", "copy", "-c:a", "aac", "-b:a", "160k,", "-ar", "44100", formattedURL)
} }
ffmpeg := exec.Command("ffmpeg", params...) ffmpeg := exec.Command("ffmpeg", params...)