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 | AudioParameters
struct | AudioDeviceInfo
struct | ContentInspectModule
struct | ContentInspectConfig
struct | PacketOptions
struct | AudioEncodedFrameInfo
struct | AudioPcmFrame
class | IVideoFrameMetaInfo
struct | ExternalVideoFrame
struct | VideoFrame
class | IVideoFrameObserver
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 | AudioRoute { ROUTE_DEFAULT = -1, ROUTE_HEADSET = 0, ROUTE_EARPIECE = 1, ROUTE_HEADSETNOMIC = 2, ROUTE_SPEAKERPHONE = 3, ROUTE_LOUDSPEAKER = 4, ROUTE_HEADSETBLUETOOTH = 5, ROUTE_USB = 6, ROUTE_HDMI = 7, ROUTE_DISPLAYPORT = 8, ROUTE_AIRPLAY = 9, ROUTE_VIRTUAL = 10, ROUTE_CONTINUITY = 11 }
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 | TRACK_AUDIO_MIXED_POLICY_TYPE { TRACK_AUDIO_MIXED_LOCAL = 1 << 0, TRACK_AUDIO_MIXED_REMOTE = 1 << 1 }
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_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 | 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 | RecorderErrorCode { RECORDER_ERROR_NONE = 0, RECORDER_ERROR_WRITE_FAILED = 1, RECORDER_ERROR_NO_STREAM = 2, RECORDER_ERROR_OVER_MAX_DURATION = 3, RECORDER_ERROR_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