AgoraIO-Extensions / AgoraIO-Extensions/Agora-Flutter-SDK
adjustRecordingSignalVolume() not increasing the sound signal volume properly for setAudioProfile(scenario: AudioScenarioType.audioScenarioChatroom)
- Vorherrschende Sprache
- Dart
- Sterne
- 795
- Forks
- 448
- Ø Merge
- 12 Std. 19 Min.
- Gemergte PRs (30 T.)
- 14
Beschreibung
I am using: **`agora_rtc_engine: ^6.5.2`**.
It is creating the video streaming completely fine. I have also set the **AudioProfile**, **AdvancedAudioOptions**, and **adjustRecordingSignalVolume** to enhance the audio quality. Though changing **`adjustRecordingSignalVolume()`** is working for all other **`AudioScenarioType`** in AudioProfile, it seems not to increase the input signal volume for **`setAudioProfile(scenario: AudioScenarioType.audioScenarioChatroom)`**.
Here is my code snippet:
```
await _engine.setAudioProfile(
profile: AudioProfileType.audioProfileMusicHighQualityStereo,
scenario: AudioScenarioType.audioScenarioChatroom, // working properly for other audio scenarios
);
await _engine.setAdvancedAudioOptions(
options: AdvancedAudioOptions(audioProcessingChannels: 1));
await _engine.adjustRecordingSignalVolume(400); // increasing the signal volume not working properly only for AudioScenarioType.audioScenarioChatroom
```
Here is the **`flutter doctor`** summary:
```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.32.2, on macOS 15.5 24F74 darwin-arm64, locale
en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.100.3)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
```
Testing Device:
Samsung A12 (Android 13)
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.