Post

Replies

Boosts

Views

Activity

Reply to SCContentFilter init error
I managed to find a workaround: Call CGMainDisplayID(); before initalizing the filter. Tested both in Swift and Objective-c. According to https://github.com/JXA-Cookbook/JXA-Cookbook/issues/27#issuecomment-277517668 its because Core Graphics is not initialized, and CGMainDisplayID does this.
Topic: Media Technologies SubTopic: General Tags:
Feb ’24
Reply to ScreenCaptureKit crash
Done --- FB16310901
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to SCContentFilter init error
I managed to find a workaround: Call CGMainDisplayID(); before initalizing the filter. Tested both in Swift and Objective-c. According to https://github.com/JXA-Cookbook/JXA-Cookbook/issues/27#issuecomment-277517668 its because Core Graphics is not initialized, and CGMainDisplayID does this.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to SCContentFilter init error
I'm having the same issue on 14.3 Did you ever find a workaround?
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24