Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::VideoSubscriptionOptions Struct Reference

`#include <AgoraBase.h>`

## Public Member Functions
| VideoSubscriptionOptions ()

## Public Attributes
Optional< VIDEO_STREAM_TYPE > | type
Optional< bool > | encodedFrameOnly

## Constructor & Destructor Documentation

## ◆ VideoSubscriptionOptions()

agora::rtc::VideoSubscriptionOptions::VideoSubscriptionOptions | ( |  | ) |
| inline

## Member Data Documentation

## ◆ type

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

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

Whether to subscribe to encoded video data only:

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