Hey,
We've found a potential workaround which seems to fix the fullscreen Chrome case for us.
Try using setSourceRect on SCStreamConfiguration by passing the CGRect of the window you're trying to share. We obtain these from the SCWindow / frame property taken from the results of SCShareableContent getShareableContentWithCompletionHandler.
Even though the docs of setSourceRect say:
The system doesn’t reference this value when you capture a single window because it captures the full bounds of the window.
It seems like this makes the underlying logic reconsider something and excludes the padding area.
Post
Replies
Boosts
Views
Activity
We're seeing a very similar problem when capturing Chrome's full screen windows, it's reproducible usually when "Always Show Toolbar in Full Screen" is enabled:
There's transparent space in the top/right part of the window with the "sharing" icon in the top left. The main window's content is shifted to the bottom left.