VIDEO_SOURCE_TYPE

Types of video sources.

Enumerations

VIDEO_SOURCE_CAMERA_PRIMARY
0: (Default) Video source is the primary camera.
VIDEO_SOURCE_CAMERA
0: (Default) Video source is the primary camera.
VIDEO_SOURCE_CAMERA_SECONDARY
1: Video source is the secondary camera.
VIDEO_SOURCE_SCREEN_PRIMARY
2: Video source is the primary screen.
VIDEO_SOURCE_SCREEN
2: Video source is the primary screen.
VIDEO_SOURCE_SCREEN_SECONDARY
3: Video source is the secondary screen.
VIDEO_SOURCE_CUSTOM
4: Custom video source.
VIDEO_SOURCE_MEDIA_PLAYER
5: Video source is a media player.
VIDEO_SOURCE_RTC_IMAGE_PNG
6: Video source is a PNG image.
VIDEO_SOURCE_RTC_IMAGE_JPEG
7: Video source is a JPEG image.
VIDEO_SOURCE_RTC_IMAGE_GIF
8: Video source is a GIF image.
VIDEO_SOURCE_REMOTE
9: Video source is a remote video retrieved over the network.
VIDEO_SOURCE_TRANSCODED
10: Transcoded video source.
VIDEO_SOURCE_CAMERA_THIRD
11: (Android, Windows, and macOS only) Video source is the third camera.
VIDEO_SOURCE_CAMERA_FOURTH
12: (Android, Windows, and macOS only) Video source is the fourth camera.
VIDEO_SOURCE_SCREEN_THIRD
13: (Windows and macOS only) Video source is the third screen.
VIDEO_SOURCE_SCREEN_FOURTH
14: (Windows and macOS only) Video source is the fourth screen.
VIDEO_SOURCE_SPEECH_DRIVEN
15: Video source is video processed by a speech-driven plugin.
VIDEO_SOURCE_UNKNOWN
100: Unknown video source.