Bug surfaced in CLIENT_LOG telemetry from a real session: when the host's screen publish PC hit ICE failure, the watchPublishPC auto- rebuilder called sfuPublishScreen() which immediately failed with 'getDisplayMedia requires transient activation from a user gesture.' The auto-call path has no click, so getDisplayMedia can never succeed from there. Match the game-share pattern: on 'failed' tear down the dead PC + log a clear 'tap share screen to re-share' message + clear state via sfuUnpublishScreen(). User clicks the share button → picker opens (the click IS the gesture) → fresh publish PC. Mic + camera keep their auto-rebuild because getUserMedia honors the persisted permission grant, no gesture needed. |
||
|---|---|---|
| .. | ||
| blog | ||
| fonts | ||
| chat.html | ||
| host-your-own.html | ||
| how-it-works.html | ||
| index.html | ||
| kernel.html | ||
| stamp.js | ||
| zebra-audio.html | ||
| zebra-spaces.html | ||