java.lang.Object
io.github.lunasaw.gb28181.common.entity.utils.PtzUtils

public class PtzUtils extends Object
  • Constructor Details

    • PtzUtils

      public PtzUtils()
  • Method Details

    • getPtzCmd

      public static String getPtzCmd(String ptzCmd, int speed)
    • getPtzCmd

      public static String getPtzCmd(PtzCmdEnum ptzCmdEnum, int speed)
    • getPtzCmd

      public static String getPtzCmd(int cmdCode, int horizonSpeed, int verticalSpeed, int zoomSpeed)
      获取控制命令代码
      Parameters:
      cmdCode - 命令code
      horizonSpeed - 水平速度
      verticalSpeed - 垂直速度
      zoomSpeed - 缩放速度
      Returns: