Time difference between microphone and audio file during startAudioMixing in karaoke app.
Akihide-Tsue opened this issue · comments
Version of the agora_rtc_engine
6.3.0
Platforms affected
- Android
- iOS
- macOS
- Windows
- Web
Steps to reproduce
- One user joins the channel.
- Another user joins the channel, then starts audio mixing and begins singing.
Expected results
The user's voice and the audio file's voice should be heard simultaneously.
Actual results
The user's voice is slightly delayed compared to the audio file's voice.
Code sample
late RtcEngine _engine;
Future<void> playMusic() async {
var url =
'https://d1617qf5vk99tz.cloudfront.net/cdf8e038-6bf9-4e0a-b5a4-76bf361e72b0/aac/cdf8e038-6bf9-4e0a-b5a4-76bf361e72b0.mp4';
await _engine.startAudioMixing(filePath: url, loopback: false, cycle: 1);
}
Screenshots or Video
All code is here ↓
https://zapp.run/edit/flutter-zr2006mer210?entry=lib/main.dart&file=lib/main.dart:610-633
Logs
No response
Flutter Doctor output
[Paste your output here]
Please submit a ticket to Agora Support for further investigation of this issue. If you have any conclusions, you can share them here which may help other developers. Thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.