SFU health: expose ice_servers for WebRTC clients (M2).

Include coturn turn_host credentials from lab config alongside public STUN.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Anton Afanasyeu
2026-08-07 22:45:52 +02:00
parent 524170963d
commit aa98516d3e
2 changed files with 31 additions and 4 deletions

View File

@@ -20,12 +20,21 @@
3. Open `/app/androidcast_project/sfu/lab` → publish screen share.
4. Second tab/browser → same lab URL → enter room id + **publisher feed id** → Subscribe.
## Next (M2+)
## Milestones
1. Wire cast encoder → SFU publisher (screen share, not camera-only lab).
2. Education screen share on SFU path (replace P2P demo).
| Milestone | Scope |
|-----------|--------|
| **M0** | Browser lab (`lab.php`) — getDisplayMedia publish + subscribe |
| **M1** | Android libwebrtc camera publish/subscribe (dev gate) |
| **M2** | Android MediaProjection screen share + ICE from health (coturn) |
| **M3+** | Cast encoder → SFU transport; education path; RBAC stats |
## Next (M3+)
1. Wire cast encoder → SFU publisher (replace P2P cast transport).
2. Education screen share on SFU path.
3. Session RBAC + stats → graphs.
Android M1: `ac-mobile-android`Developer settings → **Enable Janus SFU relay lab** **Open SFU lab**.
Android: **Developer settings → Enable Janus SFU relay lab → Open SFU lab** **Publish screen share** (M2) or **Publish camera** (M1).
See [ac-docs BUILD_DEPLOY](../../ac-docs/BUILD_DEPLOY.md) and cluster `deploy-janus-sfu.sh`.