Agora Java API Reference for Android
Public Attributes | List of all members
agora::rtc::VideoSubscriptionOptions Struct Reference

Video subscription options. More...

#include <AgoraBase.h>

Public Attributes

Optional< VIDEO_STREAM_TYPE > type
 
Optional< bool > encodedFrameOnly
 

Detailed Description

Video subscription options.

Member Data Documentation

◆ type

Optional<VIDEO_STREAM_TYPE> agora::rtc::VideoSubscriptionOptions::type

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

◆ encodedFrameOnly

Optional<bool> agora::rtc::VideoSubscriptionOptions::encodedFrameOnly

Whether to subscribe to encoded video frames only:

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