This repository has no description

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.


+8 -82
2 changed files