Details
-
Technical task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
-
Multimedia wk 49-50, Multimedia wk 51-2
Description
As discussed in QTBUG-131674, we want to support media devices being automatically recovered whenever they are disconnected and reconnected. Currently, objects like QAudioInput and QCamera do not track device connectivity with QMediaDevices. Additionally, establishing functionality (like the microphone audio stream) relies on internal data within the QAudioDevicePrivate structs. These structs are recreated for every call to QMediaDevices::audioInputs() to contain recent values. Objects such as QAudioInput does not track this, and therefore fails to recover device functionality.
This functionality should be both implemented and documented before the task is closed.
This would likely also solve some current bug-reports, such as: QTBUG-123073 QTBUG-130968 QTBUG-131760
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-131929 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
609541,16 | QAudioInput: Track device disconnect and recover on reconnect | dev | qt/qtmultimedia | Status: NEW | 0 | 0 |
613569,3 | QDarwinMediaDevices: Move uniqueId() helper into utility header | dev | qt/qtmultimedia | Status: NEW | +2 | 0 |
613570,4 | macOS, QDarwinAudioSource: Don't cache CoreAudio AudioDeviceID | dev | qt/qtmultimedia | Status: NEW | 0 | +1 |