sentry-native icon indicating copy to clipboard operation
sentry-native copied to clipboard

video clips on Xbox dev kit

Open bruno-garcia opened this issue 10 months ago • 1 comments

Relates to:

  • https://github.com/getsentry/sentry-native/issues/693

On Xbox. See GDK's APIs: XAppCaptureRecordDiagnosticClip

Calling this function does not trigger a UI notification. Clips are saved to a game accessible partition. The XAppCaptureRecordDiagnosticClipResult contains a file path which you can use to access the clip. On Xbox, this function will only be available on development kits. On retail kits this api will return an error immediately.

On PC, you must enable background recording for your app for this function to work. The best way to do this is to bring up Game Bar by pressing Win+G, then click the Settings icon, go to the Capturing tab, and enable "Record in the background while I'm playing a game". Then, you must mark your app as a game. The best way to do this is by running your game first. While the game is in focus, bring up Game Bar by pressing Win+G, then click the Settings icon, go to the General tab, and check "Remember this is a game".

See also: XAppCapture

bruno-garcia avatar Mar 08 '25 02:03 bruno-garcia

This would be great!

zsd4yr avatar Mar 10 '25 15:03 zsd4yr