# AgoraVideoSourceType (/zh-CN/api-reference/rtc/macos/enum-videosourcetype)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="enum_videosourcetype__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="agoravideosourcetypecamera"></a>
<Parameter name="AgoraVideoSourceTypeCamera">

（0）：默认主摄像头。

</Parameter>
<a id="agoravideosourcetypecamerasecondary"></a>
<Parameter name="AgoraVideoSourceTypeCameraSecondary">

（1）：次摄像头。

</Parameter>
<a id="agoravideosourcetypescreen"></a>
<Parameter name="AgoraVideoSourceTypeScreen">

（2）：主屏幕。

</Parameter>
<a id="agoravideosourcetypescreensecondary"></a>
<Parameter name="AgoraVideoSourceTypeScreenSecondary">

（3）：次屏幕。

</Parameter>
<a id="agoravideosourcetypecustom"></a>
<Parameter name="AgoraVideoSourceTypeCustom">

（4）：自定义视频源。

</Parameter>
<a id="agoravideosourcetypemediaplayer"></a>
<Parameter name="AgoraVideoSourceTypeMediaPlayer">

（5）：媒体播放器。

</Parameter>
<a id="agoravideosourcetypeimagepng"></a>
<Parameter name="AgoraVideoSourceTypeImagePNG">

（6）：PNG 图像。

</Parameter>
<a id="agoravideosourcetypeimagejpeg"></a>
<Parameter name="AgoraVideoSourceTypeImageJPEG">

（7）：JPEG 图像。

</Parameter>
<a id="agoravideosourcetypeimagegif"></a>
<Parameter name="AgoraVideoSourceTypeImageGIF">

（8）：GIF 图像。

</Parameter>
<a id="agoravideosourcetyperemote"></a>
<Parameter name="AgoraVideoSourceTypeRemote">

（9）：通过网络获取的远端视频。

</Parameter>
<a id="agoravideosourcetypetranscoded"></a>
<Parameter name="AgoraVideoSourceTypeTransCoded">

（10）：转码后的视频源。

</Parameter>
<a id="agoravideosourcetypecamerathird"></a>
<Parameter name="AgoraVideoSourceTypeCameraThird">

（11）：（仅适用于 macOS 平台）第三个摄像头。

</Parameter>
<a id="agoravideosourcetypecamerafourth"></a>
<Parameter name="AgoraVideoSourceTypeCameraFourth">

（12）：（仅适用于 macOS 平台）第四个摄像头。

</Parameter>
<a id="agoravideosourcetypescreenthird"></a>
<Parameter name="AgoraVideoSourceTypeScreenThird">

（13）：（仅适用于 macOS 平台）第三个屏幕。

</Parameter>
<a id="agoravideosourcetypescreenfourth"></a>
<Parameter name="AgoraVideoSourceTypeScreenFourth">

（14）：（仅适用于 macOS 平台）第四个屏幕。

</Parameter>
<a id="agoravideosourcetypespeechdriven"></a>
<Parameter name="AgoraVideoSourceTypeSpeechDriven">

（15）：由语音驱动扩展处理的视频源。

</Parameter>
<a id="agoravideosourcetypeunknown"></a>
<Parameter name="AgoraVideoSourceTypeUnknown">

（100）：未知的视频源。

</Parameter>
</ParameterList>
