Skip to content

feat(replay-clip): add attach_replay_clip option with platform extension point#1709

Draft
tustanivsky wants to merge 2 commits intomasterfrom
feat/session-replay-stub
Draft

feat(replay-clip): add attach_replay_clip option with platform extension point#1709
tustanivsky wants to merge 2 commits intomasterfrom
feat/session-replay-stub

Conversation

@tustanivsky
Copy link
Copy Markdown
Collaborator

This PR adds two new options to enable attaching a short retroactive video clip to captured crash event:

  • sentry_options_set_attach_replay_clip(opts, int val) - toggle (default off)
  • sentry_options_set_replay_clip_duration_ms(opts, uint32_t) - requested window (default 5000 ms)

It mirrors the existing screenshot architecture: a public option, an internal sentry_replay_clip.h interface, a no-op default impl, and an extension point so downstream SDKs (e.g. sentry-xbox using XAppCaptureRecordDiagnosticClip) can supply a real implementation.

Related items:

#skip-changelog

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 73ce86a

@tustanivsky tustanivsky changed the title feat(replay-clip): add attach_replay_clip option with platform extension point feat(replay-clip): add attach_replay_clip option with platform extension point May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant