|
Agora RTC Objective-C API Reference
Refactor
|
Go to the source code of this file.
The level of the codec capability.
| enum AgoraChannelProfile |
The channel profile.
| Enumerator | |
|---|---|
| AgoraChannelProfileCommunication | 0: Communication. Use this profile when there are only two users in the channel. |
| AgoraChannelProfileLiveBroadcasting | 1: Live streaming. Use this profile when there are more than two users in the channel. |
| AgoraChannelProfileGame | 2: Gaming. |
| AgoraChannelProfileCloudGaming | Cloud gaming. The scenario is optimized for latency. Use this profile if the use case requires frequent interactions between users. |
| AgoraChannelProfileCommunication_1v1 |
|
| enum AgoraClientRole |
The brightness level of the video image captured by the local camera.
| enum AgoraCloudProxyType |
The cloud proxy type.
Reasons for a user being offline.
| enum AgoraLogFilter |
The output log level of the SDK.
Recording content. Set in startAudioRecordingWithConfig:.
Audio frame observer position.
| enum AgoraAudioCodecType |
Audio encoding type.
| enum AgoraNetworkQuality |
Network quality types.
Reasons why the QoE of the local user when receiving a remote audio stream is poor.
The status of the last-mile probe test.
| enum AgoraVideoStreamType |
The type of video streams.
Quality change of the local video in terms of target frame rate and target bit rate since last count.
| enum AgoraVideoRenderMode |
Video display modes.
| Enumerator | |
|---|---|
| AgoraVideoRenderModeHidden | 1: Hidden mode. The priority is to fill the window. Any excess video that does not match the window size will be cropped. |
| AgoraVideoRenderModeFit | 2: Fit mode. The priority is to ensure that all video content is displayed. Any areas of the window that are not filled due to the mismatch between video size and window size will be filled with black. |
| AgoraVideoRenderModeAdaptive |
|
| enum AgoraVideoLocalState |
Local video state types.
Reasons for local video state changes.
The reason for the remote video state change.
| enum AgoraAudioLocalState |
The state of the local audio.
Reasons for local audio state changes.
Remote audio states.
The reason for the remote audio state change.
| enum AgoraAudioProfile |
The audio profile.
| Enumerator | |
|---|---|
| AgoraAudioProfileDefault | 0: The default audio profile.
|
| AgoraAudioProfileSpeechStandard | 1: A sample rate of 32 kHz, audio encoding, mono, and a bitrate of up to 18 Kbps. |
| AgoraAudioProfileMusicStandard | 2: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 64 Kbps. |
| AgoraAudioProfileMusicStandardStereo | 3: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 80 Kbps. On iOS, to implement stereo audio, you also need to call |
| AgoraAudioProfileMusicHighQuality | 4: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 96 Kbps. |
| AgoraAudioProfileMusicHighQualityStereo | 5: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 128 Kbps. On iOS, to implement stereo audio, you also need to call |
| AgoraAudioProfileIot | 6: A sample rate of 16 kHz, audio encoding, mono, and Acoustic Echo Cancellation (AEC) enabled. |
| enum AgoraAudioScenario |
The audio scenarios.
The use mode of the audio data.
The options for SDK preset voice beautifier effects.
The options for SDK preset voice conversion effects.
Voice AI tuner sound types.
| enum AgoraVideoFormat |
The video pixel format.
| enum AgoraVideoFrameType |
The video frame type.
| enum AgoraColorPrimaryID |
| enum AgoraColorTransferID |
| enum AgoraColorMatrixID |
| enum AgoraColorRangeID |
The process mode of the video frame:
| enum AgoraConnectionState |
Connection states.
| enum AgoraNetworkType |
Network type.
Video degradation preferences when the bandwidth is a constraint.
Video encoder preference.
Compression preference for video encoding.
| enum AgoraCodecCapMask |
The bit mask of the codec type.
| enum AgoraFaceShapeArea |
Chooses the specific facial areas that need to be adjusted.
| enum AgoraFaceShapeStyle |
Video noise reduction mode.
Video noise reduction level.
The low-light enhancement mode.
The low-light enhancement level.
The custom background.
| enum AgoraBlurDegree |
The degree of blurring applied to the custom background image.
| enum SegModelType |
| enum ScreenColorType |
Reasons causing the change of the connection state.
The reason for a user role switch failure.
| enum AgoraMetadataType |
| enum AgoraLogLevel |
The output log level of the SDK.
| enum AgoraAreaCodeType |
The region for connection, which is the region where the server the SDK connects to is located.
States of the Media Push.
Reasons for changes in the status of RTMP or RTMPS streaming.
Events during the Media Push.
Encryption error type.
| enum AgoraCameraDirection |
| enum AgoraFocalLength |
Camera stabilization modes.
The camera stabilization effect increases in the order of 1 < 2 < 3, and the latency will also increase accordingly.
The state code of the channel media relay.
The event code in AgoraChannelMediaRelayEvent.
The error code of the channel media relay.
The subscribing state.
The publishing state.
The video application scenarios.
| Enumerator | |
|---|---|
| AgoraApplicationGeneralScenario | 0: (Default) The general scenario. |
| AgoraApplicationMeetingScenario | 1: The meeting scenario.
|
| AgoraApplication1V1Scenario | 2: 1v1 video call scenario.
|
| AgoraApplicationLiveShowScenario |
|
The video qoe preference enum type.
The screen sharing scenario.
| enum AgoraMediaSourceType |
Media source type.
| enum AgoraAudioSourceType |
The audio source type.
| enum AgoraVideoSourceType |
The type of the video source.
The mode in which the video stream is sent.
Index of video streams of different quality levels.
| enum AgoraMediaStreamType |
The playback state.
Video display modes.
Reasons for the changes in the media player status.
Media player events.
Events that occur when media resources are preloaded.
| enum AgoraPermissionType |
The current CDN streaming state.
Reasons for the changes in CDN streaming status.
The audio filter types of in-ear monitoring.
The bit mask that controls the audio observation positions.
| Enumerator | |
|---|---|
| AgoraAudioFramePositionPlayback | The position for observing the playback audio of all remote users after mixing, which enables the SDK to trigger the [onPlaybackAudioFrame]([AgoraAudioFrameDelegate onPlaybackAudioFrame:]) callback. |
| AgoraAudioFramePositionRecord | The position for observing the recorded audio of the local user, which enables the SDK to trigger the [onRecordAudioFrame]([AgoraAudioFrameDelegate onRecordAudioFrame:]) callback. |
| AgoraAudioFramePositionMixed | The position for observing the mixed audio of the local user and all remote users, which enables the SDK to trigger the [onMixedAudioFrame]([AgoraAudioFrameDelegate onMixedAudioFrame:]) callback. |
| AgoraAudioFramePositionBeforeMixing | The position for observing the audio of a single remote user before mixing, which enables the SDK to trigger the [onPlaybackAudioFrameBeforeMixing]([AgoraAudioFrameDelegate onPlaybackAudioFrameBeforeMixing:uid:]) callback. |
| AgoraAudioFramePositionEarMonitoring | The position for observing the ear monitoring audio of the local user [onEarMonitoringAudioFrame]([AgoraAudioFrameDelegate onEarMonitoringAudioFrame:]) callback. |
The content hint for screen sharing.
Thread priority type.
The type of video content moderation module.
| Enumerator | |
|---|---|
| AgoraContentInspectTypeInvalid | 0: (Default) This module has no actual function. Do not set |
| AgoraContentInspectTypeModeration |
|
| AgoraContentInspectTypeSupervise | 2: Video screenshot and upload via Agora self-developed extension. SDK takes screenshots of the video stream in the channel and uploads them. |
| AgoraContentInspectTypeImageModeration | 3: Video screenshot and upload via extensions from Agora Extensions Marketplace. SDK uses video moderation extensions from Agora Extensions Marketplace to take screenshots of the video stream in the channel and uploads them. |
The channel mode.
Virtual metronome state.
Virtual Metronome error message.
The error code of the local video mixing failure.
| enum AgoraLocalProxyMode |
Connection mode with Agora private media server.
| enum AgoraProxyType |
The cloud proxy type.
Setting mode of the view.
The number of channels for audio preprocessing.
In scenarios that require enhanced realism, such as concerts, local users might need to capture stereo audio and send stereo signals to remote users. For example, the singer, guitarist, and drummer are standing in different positions on the stage. The audio capture device captures their stereo audio and sends stereo signals to remote users. Remote users can hear the song, guitar, and drum from different directions as if they were at the auditorium. You can set the dual-channel processing to implement stereo audio in this class. Agora recommends the following settings:1. Preprocessing: call setAdvancedAudioOptions: and set audioProcessingChannels to AgoraAudioProcessChannelstereo (2) in AgoraAdvancedAudioOptions.
setAudioProfile: and set profile to AgoraAudioProfileMusicStandardStereo (3) or AgoraAudioProfileMusicHighQualityStereo (5).| Enumerator | |
|---|---|
| AgoraAudioProcessChannelsMono | 1: (Default) Mono. |
| AgoraAudioProcessChannelstereo | 2: Stereo. |
The frame position of the video observer.
The current recording state.
The reason for the state change.
The type of the shared target. Set in AgoraScreenCaptureSourceInfo.
The highest frame rate supported by the screen sharing device.
| enum AgoraAudioTrackType |
The type of the audio track.
| Enumerator | |
|---|---|
| AgoraAudioTrackTypeMixable | 0: Mixable audio tracks. This type of audio track supports mixing with other audio streams (such as audio streams captured by microphone) and playing locally or publishing to channels after mixing. The latency of mixable audio tracks is higher than that of direct audio tracks. |
| AgoraAudioTrackTypeDirect | 1: Direct audio tracks. This type of audio track will replace the audio streams captured by the microphone and does not support mixing with other audio streams. The latency of direct audio tracks is lower than that of mixable audio tracks.
|
| enum AUDIO_AINS_MODE |
AI noise suppression modes.
The frame position of the video observer.
| enum AgoraMediaTraceEvent |
| enum AgoraFeatureType |
| enum AgoraVideoModule |
| enum AgoraHDRCapability |
| enum AgoraAlphaStitchMode |
The relative position of alphaBuffer and video frames.
| enum WatermarkType |
The data format of the watermark buffer.
| enum AgoraRdtStreamType |
Reliable Data Transmission Tunnel message stream type.
@technical preview
| enum AgoraRdtState |
Reliable Data Transmission tunnel state.
@technical preview
| enum AgoraMultipathMode |
The transmission mode of data over multiple network paths.
| enum AgoraMultipathType |
Network path types used in multipath transmission.
Represents the error codes after calling renewToken:.