Developer Center
On-premise Recording
API Reference
Agora Recording Java API Reference
Agora On-Premise Recording SDK Java API Reference
Sets the channel mode.
- Note
- The Recording SDK must use the same channel profile as the Agora Native/Web SDK, otherwise issues may occur.
◆ getValue()
int io.agora.recording.common.Common.CHANNEL_PROFILE_TYPE.getValue |
( |
| ) |
|
◆ CHANNEL_PROFILE_COMMUNICATION
io.agora.recording.common.Common.CHANNEL_PROFILE_TYPE.CHANNEL_PROFILE_COMMUNICATION =(0) |
0: (Default) Communication mode. This is used in one-on-one or group calls, where all users in the channel can talk freely.
◆ CHANNEL_PROFILE_LIVE_BROADCASTING
io.agora.recording.common.Common.CHANNEL_PROFILE_TYPE.CHANNEL_PROFILE_LIVE_BROADCASTING =(1) |
1: Live broadcast. The host sends and receives voice/video, while the audience only receives voice/video. Host and audience roles can be set by calling setClientRole.