Class AudioStreamInfo

    • Constructor Detail

      • AudioStreamInfo

        public AudioStreamInfo()
      • AudioStreamInfo

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

      • getBitrate

        public Long getBitrate()
        Get 码率,单位:bps。
        Returns:
        Bitrate 码率,单位:bps。
      • setBitrate

        public void setBitrate​(Long Bitrate)
        Set 码率,单位:bps。
        Parameters:
        Bitrate - 码率,单位:bps。
      • getSamplingRate

        public Long getSamplingRate()
        Get 采样率,单位:hz。
        Returns:
        SamplingRate 采样率,单位:hz。
      • setSamplingRate

        public void setSamplingRate​(Long SamplingRate)
        Set 采样率,单位:hz。
        Parameters:
        SamplingRate - 采样率,单位:hz。
      • getCodec

        public String getCodec()
        Get 编码格式。
        Returns:
        Codec 编码格式。
      • setCodec

        public void setCodec​(String Codec)
        Set 编码格式。
        Parameters:
        Codec - 编码格式。