Server Gateway SDK v3.8.202.20 for Linux C++
|
#include <AgoraBase.h>
Public Member Functions | |
VideoSubscriptionOptions () | |
VideoSubscriptionOptions (VIDEO_STREAM_TYPE streamtype) | |
VideoSubscriptionOptions (VIDEO_STREAM_TYPE streamtype, bool encoded_only) | |
Public Attributes | |
VIDEO_STREAM_TYPE | type |
bool | encodedFrameOnly |
Video subscription options.
|
inline |
|
inlineexplicit |
|
inline |
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 only. 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.