flutter_demos
flutter_demos copied to clipboard
Sound during an incoming call
Hello! I encountered a bug where there is no sound during an incoming call on Android. I added the WAV file just like in your example. Could you please advise on what might be the cause?
Hello!
Have you called VIAudioFile.initialize API before VIAudioFile.play?
The error says that the fileId is not initialized. Its initialization is performed in VIAudioFile.initialize() method.
So, I see 2 possible reasons:
- initialization was not done
- initialization has failed for some reason
Best regards, Yulia Grigorieva