Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
fix(player): drop transportKey double-mount, silence hls debug noise master
Toggling HLS <-> WebRTC remounted the backend twice: once via the conditional inside PlayerBackend (HLSPlayer vs WebRTCPlayer), then again because the useWebRTC effect bumped transportKey. The second remount tore down the just-negotiated peer connection and started a new one, so every toggle raced itself. Drop the key bump; the conditional already handles the swap. Also strip the hls-player debug noise: 13 console.logs, two no-op listener registrations ('already handled above'), and the Math.random < 0.1 video-state sampling. hls.js debug now only fires in dev. Kept the play() rejection warn — it's the only signal when the browser blocks autoplay on a fresh load.
Author Natalie Bridgers Date (Aug 7, 2026, 10:58 PM UTC) Commit aef0cb3e aef0cb3e8992ce7fe3b799c71705db362622d455 Parent 9c6c1a36 9c6c1a369e0207dff1dcf0209c444f0ba2d9589e