Agora Server Gateway SDK C++ API Reference
Namespaces | Classes | Enumerations
agora::media Namespace Reference

Namespaces

namespace  base
 

Classes

class  IAudioFrameObserver
 
class  IAudioFrameObserverBase
 
class  IVideoEncodedFrameObserver
 
class  IVideoFrameObserver
 

Enumerations

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 , UNKNOWN_MEDIA_SOURCE = 100
}
 
enum  EXTERNAL_VIDEO_SOURCE_TYPE { VIDEO_FRAME = 0 , ENCODED_VIDEO_FRAME }
 

Enumeration Type Documentation

◆ EXTERNAL_VIDEO_SOURCE_TYPE

The external video source type.

Enumerator
VIDEO_FRAME 

0: non-encoded video frame.

ENCODED_VIDEO_FRAME 

1: encoded video frame.

◆ MEDIA_SOURCE_TYPE

The type of media device.

Enumerator
AUDIO_PLAYOUT_SOURCE 

0: The audio playback device.

AUDIO_RECORDING_SOURCE 

1: Microphone.

PRIMARY_CAMERA_SOURCE 

2: Video captured by primary camera.

SECONDARY_CAMERA_SOURCE 

3: Video captured by secondary camera.

PRIMARY_SCREEN_SOURCE 

4: Video captured by primary screen capturer.

SECONDARY_SCREEN_SOURCE 

5: Video captured by secondary screen capturer.

CUSTOM_VIDEO_SOURCE 

6: Video captured by custom video source.

MEDIA_PLAYER_SOURCE 

7: Video for media player sharing.

RTC_IMAGE_PNG_SOURCE 

8: Video for png image.

RTC_IMAGE_JPEG_SOURCE 

9: Video for jpeg image.

RTC_IMAGE_GIF_SOURCE 

10: Video for gif image.

REMOTE_VIDEO_SOURCE 

11: Remote video received from network.

TRANSCODED_VIDEO_SOURCE 

12: Video for transcoded.

UNKNOWN_MEDIA_SOURCE 

100: Internal Usage only.