Class VideoParams

    • Constructor Detail

      • VideoParams

        public VideoParams()
      • VideoParams

        public VideoParams​(VideoParams source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getWidth

        public Long getWidth()
        Get 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
        Returns:
        Width 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
      • setWidth

        public void setWidth​(Long Width)
        Set 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
        Parameters:
        Width - 视频的宽度值,单位为像素,默认值360。不能超过1920,与height的乘积不能超过1920*1080。
      • getHeight

        public Long getHeight()
        Get 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
        Returns:
        Height 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
      • setHeight

        public void setHeight​(Long Height)
        Set 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
        Parameters:
        Height - 视频的高度值,单位为像素,默认值640。不能超过1920,与width的乘积不能超过1920*1080。
      • getFps

        public Long getFps()
        Get 视频的帧率,范围[1, 60],默认15。
        Returns:
        Fps 视频的帧率,范围[1, 60],默认15。
      • setFps

        public void setFps​(Long Fps)
        Set 视频的帧率,范围[1, 60],默认15。
        Parameters:
        Fps - 视频的帧率,范围[1, 60],默认15。
      • getBitRate

        public Long getBitRate()
        Get 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
        Returns:
        BitRate 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
      • setBitRate

        public void setBitRate​(Long BitRate)
        Set 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
        Parameters:
        BitRate - 视频的码率,单位是bps,范围[64000, 8192000],默认550000bps。
      • getGop

        public Long getGop()
        Get 视频关键帧时间间隔,单位秒,默认值10秒。
        Returns:
        Gop 视频关键帧时间间隔,单位秒,默认值10秒。
      • setGop

        public void setGop​(Long Gop)
        Set 视频关键帧时间间隔,单位秒,默认值10秒。
        Parameters:
        Gop - 视频关键帧时间间隔,单位秒,默认值10秒。