fix: Temporarily disable opus recording on iOS because iOS 26 seems to break it
This commit is contained in:
parent
816c52630b
commit
5b7944b181
1 changed files with 3 additions and 1 deletions
|
|
@ -69,7 +69,9 @@ class RecordingViewModelState extends State<RecordingViewModel> {
|
||||||
// which does not play on iOS right now. So we use wav for now:
|
// which does not play on iOS right now. So we use wav for now:
|
||||||
? AudioEncoder.wav
|
? AudioEncoder.wav
|
||||||
// Everywhere else we use opus if supported by the platform:
|
// Everywhere else we use opus if supported by the platform:
|
||||||
: await audioRecorder.isEncoderSupported(AudioEncoder.opus)
|
: !PlatformInfos
|
||||||
|
.isIOS && // Blocked by https://github.com/llfbandit/record/issues/560
|
||||||
|
await audioRecorder.isEncoderSupported(AudioEncoder.opus)
|
||||||
? AudioEncoder.opus
|
? AudioEncoder.opus
|
||||||
: AudioEncoder.aacLc;
|
: AudioEncoder.aacLc;
|
||||||
fileName =
|
fileName =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue