VideoSourceType

The type of the video source.

Enumerator

videoSourceCameraPrimary
0: (Default) The primary camera.
videoSourceCamera
0: (Default) The primary camera.
videoSourceCameraSecondary
1: The secondary camera.
videoSourceScreenPrimary
2: The primary screen.
videoSourceScreen
2: The primary screen.
videoSourceScreenSecondary
3: The secondary screen.
videoSourceCustom
4: A custom video source.
videoSourceMediaPlayer
5: The media player.
videoSourceRtcImagePng
6: One PNG image.
videoSourceRtcImageJpeg
7: One JPEG image.
videoSourceRtcImageGif
8: One GIF image.
videoSourceRemote
9: One remote video acquired by the network.
videoSourceTranscoded
10: One transcoded video source.
videoSourceCameraThird
11: (For Windows and macOS only) The third camera.
videoSourceCameraFourth
12: (For Windows and macOS only) The fourth camera.
videoSourceScreenThird
13: (For Windows and macOS only) The third screen.
videoSourceScreenFourth
14: (For Windows and macOS only) The fourth screen.
videoSourceUnknown
100: An unknown video source.