This was discussed before: if your Windows computer doesn't have a valid HEVC license installed, then Teams falls back to software encoding and performs horrible. Most manufacturers include the license, but not all. It's also only 99 cents on the Microsoft store (which might be unavailable on enterprise managed devices)