Agora RTC Objective-C API Reference Refactor

Variables
AgoraConstants.h File Reference

Go to the source code of this file.

## Variables
NSInteger const | AgoraVideoBitrateStandard
NSInteger const | AgoraVideoBitrateCompatible
NSInteger const | AgoraVideoDefaultMinBitrate
NSInteger const | AgoraVideoMinBitrateEqualToBitrate
CGSize const | AgoraVideoDimension120x120
CGSize const | AgoraVideoDimension160x120
CGSize const | AgoraVideoDimension180x180
CGSize const | AgoraVideoDimension240x180
CGSize const | AgoraVideoDimension320x180
CGSize const | AgoraVideoDimension240x240
CGSize const | AgoraVideoDimension320x240
CGSize const | AgoraVideoDimension424x240
CGSize const | AgoraVideoDimension360x360
CGSize const | AgoraVideoDimension480x360
CGSize const | AgoraVideoDimension640x360
CGSize const | AgoraVideoDimension480x480
CGSize const | AgoraVideoDimension640x480
CGSize const | AgoraVideoDimension840x480
CGSize const | AgoraVideoDimension960x540
CGSize const | AgoraVideoDimension960x720
CGSize const | AgoraVideoDimension1280x720
CGSize const | AgoraVideoDimension1920x1080
CGSize const | AgoraVideoDimension2540x1440
CGSize const | AgoraVideoDimension3840x2160

## Variable Documentation

## ◆ AgoraVideoBitrateStandard

NSInteger const AgoraVideoBitrateStandard
| extern

The standard bitrate in [setVideoEncoderConfiguration]([AgoraRtcEngineKit setVideoEncoderConfiguration:]).

(Recommended) In a live broadcast, Agora recommends setting a larger bitrate to improve the video quality. When you choose AgoraVideoBitrateStandard, the bitrate value doubles in a live broadcast mode, and remains the same as in AgoraVideoProfile in a communication mode.

## ◆ AgoraVideoBitrateCompatible

NSInteger const AgoraVideoBitrateCompatible
| extern

The compatible bitrate in [setVideoEncoderConfiguration]([AgoraRtcEngineKit setVideoEncoderConfiguration:]).

The bitrate in both the live broadcast and communication modes remain the same as in AgoraVideoProfile.

## ◆ AgoraVideoDefaultMinBitrate

NSInteger const AgoraVideoDefaultMinBitrate
| extern

The min bitrate in [setVideoEncoderConfiguration]([AgoraRtcEngineKit setVideoEncoderConfiguration:]).

The min bitrate set to default value

## ◆ AgoraVideoMinBitrateEqualToBitrate

NSInteger const AgoraVideoMinBitrateEqualToBitrate
| extern

The min bitrate in [setVideoEncoderConfiguration]([AgoraRtcEngineKit setVideoEncoderConfiguration:]).

The min bitrate will be equal to bitrate

## ◆ AgoraRtcMediaPlayerRealTimeStreamAnalyzeDuration

NSString* const AgoraRtcMediaPlayerRealTimeStreamAnalyzeDuration
| extern

## ◆ AgoraRtcMediaPlayerEnableAudio

NSString* const AgoraRtcMediaPlayerEnableAudio
| extern

## ◆ AgoraRtcMediaPlayerEnableVideo

NSString* const AgoraRtcMediaPlayerEnableVideo
| extern

## ◆ AgoraRtcMediaPlayerEnableSearchMetadata

NSString* const AgoraRtcMediaPlayerEnableSearchMetadata
| extern

## ◆ AgoraVideoDimension120x120

CGSize const AgoraVideoDimension120x120
| extern

120 x 120

## ◆ AgoraVideoDimension160x120

CGSize const AgoraVideoDimension160x120
| extern

160 x 120

## ◆ AgoraVideoDimension180x180

CGSize const AgoraVideoDimension180x180
| extern

180 x 180

## ◆ AgoraVideoDimension240x180

CGSize const AgoraVideoDimension240x180
| extern

240 x 180

## ◆ AgoraVideoDimension320x180

CGSize const AgoraVideoDimension320x180
| extern

320 x 180

## ◆ AgoraVideoDimension240x240

CGSize const AgoraVideoDimension240x240
| extern

240 x 240

## ◆ AgoraVideoDimension320x240

CGSize const AgoraVideoDimension320x240
| extern

320 x 240

## ◆ AgoraVideoDimension424x240

CGSize const AgoraVideoDimension424x240
| extern

424 x 240

## ◆ AgoraVideoDimension360x360

CGSize const AgoraVideoDimension360x360
| extern

360 x 360

## ◆ AgoraVideoDimension480x360

CGSize const AgoraVideoDimension480x360
| extern

480 x 360

## ◆ AgoraVideoDimension640x360

CGSize const AgoraVideoDimension640x360
| extern

640 x 360

## ◆ AgoraVideoDimension480x480

CGSize const AgoraVideoDimension480x480
| extern

480 x 480

## ◆ AgoraVideoDimension640x480

CGSize const AgoraVideoDimension640x480
| extern

640 x 480

## ◆ AgoraVideoDimension840x480

CGSize const AgoraVideoDimension840x480
| extern

840 x 480

## ◆ AgoraVideoDimension960x540

CGSize const AgoraVideoDimension960x540
| extern

960 x 540

## ◆ AgoraVideoDimension960x720

CGSize const AgoraVideoDimension960x720
| extern

960 x 720 (Depends on the hardware)

## ◆ AgoraVideoDimension1280x720

CGSize const AgoraVideoDimension1280x720
| extern

1280 x 720 (Depends on the hardware)

## ◆ AgoraVideoDimension1920x1080

CGSize const AgoraVideoDimension1920x1080
| extern

1920 x 1080 (Depends on the hardware)

## ◆ AgoraVideoDimension2540x1440

CGSize const AgoraVideoDimension2540x1440
| extern

25400 x 1440 (Depends on the hardware)

## ◆ AgoraVideoDimension3840x2160

CGSize const AgoraVideoDimension3840x2160
| extern

3840 x 2160 (Depends on the hardware)