Skip to content

Conversation

@fermionboson101
Copy link

@fermionboson101 fermionboson101 commented Dec 9, 2023

  1. exposed new API for audio
  2. added new audio bitrate (128K), works for both audio and video conversion.

@abskrj
Copy link
Member

abskrj commented Dec 9, 2023

@fermionboson101 pls check the deepsource check

Video400K
)

const (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets keep this const in the upper one, else iota value starts at 0, so ImagePng and Audio192K will have same value

return
}

log.Println("request", request)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: printing request twice


var AudioFileTypeMap = map[FILE_TYPE]string{
Audio192K: "_audio192k.m4a",
Audio128K: "_audio128k.m4a",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m4a is supported only for dash protocol

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let discuss on this


wg.Add(len(constants.AudioFileTypeMap))

go generateAudioFiles(targetFile, outputPath, &wg)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets connect once to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants