AliVCSDK 6.17.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
 
Loading...
Searching...
No Matches
com.alivc.live.player.annotations.AlivcLivePlayAudioStreamType Enum Reference

Live play audio stream type. More...

Public Member Functions

int getValue ()
 
 AlivcLivePlayAudioStreamType (int value)
 

Static Public Member Functions

static AlivcLivePlayAudioStreamType combineAudioStreamTypes (AlivcLivePlayAudioStreamType audioStreamType, AlivcLivePlayAudioStreamType peerAudioStreamType)
 

Public Attributes

 STREAM_NONE =(0x00)
 
 STREAM_MIC =(0x01)
 
 STREAM_DUAL =(0x10)
 
 STREAM_BOTH =(0x11)
 

Detailed Description

Live play audio stream type.

Author
keria
Date
2024/3/20
Attention
This API is only supported in the interactive mode currently
Note
Corresponds to the interface: com.alivc.live.player.AlivcLivePlayConfig#audioStreamType

Definition at line 14 of file AlivcLivePlayAudioStreamType.java.

Constructor & Destructor Documentation

◆ AlivcLivePlayAudioStreamType()

com.alivc.live.player.annotations.AlivcLivePlayAudioStreamType.AlivcLivePlayAudioStreamType ( int  value)

Definition at line 61 of file AlivcLivePlayAudioStreamType.java.

Member Function Documentation

◆ combineAudioStreamTypes()

static AlivcLivePlayAudioStreamType com.alivc.live.player.annotations.AlivcLivePlayAudioStreamType.combineAudioStreamTypes ( AlivcLivePlayAudioStreamType  audioStreamType,
AlivcLivePlayAudioStreamType  peerAudioStreamType 
)
static

Obtain the combination of the current audio stream type and the same stream audio stream type

Parameters
audioStreamTypeAudio stream type
peerAudioStreamTypePeer stream audio stream type
Returns
Obtain the combination of the current audio stream type and the same stream audio stream type

Definition at line 44 of file AlivcLivePlayAudioStreamType.java.

◆ getValue()

int com.alivc.live.player.annotations.AlivcLivePlayAudioStreamType.getValue ( )

Definition at line 55 of file AlivcLivePlayAudioStreamType.java.

Member Data Documentation

◆ STREAM_BOTH

com.alivc.live.player.annotations.AlivcLivePlayAudioStreamType.STREAM_BOTH =(0x11)

Microphone stream + Dual stream

Definition at line 33 of file AlivcLivePlayAudioStreamType.java.

◆ STREAM_DUAL

com.alivc.live.player.annotations.AlivcLivePlayAudioStreamType.STREAM_DUAL =(0x10)

Dual stream

Definition at line 28 of file AlivcLivePlayAudioStreamType.java.

◆ STREAM_MIC

com.alivc.live.player.annotations.AlivcLivePlayAudioStreamType.STREAM_MIC =(0x01)

Microphone stream

Definition at line 23 of file AlivcLivePlayAudioStreamType.java.

◆ STREAM_NONE

com.alivc.live.player.annotations.AlivcLivePlayAudioStreamType.STREAM_NONE =(0x00)

None stream

Definition at line 18 of file AlivcLivePlayAudioStreamType.java.