Cannot hide sharing toolbar with SetSharingToolbarVisibility method

Description
I cannot hide the sharing toolbar using SDK method SetSharingToolbarVisibility

Well the actual behavior is that it is not working the first time I start the share but if I stop and restart the share, it will work.

Which Windows Meeting SDK version?
5.14.11.17566

To Reproduce(If applicable)

  1. Init SDK
  2. Call SetSharingToolbarVisibility(false)
  3. Start a meeting
  4. Start the Screen Sharing

The Sharing toolbar is still visible

Device (please complete the following information):

  • Device: Dell Precision 7670
  • OS: Windows 11

Troubleshooting Routes
I tried it several times and the result was always the same. I tried calling SetSharingToolbarVisibility in several different places in my code with no change.

Found a closed post describing the exact same issue: SetSharingToolbarVisibility setting to false doesn't work on first share

Additional context
ShowSharingFrameWindows method seems to have the same issue

No one can help me with that issue?