Post

Replies

Boosts

Views

Activity

Reply to Empty space with Screen Capture kit full screen window recording
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.
May ’24