Hello and Happy New Year!
I'm using CEF through Unreal Engine to render web content but I'm having issues making javascript's getDisplayMedia screenshare only the browser. I switched "use-fake-ui-for-media-stream" and tried various combinations of getDisplayMedia options, including "preferCurrentTab: true", but no luck.
On my Chrome browser, "preferCurrentTab: true" leaves me with only the current tab as an option. Isn't it the same for CEF behind the scenes? If so, shouldn't "use-fake-ui-for-media-stream" cause that only option to be used?
I tried looking over the source code but I have very little experience with CEF or Chromium so I found it to be pretty overwhelming
Windows 11 x64
Unreal Engine 5.2.1 with CEF 90.6.7+g19ba721+chromium-90.0.4430.212