Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.3, 6.6.3, 6.7.0
-
None
-
macOS 14.3.1
MacBook Pro 13-inch, M1, 2020
-
-
Multimedia wk 43-44
Description
QMediaRecorder failed to record an audio after reconnecting AirPods on Mac (maybe also relevant for any other bluetooth headset, or even for wired ones - I didn't check).
It seems doesn't depend on multimedia backend, I can reproduce both with "darwin" and "ffmpeg".
This problem causes a lot of complaints from end-users of real application.
Meanwhile I was able to reproduce something like this in standard Qt Audio Recorder example, with the following steps:
- Connect AirPods to your Mac and and insert the earphone into your ear.
So, it should look like this
- Build and run Audio Recorder Example (Examples/<Qt Version>/multimedia/audiorecorder/)
- Select AirPods as Input Device
- Recorder an audio
- Check the recorded file - it should be OK
- Put AirPods into the case and close the lid, so it will be disconnected
- Input device will be changed to "Default" - Expected
=== THE BUG BEGINS === - Open AirPods case and insert the earphone into your ear, so device become active again.
- Select AirPods as Input Device again
- Try to record an audio
- Check the recorded file - it's empty (0 bytes) - BUG!!!
Attachments
Issue Links
- relates to
-
QTBUG-113256 [macOS] Warnings when connecting/disconnecting AirPods
- Reported
-
QTBUG-127444 QMediaRecorder does not start recording on darwin backend
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-123073 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
601738,6 | Switch QAudioInput to default device when current one is disconnected | dev | qt/qtmultimedia | Status: NEW | 0 | 0 |
602308,7 | AVFMediaEncoder: call updateAudioInput() before starting recording | dev | qt/qtmultimedia | Status: NEW | +1 | 0 |