You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Code -2 Thrown When Attempting Local Audio Recording in Flutter
Description:
When attempting to initiate local audio recording in a Flutter application, the startRecord() method encounters error code -2. The issue arises despite the fact that other aspects of the code are functioning correctly.
The code provided successfully initializes local audio recording in the Flutter application.
The error occurs during the execution of the startAudioRecording method.
The error code -2 is being thrown at this point.
Expected Behavior:
The startRecord() method should be able to initiate local audio recording without encountering error code -2.
Environment Information:
Flutter version:
Agora Flutter SDK version:
Android/iOS version (if applicable):
Any other relevant environment information.
Steps to Reproduce:
Provide the necessary environment and setup details.
Execute the startRecord() method.
Observe the error code -2 being thrown.
The text was updated successfully, but these errors were encountered:
supunnilakshana
changed the title
[BUG]Error Code -2 Thrown When Attempting Local Audio Recording in Flutter
[BUG]Error Code -2 Thrown When Attempting Local Audio Recording in Agora sdk Flutter
Oct 29, 2023
Error Code -2 Thrown When Attempting Local Audio Recording in Flutter
Description:
When attempting to initiate local audio recording in a Flutter application, the startRecord() method encounters error code -2. The issue arises despite the fact that other aspects of the code are functioning correctly.
My Code:
Future startRecord() async {
Directory? tempDir = await getExternalStorageDirectory();
String tempPath = tempDir!.path;
}
The code provided successfully initializes local audio recording in the Flutter application.
The error occurs during the execution of the startAudioRecording method.
The error code -2 is being thrown at this point.
Expected Behavior:
The startRecord() method should be able to initiate local audio recording without encountering error code -2.
Environment Information:
Flutter version:
Agora Flutter SDK version:
Android/iOS version (if applicable):
Any other relevant environment information.
Steps to Reproduce:
Provide the necessary environment and setup details.
Execute the startRecord() method.
Observe the error code -2 being thrown.
The text was updated successfully, but these errors were encountered: