diff --git a/common/src/sdp-utils.ts b/common/src/sdp-utils.ts index 98f4bdc53..8c3c9fc1e 100644 --- a/common/src/sdp-utils.ts +++ b/common/src/sdp-utils.ts @@ -227,6 +227,10 @@ export function parseRtpMap(mline: ReturnType, rtpmap: string codec = 'pcm_alaw'; ffmpegEncoder = 'pcm_alaw'; } + else if (mline.payloadTypes?.includes(14)) { + codec = 'mp3'; + ffmpegEncoder = 'mp3'; + } else { // ffmpeg seems to omit the rtpmap type for pcm alaw when creating sdp? // is this the default?