Agora On-Premise Recording SDK Java API Reference
Sets the channel mode.
- The Recording SDK must use the same channel profile as the Agora Native/Web SDK, otherwise issues may occur.
0: (Default) Communication mode. This is used in one-on-one or group calls, where all users in the channel can talk freely.
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.