VIDEO_SOURCE_TYPE

The type of the video source.

Enumerator

VIDEO_SOURCE_CAMERA_PRIMARY
0: (Default) The primary camera.
VIDEO_SOURCE_CAMERA
0: (Default) The primary camera.
VIDEO_SOURCE_CAMERA_SECONDARY
1: The secondary camera.
VIDEO_SOURCE_SCREEN_PRIMARY
2: The primary screen.
VIDEO_SOURCE_SCREEN
2: The primary screen.
VIDEO_SOURCE_SCREEN_SECONDARY
3: The secondary screen.
VIDEO_SOURCE_CUSTOM
4: A custom video source.
VIDEO_SOURCE_MEDIA_PLAYER
5: The media player.
VIDEO_SOURCE_RTC_IMAGE_PNG
6: One PNG image.
VIDEO_SOURCE_RTC_IMAGE_JPEG
7: One JPEG image.
VIDEO_SOURCE_RTC_IMAGE_GIF
8: One GIF image.
VIDEO_SOURCE_REMOTE
9: One remote video acquired by the network.
VIDEO_SOURCE_TRANSCODED
10: One transcoded video source.
VIDEO_SOURCE_CAMERA_THIRD
11: (For Android, Windows, and macOS only) The third camera.
VIDEO_SOURCE_CAMERA_FOURTH
12: (For Android, Windows, and macOS only) The fourth camera.
VIDEO_SOURCE_SCREEN_THIRD
13: (For Windows and macOS only) The third screen.
VIDEO_SOURCE_SCREEN_FOURTH
14: (For Windows and macOS only) The fourth screen.
VIDEO_SOURCE_SPEECH_DRIVEN
15: Video processed by the speech driven extension.
VIDEO_SOURCE_UNKNOWN
100: An unknown video source.