mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-13 12:52:35 +00:00
When jitsiTrack.attach() fails (e.g. gum.general abort), retry up to 3 times with 1s delays instead of silently logging and calling play() on an unattached element. Only call play() after a successful attach. When play() retries are exhausted, detach and re-attach the track for one full recovery cycle. A reattach counter prevents infinite loops.