Server Gateway SDK v3.7.200.21 for Linux Java
Public Member Functions | List of all members
io.agora.rtc.VideoSubscriptionOptions Class Reference

Public Member Functions

 VideoSubscriptionOptions ()
 VideoSubscriptionOptions (int type, int encodedFrameOnly)
int getType ()
void setType (int type)
int getEncodedFrameOnly ()
void setEncodedFrameOnly (int encodedFrameOnly)

Detailed Description

Video subscription options.

Constructor & Destructor Documentation

◆ VideoSubscriptionOptions() [1/2]

io.agora.rtc.VideoSubscriptionOptions.VideoSubscriptionOptions ( )

◆ VideoSubscriptionOptions() [2/2]

io.agora.rtc.VideoSubscriptionOptions.VideoSubscriptionOptions ( int  type,
int  encodedFrameOnly 


typeThe type of the video stream to subscribe to.
  • 0: The high-quality video stream, which has a higher resolution and bitrate.
  • 1: The low-quality video stream, which has a lower resolution and bitrate.
encodedFrameOnlyWhether to subscribe to encoded video data only:
  • true: Subscribe to encoded video data only.
  • false: (Default) Subscribe to decoded video data only.

Member Function Documentation

◆ getEncodedFrameOnly()

int io.agora.rtc.VideoSubscriptionOptions.getEncodedFrameOnly ( )

◆ getType()

int io.agora.rtc.VideoSubscriptionOptions.getType ( )

◆ setEncodedFrameOnly()

void io.agora.rtc.VideoSubscriptionOptions.setEncodedFrameOnly ( int  encodedFrameOnly)

◆ setType()

void io.agora.rtc.VideoSubscriptionOptions.setType ( int  type)

The documentation for this class was generated from the following file: