Skip to content

[Realtime] Clarify live session inspection and recovery - #36110

Draft
rcccf wants to merge 1 commit into
cloudflare:productionfrom
rcccf:rchen/realtime-sfu-inspection-recovery
Draft

rcccf wants to merge 1 commit into
cloudflare:productionfrom
rcccf:rchen/realtime-sfu-inspection-recovery

Conversation

@rcccf

@rcccf rcccf commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Session inspection returns the current tracks and DataChannels of a connected endpoint. After the PeerConnection closes, the application can discard its session ID. There is no final snapshot to poll for.

This change explains when to retry an inspection, how to recover after losing an API response, and when to create a replacement session. It also updates the OpenAPI schema and examples to cover inspection errors, required request fields, and changing the simulcast layer on an existing subscription.

Validation

The docs build, type checks, Nimbus lint, and OpenAPI validation passed. All 60 inline API examples matched their schemas.

Documentation checklist

A saved session ID can look like a way to confirm cleanup after a connection ends. Explain when inspection helps and how to recover from an uncertain request. Keep generated clients and the connection recipes consistent with those behaviors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant