public static String getSystemPlatform() {
    String osName = System.getProperty("os.name");
    if (osName.toLowerCase().contains("win")) {
      return "WINDOWS";
    }
    if (osName.toLowerCase().contains("mac")) {
      return "MAC";
    }
    if (osName.toLowerCase().contains("nux")) {
      return "LINUX";
    }
    return osName.toUpperCase();
  }
The OS Name without the version, meant for Client.setPlatform(String platform) (Windows, Linux or Mac).
It will return System.getProperty("os.name") if it's not a standard Linux, Windows or Mac OS name.

@return OS Name without the version(Windows, Linux or Mac)
KITE-Framework/src/main/java/org/webrtc/kite/Utils.java