Skip to content

[Rooms][P1] Productionize WebRTC with TURN, quality metrics, and an SFU path #89

Description

@knzeng-e

Outcome

Prove that shared listening survives restrictive real networks and define the measured boundary between mesh and SFU delivery.

Delivered

  • Resume/rejoin states, deterministic host-disconnect handling, listener caps, and bounded room-quality telemetry.
  • API-issued short-lived TURN REST credentials; the public grant path is configured.
  • Host-only protected key custody, walletless guests, and explicit degraded states.

Remaining acceptance

  • Force relay-only media and verify allocation from two independent networks.
  • Capture join-to-connected, first remote audio, loss, jitter, RTT, reconnect, and relay/direct evidence.
  • Exercise iPhone background/foreground and network-loss recovery.
  • Measure host upstream/CPU and keep conservative caps until evidence justifies change.
  • Record when mesh remains acceptable and when an SFU becomes mandatory.

Run this as part of W13. Do not start an SFU migration before the measurements establish the need.

Local scope: docs/backlog/polkadot-product-readiness-and-killer-dapp-roadmap.md and docs/backlog/implementation/evidence/W09.md.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions