Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't ajust audio track if there is no audio track (#1691)
On a M4 Mac Mini, there is no built-in microphone or camera, so `getAudioTracks()` will always return an empty array. In this case, we don't need to ajust sampling rate to 48khz... Also change av1 codecs string from `av01.1.x.y` to `av01.0.x.y` since MediaRecorder only support av1 main profile instead of high profile. Co-authored-by: Harald Alvestrand <[email protected]>
- Loading branch information