No sound shared while sharing screen

I’ve been trying now for serveral days in douzend combinations and sdk releases, without success.

When I share a custom window using StartAppShare(HWNDDotNet), I can see it but no sound is beeing played. I can hear it from my speakers but other participants don’t.

    public void ShareScreen(IntPtr hwnd)
    {
        var dotnetHwnd = new HWNDDotNet() { value = (uint)hwnd.ToInt64() };
        var error = _meetingShareController.StartAppShare(dotnetHwnd);
        _meetingShareController.EnableShareComputerSound(true);
    }

I thought, maybe the sound is blocked. So I unblocked the window, which had no effect.
var error = _meetingShareController.BlockWindowFromScreenshare(false, dotnetHwnd, false);

I even exposed the function EnableShareComputerSoundWhenSharing via c# wrapper. But don’t know what this function is meant for. Will it solve my problem? Apparently not.

OccasionallyI can hear sound, but only cracking and pulsing noise, no clear sound.

What I discovered is that the screen share dialog in the sdk is quite different from the one at the full client. My app is not beeing shown on the dialog, have a look:

screen share dialog using sdk

screen share dialog usind full client

Maybe the sdk behaves correctry, but why am I able to share a window handle, even I cannot chosse it manually?

So I’m realy puzzled

So here is what I found out so far:
EnableShareComputerSound works, BUT after the second time joining a meeting!

  1. Join Meeting
  2. Share Window then EnableShareComputerSound
  3. Leave Meeting
  4. Join Meeting and Share again

Now you can here sound from the shared window handle.

So is setting state not directly applied, but only stored and then applied at the next session?

Same issue happening with SetSharingToolbarVisibility(false). Which as been reported on this forum.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.