点击"按下说话"录音时,音量图标无变化,播放录音无声音

cam 1月前 94

2024-01-03 11:21:33.383494+0800 Runner[83322:7865155] Metal API Validation Enabled 2024-01-03 11:21:33.448184+0800 Runner[83322:7865155] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(35)] Using the Impeller rendering backend. 2024-01-03 11:21:33.597975+0800 Runner[83322:7865417] flutter: The Dart VM service is listening on http://127.0.0.1:60510/e3Ou1M-fR1I=/ 2024-01-03 11:21:34.488070+0800 Runner[83322:7865155] 音视频SDK是普通版 2024-01-03 11:21:34.739389+0800 Runner[83322:7865155] Connection status changed to (0) 2024-01-03 11:21:34.745153+0800 Runner[83322:7865405] flutter: 0 2024-01-03 11:21:34.747430+0800 Runner[83322:7865155] Connection status changed to (0) 2024-01-03 11:21:34.749762+0800 Runner[83322:7865405] [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(Failed to set batch icon number, Permission denied by the user, null, null)

0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)

1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)

#2 FlutterDynamicIcon.setApplicationIconBadgeNumber (package:flutter_dynamic_icon/flutter_dynamic_icon.dart:59:5) 2024-01-03 11:21:34.900990+0800 Runner[83322:7865155] Connection status changed to (2) 2024-01-03 11:21:34.901454+0800 Runner[83322:7865405] flutter: 2 2024-01-03 11:21:34.906070+0800 Runner[83322:7865405] flutter: [Instance of 'UserOnlineState'] 2024-01-03 11:21:34.910253+0800 Runner[83322:7865155] Connection status changed to (1) 2024-01-03 11:21:34.910573+0800 Runner[83322:7865405] flutter: 1 2024-01-03 11:21:34.921947+0800 Runner[83322:7865405] flutter: on user settings updated 2024-01-03 11:21:35.587820+0800 Runner[83322:7865405] flutter: load conversation 2024-01-03 11:21:40.608508+0800 Runner[83322:7865405] flutter: received 10 messages 2024-01-03 11:21:40.612596+0800 Runner[83322:7865405] flutter: load conversation 2024-01-03 11:21:44.531851+0800 Runner[83322:7865405] flutter: ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 2024-01-03 11:21:44.531958+0800 Runner[83322:7865405] flutter: │ #0 new FlutterSoundRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:140:13) 2024-01-03 11:21:44.532002+0800 Runner[83322:7865405] flutter: │ #1 RecordState._startRecord (package:wfc_example/messages/input_bar/record_widget.dart:78:17) 2024-01-03 11:21:44.532042+0800 Runner[83322:7865405] flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ 2024-01-03 11:21:44.532617+0800 Runner[83322:7865405] flutter: │
最新回复 (6)
  • cam 1月前
    引用 2
    2024-01-03 11:21:33.383494+0800 Runner[83322:7865155] Metal API Validation Enabled
    2024-01-03 11:21:33.448184+0800 Runner[83322:7865155] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(35)] Using the Impeller rendering backend.
    2024-01-03 11:21:33.597975+0800 Runner[83322:7865417] flutter: The Dart VM service is listening on http://127.0.0.1:60510/e3Ou1M-fR1I=/
    2024-01-03 11:21:34.488070+0800 Runner[83322:7865155] 音视频SDK是普通版
    2024-01-03 11:21:34.739389+0800 Runner[83322:7865155] Connection status changed to (0)
    2024-01-03 11:21:34.745153+0800 Runner[83322:7865405] flutter: 0
    2024-01-03 11:21:34.747430+0800 Runner[83322:7865155] Connection status changed to (0)
    2024-01-03 11:21:34.749762+0800 Runner[83322:7865405] [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(Failed to set batch icon number, Permission denied by the user, null, null)
    #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
    #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
    <asynchronous suspension>
    #2      FlutterDynamicIcon.setApplicationIconBadgeNumber (package:flutter_dynamic_icon/flutter_dynamic_icon.dart:59:5)
    <asynchronous suspension>
    2024-01-03 11:21:34.900990+0800 Runner[83322:7865155] Connection status changed to (2)
    2024-01-03 11:21:34.901454+0800 Runner[83322:7865405] flutter: 2
    2024-01-03 11:21:34.906070+0800 Runner[83322:7865405] flutter: [Instance of 'UserOnlineState']
    2024-01-03 11:21:34.910253+0800 Runner[83322:7865155] Connection status changed to (1)
    2024-01-03 11:21:34.910573+0800 Runner[83322:7865405] flutter: 1
    2024-01-03 11:21:34.921947+0800 Runner[83322:7865405] flutter: on user settings updated
    2024-01-03 11:21:35.587820+0800 Runner[83322:7865405] flutter: load conversation
    2024-01-03 11:21:40.608508+0800 Runner[83322:7865405] flutter: received 10 messages
    2024-01-03 11:21:40.612596+0800 Runner[83322:7865405] flutter: load conversation
    2024-01-03 11:21:44.531851+0800 Runner[83322:7865405] flutter: ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    2024-01-03 11:21:44.531958+0800 Runner[83322:7865405] flutter: │ #0   new FlutterSoundRecorder (package:flutter_sound/public/flutter_sound_recorder.dart:140:13)
    2024-01-03 11:21:44.532002+0800 Runner[83322:7865405] flutter: │ #1   RecordState._startRecord (package:wfc_example/messages/input_bar/record_widget.dart:78:17)
    2024-01-03 11:21:44.532042+0800 Runner[83322:7865405] flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
    2024-01-03 11:21:44.532617+0800 Runner[83322:7865405] flutter: │ 
  • cam 1月前
    引用 3

    日志信息,请看下面的附件

    上传的附件:
  • HeavyRain 1月前
    引用 4
    关于录音的代码在 RecordWidget.dart 文件中,应该是录音插件的问题,你可以调一下,调好后通知我们一下
  • cam 1月前
    引用 5
    您好,heavyRain,我已经调了录音插件了呀,日志文件在上面上传的附件里:无声音.rtf. 我这边的录音代码在record_widget.dart文件,多谢帮忙看下是什么原因
  • cam 1月前
    引用 6
    HeavyRain 关于录音的代码在 RecordWidget.dart 文件中,应该是录音插件的问题,你可以调一下,调好后通知我们一下
    您好,heavyRain,我已经调了录音插件了呀,日志文件在上面上传的附件里:无声音.rtf. 我这边的录音代码在record_widget.dart文件,多谢帮忙看下是什么原因
  • HeavyRain 1月前
    引用 7
    我们研发对flutter不是很熟悉,而且最近也比较忙,所以短时间内顾不上这个问题的调试。应该你们flutter更专业一些,这个问题也比较单一,就是正确录音就好了,您可以调试一下,把这个问题修复了
返回