Skip to content

Commit

Permalink
Merge pull request #668 from kb2ear/master
Browse files Browse the repository at this point in the history
Fix missing audio on rdio-scanner web and mobile devices
  • Loading branch information
robotastic authored Apr 30, 2022
2 parents a96df69 + 1cf5764 commit 36dbf43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk-recorder/call_concluder/call_concluder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ int combine_wav(std::string files, char *target_filename) {
int convert_media(char *filename, char *converted) {
char shell_command[400];

int nchars = snprintf(shell_command, 400, "sox %s --norm=-.01 -t wav - | fdkaac --silent -p 2 --ignorelength -b 8000 -o %s -", filename, converted);
int nchars = snprintf(shell_command, 400, "sox %s --norm=-.01 -t wav - | fdkaac --silent -p 2 --moov-before-mdat --ignorelength -b 8000 -o %s -", filename, converted);

if (nchars >= 400) {
BOOST_LOG_TRIVIAL(error) << "Call uploader: Command longer than 400 characters";
Expand Down

0 comments on commit 36dbf43

Please sign in to comment.