Agora Server Gateway SDK C++ API Reference
Classes | Namespaces | Macros | Typedefs | Enumerations | Variables
AgoraMediaBase.h File Reference
#include <cstring>
#include <stdint.h>
#include <limits>
#include <stddef.h>

Go to the source code of this file.

Classes

struct  agora::rtc::AudioParameters
 
struct  agora::AudioPcmFrame
 
struct  agora::ExternalVideoFrame
 
struct  agora::VideoFrame
 
class  IAudioFrameObserverBase
 
struct  IAudioFrameObserverBase::AudioFrame
 
class  IAudioFrameObserver
 
class  IVideoEncodedFrameObserver
 
class  IVideoFrameObserver
 

Namespaces

namespace  agora
 
namespace  agora::rtc
 

Macros

#define OPTIONAL_ENUM_SIZE_T   enum
 

Typedefs

typedef unsigned int agora::rtc::uid_t
 
typedef unsigned int agora::rtc::track_id_t
 
typedef unsigned int agora::rtc::conn_id_t
 

Enumerations

enum  agora::rtc::BYTES_PER_SAMPLE { agora::rtc::TWO_BYTES_PER_SAMPLE = 2 }
 
enum  agora::rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE { agora::rtc::RAW_AUDIO_FRAME_OP_MODE_READ_ONLY = 0 , agora::rtc::RAW_AUDIO_FRAME_OP_MODE_READ_WRITE = 2 }
 
enum  agora::VIDEO_PIXEL_FORMAT {
  agora::VIDEO_PIXEL_UNKNOWN = 0 , agora::VIDEO_PIXEL_I420 = 1 , agora::VIDEO_PIXEL_BGRA = 2 , agora::VIDEO_PIXEL_NV21 = 3 ,
  agora::VIDEO_PIXEL_RGBA = 4 , agora::VIDEO_PIXEL_NV12 = 8 , agora::VIDEO_TEXTURE_2D = 10 , agora::VIDEO_TEXTURE_OES = 11 ,
  agora::VIDEO_PIXEL_I422 = 16
}
 
enum  agora::VIDEO_MODULE_POSITION { agora::POSITION_POST_CAPTURER = 1 << 0 , agora::POSITION_PRE_RENDERER = 1 << 1 , agora::POSITION_PRE_ENCODER = 1 << 2 , agora::POSITION_POST_FILTERS = 1 << 3 }
 

Variables

static const unsigned int agora::rtc::DEFAULT_CONNECTION_ID = 0
 
static const unsigned int agora::rtc::DUMMY_CONNECTION_ID = (std::numeric_limits<unsigned int>::max)()
 

Macro Definition Documentation

◆ OPTIONAL_ENUM_SIZE_T

#define OPTIONAL_ENUM_SIZE_T   enum