mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 14:13:28 +00:00
Avoid 'No audio stream detected' in prebuffer when speex is the inputAudioCodec (#1203)
Co-authored-by: Marc Vanbrabant <marc@foreach.be>
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user