Agora C++ API Reference for All Platforms
Public Member Functions | Public Attributes | List of all members
agora::rtc::ILocalUser::VideoSubscriptionOptions Struct Reference

Public Member Functions

 VideoSubscriptionOptions ()
 

Public Attributes

VIDEO_STREAM_TYPE type
 
bool encodedFrameOnly
 

Detailed Description

Options of subscribing to video streams.

Constructor & Destructor Documentation

◆ VideoSubscriptionOptions()

agora::rtc::ILocalUser::VideoSubscriptionOptions::VideoSubscriptionOptions ( )
inline

Member Data Documentation

◆ type

VIDEO_STREAM_TYPE agora::rtc::ILocalUser::VideoSubscriptionOptions::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

bool agora::rtc::ILocalUser::VideoSubscriptionOptions::encodedFrameOnly

Whether to subscribe to encoded video data only:

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