Class MediaInfo

    • Constructor Detail

      • MediaInfo

        public MediaInfo()
      • MediaInfo

        public MediaInfo​(MediaInfo 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

      • getCodecs

        public String getCodecs()
        Get 编码格式
        Returns:
        Codecs 编码格式
      • setCodecs

        public void setCodecs​(String Codecs)
        Set 编码格式
        Parameters:
        Codecs - 编码格式
      • getDuration

        public Long getDuration()
        Get 流检测时分片时长 注意:此字段可能返回 0,表示取不到有效值。
        Returns:
        Duration 流检测时分片时长 注意:此字段可能返回 0,表示取不到有效值。
      • setDuration

        public void setDuration​(Long Duration)
        Set 流检测时分片时长 注意:此字段可能返回 0,表示取不到有效值。
        Parameters:
        Duration - 流检测时分片时长 注意:此字段可能返回 0,表示取不到有效值。
      • getWidth

        public Long getWidth()
        Get 宽,单位为像素
        Returns:
        Width 宽,单位为像素
      • setWidth

        public void setWidth​(Long Width)
        Set 宽,单位为像素
        Parameters:
        Width - 宽,单位为像素
      • getHeight

        public Long getHeight()
        Get 高,单位为像素
        Returns:
        Height 高,单位为像素
      • setHeight

        public void setHeight​(Long Height)
        Set 高,单位为像素
        Parameters:
        Height - 高,单位为像素