Merge branch 'main' of github.com:koush/scrypted

This commit is contained in:
Koushik Dutta
2023-11-29 13:17:27 -08:00

View File

@@ -207,6 +207,10 @@ export function parseRtpMap(mlineType: string, rtpmap: string) {
codec = 'pcm_s16be';
ffmpegEncoder = 'pcm_s16be';
}
else if (rtpmap?.includes('speex')) {
codec = 'speex';
ffmpegEncoder = 'libspeex';
}
else if (rtpmap?.includes('h264')) {
codec = 'h264';
}