Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.2.4
-
None
-
OS: Ubuntu 22.04 jammy
Kernel: x86_64 Linux 5.15.0-48-generic
Uptime: 13m
Packages: 2514
Shell: bash
Resolution: 1920x1080
DE: GNOME 41.7
WM: Mutter
WM Theme: Adwaita
GTK Theme: Yaru [GTK2/3]
Icon Theme: Yaru
Font: Ubuntu 11
Disk: 346G / 526G (67%)
CPU: 11th Gen Intel Core i7-1165G7 @ 4x 2,803GHz
GPU: VMware SVGA II Adapter
RAM: 3147MiB / 15623MiBOS: Ubuntu 22.04 jammy Kernel: x86_64 Linux 5.15.0-48-generic Uptime: 13m Packages: 2514 Shell: bash Resolution: 1920x1080 DE: GNOME 41.7 WM: Mutter WM Theme: Adwaita GTK Theme: Yaru [GTK2/3] Icon Theme: Yaru Font: Ubuntu 11 Disk: 346G / 526G (67%) CPU: 11th Gen Intel Core i7-1165G7 @ 4x 2,803GHz GPU: VMware SVGA II Adapter RAM: 3147MiB / 15623MiB
Description
On Ubuntu 22.04 the microphone device is captured before recording starts
There is a simple widget based project created in Qt Creator.
Here is the mainwindow.cpp code:
#include "mainwindow.h" #include "./ui_mainwindow.h" #include <QMediaCaptureSession> #include <QAudioInput> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); auto captureSesstion = new QMediaCaptureSession; // After this line, a microphone usage indicator will appear captureSesstion->setAudioInput(new QAudioInput(this)); } MainWindow::~MainWindow() { delete ui; }
On the specified system, the microphone use icon appears in the taskbar after executing the line:
captureSesstion->setAudioInput(new QAudioInput(this));
Although the recording was not started.
I am attaching a video showing this behavior.
Attachments
Issue Links
- relates to
-
QTBUG-110844 QMediaRecorder frequently returns unknown errors when trying to record on Mac
- Closed