Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.2, 6.6.1
-
-
Multimedia, weeks 11-12, Multimedia, weeks 13-14
Description
Tested with 6.5.2 and 6.6.1 using both ffmpeg backend and windows backend.
Whenever we create a qml video player, an audio device will be in use, even if there is no video playing. The QML video player will hold on to the audio component, even if you use a loader to unload it. (set its src component to null.)
You can test this by opening the qml Multimedia Player sample without any other apps running: (https://doc.qt.io/qt-6/qtmultimedia-video-mediaplayer-example.html) without opening a video, open cmd as admin, type powercfg /requests press enter.
You will see something like this:
SYSTEM:
[DRIVER] Realtek High Definition Audio (HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_14629C56&REV_1003\5&bce21bb&0&0001)
An audio stream is currently in use.
close the multimedia player. type powercfg /requests press enter. you will see the following
Impact: Constantly using the audio device will prevent windows from automatically entering sleep mode (s3)
expected fix: when there is no active video playing/the video is muted/the page is unloaded etc. stop using the audio device.
Attachments
Issue Links
- relates to
-
QTBUG-94791 QSoundEffect(QAudioOutput) interrupts animation even if playing in worker thread
-
- Need More Info
-
-
QTBUG-119354 MediaPlayerApp-Desktop-Example Putting the computer into sleep mode with only audio don't stop the media
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-122754 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
632736,35 | Windows: rework warmup client | dev | qt/qtmultimedia | Status: NEW | 0 | 0 |