Browse Source

perf(音频处理): 优化音频处理间隔从3个包改为1个包以提高实时性

weicu
lxm 1 year ago
parent
commit
1c86428306
  1. 2
      lib/modules/meeting/controllers/meeting_record_controller.dart

2
lib/modules/meeting/controllers/meeting_record_controller.dart

@ -70,7 +70,7 @@ class MeetingRecordController extends GetxController
// 性能优化:音频处理采样控制
int _audioProcessCounter = 0;
static const int _audioProcessInterval = 3; // 每3个音频包处理1次
static const int _audioProcessInterval = 1; // 每1个音频包处理1次
// 波形流动动画控制器
late AnimationController waveformAnimationController;

Loading…
Cancel
Save