# AgoraVideoSubscriptionOptions (/zh-CN/api-reference/rtc/ios/class-videosubscriptionoptions)

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

<a id="class_videosubscriptionoptions__prototype"></a>

```objc
__attribute__((visibility("default"))) @interface AgoraVideoSubscriptionOptions: NSObject
@property (nonatomic, assign) AgoraVideoStreamType type;
@property (nonatomic, assign) BOOL encodedFrameOnly;
@end
```

<a id="class_videosubscriptionoptions__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="type"></a>
<Parameter name="type">

要订阅的视频流类型。默认值为 `AgoraVideoStreamTypeHigh`，表示订阅视频大流。详见 [AgoraVideoStreamType](/zh-CN/api-reference/rtc/ios/enum-videostreamtype)。

</Parameter>
<a id="encodedframeonly"></a>
<Parameter name="encodedFrameOnly">

是否仅订阅编码后的视频帧：

- YES：仅订阅编码后的视频数据（结构化数据），SDK 不解码或渲染原始视频数据。
- NO：（默认）同时订阅原始视频数据和编码后的视频数据。

</Parameter>
</ParameterList>
