FS-7586 #resolve handle VLC rename of the aac codec to the generic name of mpga

This commit is contained in:
William King 2015-06-08 21:27:56 -07:00
parent 257bb5c655
commit 18063a4754
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ static switch_status_t vlc_file_open(switch_file_handle_t *handle, const char *p
if (switch_test_flag(handle, SWITCH_FILE_FLAG_VIDEO) && switch_test_flag(handle, SWITCH_FILE_FLAG_WRITE)) {
if ((ext = strrchr(path, '.')) && !strcasecmp(ext, ".mp4")) {
realpath = path;
path = switch_core_sprintf(context->pool, "#transcode{vcodec=h264,acodec=aac}:std{access=file,mux=mp4,dst=%s}", path);
path = switch_core_sprintf(context->pool, "#transcode{vcodec=h264,acodec=mpga}:std{access=file,mux=mp4,dst=%s}", path);
} else if (handle->stream_name && (!strcasecmp(handle->stream_name, "rtmp") || !strcasecmp(handle->stream_name, "youtube"))) {
handle->mm.samplerate = 44100;