Listen & Record Bluetooth microphone in iOS
Budget: £10 – £15 GBP
Write a minimalist iOS app that will live listen on iPhone speaker and record audio from Bluetooth connected headset's microphone.
The app should:
1. Request permissions
2. Lookup for a bluetooth headset
3. Connect to the Bluetooth headset using HFP profile
4. Upon pressing a "Listen" button start streaming realtime audio from the bluetooth headset microphone to the iPhone speaker (not to the headset microphone)
5. While live listening the app should store 30s of audio into a memory buffer
6. Add a second "Record" button to record audio from the buffer without interruption of live-listening.
7. Second press of the "Record" button will stop recording.
8. Second press on the "Listen" button will stop playing on the iPhone speaker but doesn't disrupt recording if it is active.
9. Have a simplest possible option to play recorded file on iPhone speaker
The code has to be written in Swift, transferable and available for commercial use and distribution.
Please avoid third-party libraries if possible.
No fancy UI is required, just a barebone UIKit.
The app should:
1. Request permissions
2. Lookup for a bluetooth headset
3. Connect to the Bluetooth headset using HFP profile
4. Upon pressing a "Listen" button start streaming realtime audio from the bluetooth headset microphone to the iPhone speaker (not to the headset microphone)
5. While live listening the app should store 30s of audio into a memory buffer
6. Add a second "Record" button to record audio from the buffer without interruption of live-listening.
7. Second press of the "Record" button will stop recording.
8. Second press on the "Listen" button will stop playing on the iPhone speaker but doesn't disrupt recording if it is active.
9. Have a simplest possible option to play recorded file on iPhone speaker
The code has to be written in Swift, transferable and available for commercial use and distribution.
Please avoid third-party libraries if possible.
No fancy UI is required, just a barebone UIKit.