Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman SHamagin committed Aug 22, 2023
1 parent cc79bf8 commit 221c678
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/server/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ func (c *Config) m3u8ReverseProxy(ctx *gin.Context) {
// Запуск ffmpeg для трансляции
cmd := exec.Command("ffmpeg", "-i", fullURL,
"-c:v", "libx265", "-crf", "28", // кодек h265 и CRF для управления качеством
"-vf", "scale=-1:720", // изменение размера видео
"-b:v", "900k", // битрейт видео
"-c:a", "aac", "-b:a", "128k", // кодек аудио и битрейт
"-hls_time", "10",
"-hls_list_size", "5",
Expand Down

0 comments on commit 221c678

Please sign in to comment.