Repository navigation
v0.2.1
@mobilerun/react 0.2.1
Fixes
- No stale stream startup after stop or remount.
useWebRtcConnectionbinds 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.