Calls: enable audio sharing flow on Linux#30278
Calls: enable audio sharing flow on Linux#30278john-preston merged 1 commit intotelegramdesktop:devfrom
Conversation
|
Ah, got it, the screen chooser appears after clicking SHARE SCREEN. |
|
Wow, works wonderfully. I thought this would require something like a device selector for monitor sources as I thought it's not possible to know which monitor device is the right one. |
|
Please remove lib_webrtc update commits, it will have to be updated to the upstream commit when the lib_webrtc PR is merged. For now, add |
818a1ce to
302d847
Compare
302d847 to
4150a59
Compare
|
Calls: clarify voice vs screen-share audio controls is a new feature, right? If yes, please move it to a separate PR |
4150a59 to
402e060
Compare
it's done. |
Did you see my comment in the lib_webrtc PR? |
Sorry, i didn't see it, i will make the changes right now. |
This now depends on a closed PR |
i reopened it |
402e060 to
1af487b
Compare
|
Doesn't build anymore |
|
There was a mistake, now it has been resolved. |
|
@paterkleomenis Thank you for your effort. I've merged the submodule PR already, but this one I can't let in the release, sorry. Maybe I'm missing something, but for me we shouldn't try to support the unique source case inside ChooseSourceProcess case with this weird look of "very wide window with small height with checkbox then couple of buttons". It feels that we should revert all changes to ChooseSourceProcess here and instead of calling: Ui::DesktopCapture::ChooseSource(this); To show it in this newly added mode, we should do something like: Connect everything and that's all. This will give us nice native inside-the-call-panel small box with this checkbox as body and more understandable button "Choose source" so we press it and start sharing with unique device id and see the choose source system interface. Do I miss something? |
|
By the way, you can contact me at https://t.me/preston discussing serious changes in code (and especially anything touching UI) should be done on Telegram, we have English-only contributors group or we can discuss stuff directly, in case it doesn't concern anyone except me. |
|
the group: https://t.me/tdesktop_contributions |
20b34d8 to
985878e
Compare
Enables the desktop share audio flow on Linux within Calls UI and plumbing. - calls_call: add withAudio parameter to toggleScreenSharing, track _screenWithAudio flag, create/destroy SystemAudioCapture when sharing starts with audio, and clean it up in destroyController. - calls_panel / calls_group_panel: use LoopbackAudioCaptureSupported() to report audio support on all platforms; show a GenericBox with audio toggle when a unique desktop capture source is available (PipeWire), then start sharing with the chosen audio setting. Depends on desktop-app/lib_webrtc#22 Closes telegramdesktop#26642
985878e to
9a812cf
Compare
|
Thanks! |


Enables the desktop share audio flow on Linux within Calls UI and plumbing.
Summary
Depends on desktop-app/lib_webrtc#22
Closes #26642