Agora RTC Objective-C API Reference Refactor

Data Structures | Namespaces | Macros | Enumerations
AgoraMediaBase.h File Reference

Go to the source code of this file.

## Data Structures
struct | ExtensionContext
struct | AudioParameters
struct | PacketOptions
struct | AudioEncodedFrameInfo
struct | AudioPcmFrame
class | IVideoFrameMetaInfo
struct | ColorSpace
struct | Hdr10MetadataInfo
struct | ExternalVideoFrame
struct | VideoFrame
class | IVideoFrameObserver
struct | ContentInspectModule
struct | ContentInspectConfig
struct | SnapshotConfig
class | IAudioPcmFrameSink
class | IAudioFrameObserverBase
struct | IAudioFrameObserverBase::AudioFrame
class | IAudioFrameObserver
struct | AudioSpectrumData
struct | UserAudioSpectrumInfo
class | IAudioSpectrumObserver
class | IVideoEncodedFrameObserver
class | IVideoFrameObserver
struct | MediaRecorderConfiguration
class | IFaceInfoObserver
struct | RecorderInfo
class | IMediaRecorderObserver

## Namespaces
| agora
| agora::rtc
| agora::media
| agora::media::base

## Macros
#define | MAX_CONTENT_INSPECT_MODULE_COUNT 32

## Enumerations
enum | VIDEO_SOURCE_TYPE { VIDEO_SOURCE_CAMERA_PRIMARY = 0 , VIDEO_SOURCE_CAMERA_SECONDARY = 1, VIDEO_SOURCE_SCREEN_PRIMARY = 2 , VIDEO_SOURCE_SCREEN_SECONDARY = 3, VIDEO_SOURCE_CUSTOM = 4, VIDEO_SOURCE_MEDIA_PLAYER = 5, VIDEO_SOURCE_RTC_IMAGE_PNG = 6, VIDEO_SOURCE_RTC_IMAGE_JPEG = 7, VIDEO_SOURCE_RTC_IMAGE_GIF = 8, VIDEO_SOURCE_REMOTE = 9, VIDEO_SOURCE_TRANSCODED = 10, VIDEO_SOURCE_CAMERA_THIRD = 11, VIDEO_SOURCE_CAMERA_FOURTH = 12, VIDEO_SOURCE_SCREEN_THIRD = 13, VIDEO_SOURCE_SCREEN_FOURTH = 14, VIDEO_SOURCE_SPEECH_DRIVEN = 15 }
enum | AUDIO_SOURCE_TYPE { AUDIO_SOURCE_MICROPHONE = 0, AUDIO_SOURCE_CUSTOM = 1, AUDIO_SOURCE_MEDIA_PLAYER = 2, AUDIO_SOURCE_LOOPBACK_RECORDING = 3, AUDIO_SOURCE_MIXED_STREAM = 4, AUDIO_SOURCE_REMOTE_USER = 5, AUDIO_SOURCE_REMOTE_CHANNEL = 6 }
enum | AudioRoute { ROUTE_DEFAULT = -1, ROUTE_HEADSET = 0, ROUTE_EARPIECE = 1, ROUTE_HEADSETNOMIC = 2, ROUTE_SPEAKERPHONE = 3, ROUTE_LOUDSPEAKER = 4, ROUTE_BLUETOOTH_DEVICE_HFP = 5, ROUTE_USB = 6, ROUTE_HDMI = 7, ROUTE_DISPLAYPORT = 8, ROUTE_AIRPLAY = 9, ROUTE_BLUETOOTH_DEVICE_A2DP = 10 }
enum | BYTES_PER_SAMPLE { TWO_BYTES_PER_SAMPLE = 2 }
enum | RAW_AUDIO_FRAME_OP_MODE_TYPE { RAW_AUDIO_FRAME_OP_MODE_READ_ONLY = 0, RAW_AUDIO_FRAME_OP_MODE_READ_WRITE = 2 }
enum | MEDIA_SOURCE_TYPE { AUDIO_PLAYOUT_SOURCE = 0, AUDIO_RECORDING_SOURCE = 1, PRIMARY_CAMERA_SOURCE = 2, SECONDARY_CAMERA_SOURCE = 3, PRIMARY_SCREEN_SOURCE = 4, SECONDARY_SCREEN_SOURCE = 5, CUSTOM_VIDEO_SOURCE = 6, MEDIA_PLAYER_SOURCE = 7, RTC_IMAGE_PNG_SOURCE = 8, RTC_IMAGE_JPEG_SOURCE = 9, RTC_IMAGE_GIF_SOURCE = 10, REMOTE_VIDEO_SOURCE = 11, TRANSCODED_VIDEO_SOURCE = 12, SPEECH_DRIVEN_VIDEO_SOURCE = 13, UNKNOWN_MEDIA_SOURCE = 100 }
enum | AUDIO_DUAL_MONO_MODE { AUDIO_DUAL_MONO_STEREO = 0, AUDIO_DUAL_MONO_L = 1, AUDIO_DUAL_MONO_R = 2 }
enum | VIDEO_PIXEL_FORMAT { VIDEO_PIXEL_DEFAULT = 0, VIDEO_PIXEL_I420 = 1, VIDEO_PIXEL_BGRA = 2, VIDEO_PIXEL_NV21 = 3, VIDEO_PIXEL_RGBA = 4, VIDEO_PIXEL_NV12 = 8, VIDEO_TEXTURE_2D = 10, VIDEO_TEXTURE_OES = 11 , VIDEO_CVPIXEL_P010 = 15, VIDEO_PIXEL_I422 = 16, VIDEO_TEXTURE_ID3D11TEXTURE2D = 17, VIDEO_PIXEL_I010 = 18 }
enum | RENDER_MODE_TYPE { RENDER_MODE_HIDDEN = 1, RENDER_MODE_FIT = 2, RENDER_MODE_ADAPTIVE = 3 }
enum | CAMERA_VIDEO_SOURCE_TYPE { CAMERA_SOURCE_FRONT = 0, CAMERA_SOURCE_BACK = 1, VIDEO_SOURCE_UNSPECIFIED = 2 }
enum | ALPHA_STITCH_MODE { NO_ALPHA_STITCH = 0, ALPHA_STITCH_UP = 1, ALPHA_STITCH_BELOW = 2, ALPHA_STITCH_LEFT = 3, ALPHA_STITCH_RIGHT = 4 }
enum | EXTERNAL_VIDEO_SOURCE_TYPE { VIDEO_FRAME = 0, ENCODED_VIDEO_FRAME }
enum | MediaRecorderContainerFormat { FORMAT_MP4 = 1 }
enum | MediaRecorderStreamType { STREAM_TYPE_AUDIO = 0x01, STREAM_TYPE_VIDEO = 0x02, STREAM_TYPE_BOTH = STREAM_TYPE_AUDIO | STREAM_TYPE_VIDEO }
enum | RecorderState { RECORDER_STATE_ERROR = -1, RECORDER_STATE_START = 2, RECORDER_STATE_STOP = 3 }
enum | RecorderReasonCode { RECORDER_REASON_NONE = 0, RECORDER_REASON_WRITE_FAILED = 1, RECORDER_REASON_NO_STREAM = 2, RECORDER_REASON_OVER_MAX_DURATION = 3, RECORDER_REASON_CONFIG_CHANGED = 4 }

## Macro Definition Documentation

## ◆ OPTIONAL_ENUM_SIZE_T

#define OPTIONAL_ENUM_SIZE_T enum

## ◆ __deprecated

#define __deprecated

## ◆ MAX_CONTENT_INSPECT_MODULE_COUNT

#define MAX_CONTENT_INSPECT_MODULE_COUNT 32

Definition of contentinspect