Class ZegoSoundLevelInfo


  • public final class ZegoSoundLevelInfo
    extends java.lang.Object
    某条流的音浪信息。

    Copyright © 2017 Zego. All rights reserved.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      float soundLevel
      streamID 对应的流的音量值,取值范围:[0.0, 100.0]
      java.lang.String streamID
      此音浪信息的流 ID,当为采集音浪信息时,不必关心此值.
      int vad
      streamID 对应的流是否包含人声,0:表示噪声,1:表示人声,ZegoSoundLevelMonitor.enableVAD(boolean)设置为true后,此值才有效.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • streamID

        public java.lang.String streamID
        此音浪信息的流 ID,当为采集音浪信息时,不必关心此值.
      • soundLevel

        public float soundLevel
        streamID 对应的流的音量值,取值范围:[0.0, 100.0]
    • Constructor Detail

      • ZegoSoundLevelInfo

        public ZegoSoundLevelInfo()