Commit 65f8969
Don't ajust audio track if there is no audio track (webrtc#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 <hta@google.com>1 parent 161f6e7 commit 65f8969
1 file changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
0 commit comments