video clips on Xbox dev kit
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
This would be great!