Agora Server Gateway SDK C++ API Reference
Classes | Typedefs | Enumerations | Variables
agora::media::base Namespace Reference

Classes

struct  AudioPcmFrame
 
struct  ExternalVideoFrame
 
struct  VideoFrame
 

Typedefs

typedef void * view_t
 
typedef const char * user_id_t
 

Enumerations

enum  VIDEO_PIXEL_FORMAT {
  VIDEO_PIXEL_UNKNOWN = 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
}
 
enum  VIDEO_MODULE_POSITION { POSITION_POST_CAPTURER = 1 << 0 , POSITION_PRE_RENDERER = 1 << 1 , POSITION_PRE_ENCODER = 1 << 2 , POSITION_POST_FILTERS = 1 << 3 }
 

Variables

static const uint8_t kMaxCodecNameLength = 50
 

Typedef Documentation

◆ user_id_t

typedef const char* agora::media::base::user_id_t

◆ view_t

Enumeration Type Documentation

◆ VIDEO_MODULE_POSITION

Enumerator
POSITION_POST_CAPTURER 
POSITION_PRE_RENDERER 
POSITION_PRE_ENCODER 
POSITION_POST_FILTERS 

◆ VIDEO_PIXEL_FORMAT

Video pixel formats.

Enumerator
VIDEO_PIXEL_UNKNOWN 

0: Unknown format.

VIDEO_PIXEL_I420 

1: I420.

VIDEO_PIXEL_BGRA 

2: BGRA.

VIDEO_PIXEL_NV21 

3: NV21.

VIDEO_PIXEL_RGBA 

4: RGBA.

VIDEO_PIXEL_NV12 

8: NV12.

VIDEO_TEXTURE_2D 

10: GL_TEXTURE_2D

VIDEO_TEXTURE_OES 

11: GL_TEXTURE_OES

VIDEO_PIXEL_I422 

16: I422.

Variable Documentation

◆ kMaxCodecNameLength

const uint8_t agora::media::base::kMaxCodecNameLength = 50
static