Agora RTC Objective-C API Reference  Refactor
Properties
AgoraVideoSubscriptionOptions Class Reference

Inherits <NSObject>.

Properties

AgoraVideoStreamType type
 
BOOL encodedFrameOnly
 

Property Documentation

◆ type

- (AgoraVideoStreamType) type
readwritenonatomicassign

The video stream type that you want to subscribe to. The default value is AgoraVideoStreamTypeHigh, indicating that the high-quality video streams are subscribed. See AgoraVideoStreamType.

◆ encodedFrameOnly

- (BOOL) encodedFrameOnly
readwritenonatomicassign

Whether to subscribe to encoded video frames only:

  • YES: Subscribe to the encoded video data (structured data) only; the SDK does not decode or render raw video data.
  • NO: (Default) Subscribe to both raw video data and encoded video data.