Add ability to select audio input source in Expo-AV
P
Prince uBrain
Currently, the expo-av library doesn't provide a way to select the audio input source (e.g., built-in microphone, external microphone) in React Native Expo apps. This limits flexibility and user experience.
Proposed Solution:
- Add a new API to expo-av that allows developers to enumerate available audio input devices.
- Provide a way to select a specific input device and use it for recording.
- Consider supporting both iOS and Android platforms.
Additional Considerations:
- Permissions: Ensure that the necessary permissions are requested to access audio input devices.
- Error Handling: Implement robust error handling to handle cases where the desired input device is not available or permissions are denied.
- User Interface: Provide a clear and intuitive way for users to select their preferred audio input source.