ScreenCaptureKit sample malfunction with Safari

We can use the sample code to generate the SCK capture tool,

  1. Run safari with youtube video.
  2. Run the SCK capture tool
  3. Select Application capture with the above Safari youtube video, the video shall be playing well.
  4. Toggle the youtube video to full screen, you will not able to see the YouTube video.