Skip to content

Commit

Permalink
chore: add additional options for AAC
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanleo committed Feb 8, 2020
1 parent e7fa3b5 commit 9743d48
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion camera/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ func streamAudioCodecOptions(cfg rtp.StreamConfiguration) []string {
"voip",
}
case rtp.AudioCodecType_AAC_ELD:
return []string{}
return []string{
"-profile:a",
"aac_eld",
"-flags",
"+global_header",
}
default:
return []string{}
}
Expand Down

0 comments on commit 9743d48

Please sign in to comment.