Agora RTC Objective-C API Reference  Refactor
Data Fields
VideoSubscriptionOptions Struct Reference

Data Fields

Optional< VIDEO_STREAM_TYPEtype
 
Optional< bool > encodedFrameOnly
 

Constructor & Destructor Documentation

◆ VideoSubscriptionOptions()

Field Documentation

◆ type

The type of the video stream to subscribe to.

The default value is VIDEO_STREAM_HIGH, which means the high-quality video stream.

◆ encodedFrameOnly

Optional<bool> encodedFrameOnly

Whether to subscribe to encoded video data only:

  • true: Subscribe to encoded video data only.
  • false: (Default) Subscribe to decoded video data.