bunch of js === and !== fixes

This commit is contained in:
Maxim Devaev
2025-02-02 07:15:03 +02:00
parent 4800f9e486
commit 1899902860
5 changed files with 11 additions and 11 deletions

View File

@@ -297,7 +297,7 @@ export function JanusStreamer(__setActive, __setInactive, __setInfo, __orient, _
// Chrome sends `muted` notifiation for tracks in `disconnected` ICE state
// and Janus.js just removes muted track from list of available tracks.
// But track still exists actually so it's safe to just ignore
// reason == "mute" and "unmute".
// reason === "mute" and "unmute".
let reason = (meta || {}).reason;
__logInfo("Got onremotetrack:", id, added, reason, track, meta);
if (added && reason === "created") {