|
Agora RTC Objective-C API Reference
Refactor
|
Go to the source code of this file.
| enum AgoraChannelProfile |
The channel profile.
| Enumerator | |
|---|---|
| AgoraChannelProfileCommunication | 0: Communication. Use this profile when there are two users in the channel. |
| AgoraChannelProfileLiveBroadcasting | 1: (Default) Live Broadcast. Use this profile when there are more than two users in the channel. |
| AgoraChannelProfileGame |
This profile uses a codec with a low bitrate and consumes less power. Applies to the gaming scenario, where all game players can talk freely. |
| AgoraChannelProfileCloudGaming | 3: Cloud Gaming. This profile is for the interactive streaming scenario, which is highly sensitive to end-to-end latency, and any delay in render impacts the end-user experience. These use cases prioritize reducing delay over any smoothing done at the receiver. We recommend using this profile in scenarios there users need to interact with each other. |
| AgoraChannelProfileCommunication_1v1 | 4: Communication 1v1. This profile uses a special network transport strategy for communication 1v1 |
| enum AgoraClientRole |
Reason for the user being offline
| enum AgoraLogFilter |
Output log filter level
| enum AgoraNetworkQuality |
Network quality
The state of the probe test.
| enum AgoraVideoStreamType |
| enum AgoraVideoRenderMode |
Video display mode
| Enumerator | |
|---|---|
| AgoraVideoRenderModeHidden | Hidden(1): Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents. |
| AgoraVideoRenderModeFit | Fit(2): Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to the disparity in the aspect ratio will be filled with black. |
| AgoraVideoRenderModeAdaptive |
|
| enum AgoraVideoLocalState |
States of the local video.
States of the local video.
The reason of the remote video state change.
| enum AgoraAudioLocalState |
The state of the local audio.
| enum AgoraAudioLocalError |
The error information of the local audio.
The state of the remote audio.
| Enumerator | |
|---|---|
| AgoraAudioRemoteStateStopped | 0: The remote audio stops (the default state). The following are possible reasons: |
| AgoraAudioRemoteStateStarting | 1: The first remote audio packet is received. |
| AgoraAudioRemoteStateDecoding | 2: The remote audio stream is decoded and plays normally. The following are possible reasons: |
| AgoraAudioRemoteStateFrozen | 3: The remote audio is frozen. The possible reason is AgoraAudioRemoteReasonNetworkCongestion(1). |
| AgoraAudioRemoteStateFailed | 4: The remote audio fails to start. The possible reason is AgoraAudioRemoteReasonInternal(0). |
The reason of the remote audio state change.
| enum AgoraAudioProfile |
Audio profile
| enum AgoraAudioScenario |
Audio scenario
Use mode of the onRecordAudioFrame callback
| enum AgoraVideoFormat |
Video frame format
| enum AgoraConnectionState |
The connection state of the SDK.
| enum AgoraMetadataType |
| enum AgoraLogLevel |
| enum AgoraAreaCodeType |
States of the RTMP streaming.
Error codes of the RTMP streaming.
1.8.18