Save shared stream microphone through the main window

This commit is contained in:
evgeny committed 2026-11-01 21:38:36 +01:00
1 parent fbc030dc5b
commit 1719f8e108
3 files changed
+4 -5

No files matched your search

+2
View File
@@ -806,6 +806,8 @@ void MainWindow::showStreamPublisher(quint64 group, StreamGridWindow* returnTo)
qint64 constructedUs = elapsed.nsecsElapsed() / 1000;
connect(m_streamPublishWindow, &StreamPublishWindow::settingsChanged, this,
[](const QString& settings) { postUiStateKv("stream_capture_settings", settings); });
connect(m_streamPublishWindow, &StreamPublishWindow::microphoneChanged, this,
[](const QString& id) { postUiStateKv("audio_input_id", id); });
if (returnTo) connect(m_streamPublishWindow, &StreamPublishWindow::closed, returnTo, [returnTo] {
if (!returnTo->isVisible()) return;
returnTo->raise(); returnTo->activateWindow();