Class ZegoConstants.ZegoAudioSourceType

  • Enclosing class:
    ZegoConstants

    public static final class ZegoConstants.ZegoAudioSourceType
    extends java.lang.Object
    音频数据来源,例如想设置辅路推流音频数据直接复制主路音频数据,则可以设置为 AUDIO_SRC_MAIN_PUBLISH_CHN
    参考 SetAudioSource
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • AUDIO_SRC_NONE

        public static final int AUDIO_SRC_NONE
        不启动采集,即没有音频数据
        See Also:
        Constant Field Values
      • AUDIO_SRC_MIC

        public static final int AUDIO_SRC_MIC
        音频源来自于麦克风
        See Also:
        Constant Field Values
      • AUDIO_SRC_EXTERNAL_CAPTURE

        public static final int AUDIO_SRC_EXTERNAL_CAPTURE
        音频源来自于外部采集
        See Also:
        Constant Field Values
      • AUDIO_SRC_MEDIA_CAPTURE

        public static final int AUDIO_SRC_MEDIA_CAPTURE
        音频源来自于媒体采集
        See Also:
        Constant Field Values
      • AUDIO_SRC_MAIN_PUBLISH_CHN

        public static final int AUDIO_SRC_MAIN_PUBLISH_CHN
        音频源来自于主路推流。当推主路流时,不能设置此值
        See Also:
        Constant Field Values
      • AUDIO_SRC_PLAYER

        public static final int AUDIO_SRC_PLAYER
        音频源来自于媒体播放器。当推主路流时,不能设置此值
        See Also:
        Constant Field Values
    • Constructor Detail

      • ZegoAudioSourceType

        public ZegoAudioSourceType()