The _setMuted method in a corner case was making an attempt to create second video track, because it was not taking pending tracks into account.