Merge pull request #2747 from krille-chan/krille/disable-broken-opus-on-web
chore: Disable broken opus recording on web
This commit is contained in:
commit
f5367c0951
1 changed files with 2 additions and 2 deletions
|
|
@ -61,8 +61,8 @@ class RecordingViewModelState extends State<RecordingViewModel> {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
final codec =
|
final codec =
|
||||||
!PlatformInfos
|
PlatformInfos
|
||||||
.isIOS && // Blocked by https://github.com/llfbandit/record/issues/560
|
.isAndroid && // Blocked by https://github.com/llfbandit/record/issues/560
|
||||||
await audioRecorder.isEncoderSupported(AudioEncoder.opus)
|
await audioRecorder.isEncoderSupported(AudioEncoder.opus)
|
||||||
? AudioEncoder.opus
|
? AudioEncoder.opus
|
||||||
: AudioEncoder.aacLc;
|
: AudioEncoder.aacLc;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue