This message was deleted.
# helpdesk
s
This message was deleted.
a
hi! thread your messages please 🙂
k
How can I screen share with audio in the client SDK for flutter?
when screen sharing only the video track is published
a
flutter native audio screen sharing is not yet supported; you can follow this issue for updates. @freezing-lifeguard-43174 might have comments as well
k
The comment on that issue suggest that it does support chrome browser,
But Even with chrome browser i'm not getting audio
@freezing-lifeguard-43174 Any comments, updates?
f
You can try to capture a tab with music playing on Chrome instead of the entire Chrome window, for example, open a YouTube page in Chrome.
In addition, Chrome’s screen sharing cannot capture the sound of apps other than Chrome.
k
@freezing-lifeguard-43174 How can i capture just a tab?
the
ScreenSelectDialog
dialog only shows entire screen or windows
not chrome tabs
electronjs apps can capture system audio without issues, maybe you guys should have a look at how it is implemented in the https://www.electronjs.org/docs/latest/api/desktop-capturer api
@freezing-lifeguard-43174 any comments?
@freezing-lifeguard-43174 I tried to achieve screen sharing audio using the
stereo mix
device that realtek drivers provide, and it seems to work, but with issues, the stream is being sent to the other end but after a few seconds the stream starts to crack or stop completely
Another issue is that as soon as
setMicrophoneEnabled
is called, the system audio is reduced for some reason which causes the stream to have very low volume
Also, someone posted some code in
C++
for adding desktop capture here https://github.com/flutter-webrtc/flutter-webrtc/issues/1273 Can't we add this to the wrapper that
flutter_webrtc
is using