9040cb86cb
When listen only mode is deactivated and an user joins audio, an incorrect remount of AudioSettings can trigger a spurious mute toggle. This happens because AudioManager clears the `isConnecting` flag before setting the `isConnected` flag. This creates a brief period where audio is flagged as "disconnected," leading to a remount and unmount cycle that causes unwanted mute/unmute actions due to AudioSettings' logic of muting/unmuting active devices. Ensure the `isConnected` flag is set before clearing the `isConnecting` flag, preventing audio from being incorrectly flagged as disconnected. |
||
---|---|---|
.. | ||
error-codes.js | ||
index.js |