Package com.zego.zegoavkit2
Class ZegoConstants.ZegoAudioSourceType
- java.lang.Object
-
- com.zego.zegoavkit2.ZegoConstants.ZegoAudioSourceType
-
- Enclosing class:
- ZegoConstants
public static final class ZegoConstants.ZegoAudioSourceType extends java.lang.Object
音频数据来源,例如想设置辅路推流音频数据直接复制主路音频数据,则可以设置为 AUDIO_SRC_MAIN_PUBLISH_CHN
参考 SetAudioSource
-
-
Field Summary
Fields Modifier and Type Field Description static int
AUDIO_SRC_EXTERNAL_CAPTURE
音频源来自于外部采集static int
AUDIO_SRC_MAIN_PUBLISH_CHN
音频源来自于主路推流。当推主路流时,不能设置此值static int
AUDIO_SRC_MEDIA_CAPTURE
音频源来自于媒体采集static int
AUDIO_SRC_MIC
音频源来自于麦克风static int
AUDIO_SRC_NONE
不启动采集,即没有音频数据static int
AUDIO_SRC_PLAYER
音频源来自于媒体播放器。当推主路流时,不能设置此值
-
Constructor Summary
Constructors Constructor Description ZegoAudioSourceType()
-
-
-
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
-
-