Skip to content

Commit fef16ba

Browse files
committed
fix(android): update mimeType for web platform audio recording
1 parent f183b6d commit fef16ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/mobile/components/recorder.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
^js beats (BeatsObserver.)
9797
^js w1 (renderWaveform wave-l #js {:beatsObserver beats})
9898
^js w2 (renderWaveform wave-r #js {})
99-
^js r (Recorder.create #js {:mimeType (if (util/ios?) "audio/mp4" "audio/wav")
99+
^js r (Recorder.create #js {:mimeType (if (util/ios?) "audio/mp4" "audio/webm")
100100
:mediaRecorderTimeslice 1000})
101101
stop (fn []
102102
(some-> @*recorder (.destroy))

0 commit comments

Comments
 (0)