|
Agora Server Gateway SDK Java API Reference
|
Private Attributes | |
| int | autoSubscribeAudio = 1 |
| int | autoSubscribeVideo = 1 |
| int | enableAudioRecordingOrPlayout |
| int | maxSendBitrate |
| int | minPort |
| int | maxPort |
| AudioSubscriptionOptions | audioSubsOptions |
| int | clientRoleType |
| int | audioRecvMediaPacket |
| int | audioRecvEncodedFrame |
| int | videoRecvMediaPacket |
| int | channelProfile |
Configurations for an RTC connection.
Set these configurations when calling agoraRtcConnCreate.
| io.agora.rtc.RtcConnConfig.RtcConnConfig | ( | ) |
| io.agora.rtc.RtcConnConfig.RtcConnConfig | ( | int | autoSubscribeAudio, |
| int | autoSubscribeVideo, | ||
| int | enableAudioRecordingOrPlayout, | ||
| int | maxSendBitrate, | ||
| int | minPort, | ||
| int | maxPort, | ||
| AudioSubscriptionOptions | audioSubsOptions, | ||
| int | clientRoleType, | ||
| int | channelProfile, | ||
| int | audioRecvMediaPacket, | ||
| int | audioRecvEncodedFrame, | ||
| int | videoRecvMediaPacket ) |
| int io.agora.rtc.RtcConnConfig.getAudioRecvEncodedFrame | ( | ) |
| int io.agora.rtc.RtcConnConfig.getAudioRecvMediaPacket | ( | ) |
| AudioSubscriptionOptions io.agora.rtc.RtcConnConfig.getAudioSubsOptions | ( | ) |
| int io.agora.rtc.RtcConnConfig.getAutoSubscribeAudio | ( | ) |
| int io.agora.rtc.RtcConnConfig.getAutoSubscribeVideo | ( | ) |
| int io.agora.rtc.RtcConnConfig.getChannelProfile | ( | ) |
| int io.agora.rtc.RtcConnConfig.getClientRoleType | ( | ) |
| int io.agora.rtc.RtcConnConfig.getEnableAudioRecordingOrPlayout | ( | ) |
| int io.agora.rtc.RtcConnConfig.getMaxPort | ( | ) |
| int io.agora.rtc.RtcConnConfig.getMaxSendBitrate | ( | ) |
| int io.agora.rtc.RtcConnConfig.getMinPort | ( | ) |
| int io.agora.rtc.RtcConnConfig.getVideoRecvMediaPacket | ( | ) |
| void io.agora.rtc.RtcConnConfig.setAudioRecvEncodedFrame | ( | int | audioRecvEncodedFrame | ) |
| void io.agora.rtc.RtcConnConfig.setAudioRecvMediaPacket | ( | int | audioRecvMediaPacket | ) |
| void io.agora.rtc.RtcConnConfig.setAudioSubsOptions | ( | AudioSubscriptionOptions | audioSubsOptions | ) |
| void io.agora.rtc.RtcConnConfig.setAutoSubscribeAudio | ( | int | autoSubscribeAudio | ) |
| void io.agora.rtc.RtcConnConfig.setAutoSubscribeVideo | ( | int | autoSubscribeVideo | ) |
| void io.agora.rtc.RtcConnConfig.setChannelProfile | ( | int | channelProfile | ) |
| void io.agora.rtc.RtcConnConfig.setClientRoleType | ( | int | clientRoleType | ) |
| void io.agora.rtc.RtcConnConfig.setEnableAudioRecordingOrPlayout | ( | int | enableAudioRecordingOrPlayout | ) |
| void io.agora.rtc.RtcConnConfig.setMaxPort | ( | int | maxPort | ) |
| void io.agora.rtc.RtcConnConfig.setMaxSendBitrate | ( | int | maxSendBitrate | ) |
| void io.agora.rtc.RtcConnConfig.setMinPort | ( | int | minPort | ) |
| void io.agora.rtc.RtcConnConfig.setVideoRecvMediaPacket | ( | int | videoRecvMediaPacket | ) |
| String io.agora.rtc.RtcConnConfig.toString | ( | ) |
|
private |
Whether to recieve encoded audio frame.
|
private |
Whether to receive audio media packet.
|
private |
The options for audio subscription.
|
private |
| autoSubscribeAudio | Whether to subscribe to all audio tracks automatically.
|
|
private |
Whether to subscribe to all video tracks automatically.
1: (Default) Subscribe to all video tracks automatically.0: Do not subscribe to any video track automatically.
|
private |
|
private |
The user role.
|
private |
Whether to enable audio recording or playout.
0: It's used to publish extenal audio frame only without mixing microphone, or does not need audio device for playout either.1: It's used to publish audio and mix microphone, or subscribe audio and playout.
|
private |
The maximum port.
|
private |
The maximum sending bitrate.
|
private |
The minimum port.
|
private |
Whether to receive video media packet.