Skip to content

v0.2.1

Choose a tag to compare

@lutz-grex lutz-grex released this 07 Nov 23:12
037a148

@mobilerun/react 0.2.1

Fixes

  • No stale stream startup after stop or remount. useWebRtcConnection binds each connection attempt to its own WebSocket and peer connection. After stop, unmount or a newer attempt, a late socket open, RTC configuration, offer or ICE candidate from the old attempt no longer touches state or sends on a socket it does not own. stop() also cancels pending startup timeouts and listeners.

Verified against a live cloud device: stream start, input, rapid disconnect/connect (one live peer connection afterwards), recovery after a dropped stream socket, and remount.