Agora Server Gateway SDK Java API Reference
Loading...
Searching...
No Matches
io.agora.rtc.PeerDownlinkInfo Class Reference

Public Member Functions

 PeerDownlinkInfo ()
 
 PeerDownlinkInfo (java.lang.String uid, int streamType, int currentDownscaleLevel, int expectedBitrateBps)
 
java.lang.String getUid ()
 
void setUid (java.lang.String uid)
 
int getStreamType ()
 
void setStreamType (int streamType)
 
int getCurrentDownscaleLevel ()
 
void setCurrentDownscaleLevel (int currentDownscaleLevel)
 
int getExpectedBitrateBps ()
 
void setExpectedBitrateBps (int expectedBitrateBps)
 

Private Attributes

java.lang.String uid
 
int streamType
 
int currentDownscaleLevel
 
int expectedBitrateBps
 

Constructor & Destructor Documentation

◆ PeerDownlinkInfo() [1/2]

io.agora.rtc.PeerDownlinkInfo.PeerDownlinkInfo ( )

◆ PeerDownlinkInfo() [2/2]

io.agora.rtc.PeerDownlinkInfo.PeerDownlinkInfo ( java.lang.String uid,
int streamType,
int currentDownscaleLevel,
int expectedBitrateBps )

Constructor.

Parameters
uidThe ID of the user who owns the remote video stream.
streamTypeThe remote video stream type.
  • 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.
currentDownscaleLevelThe downscale level of the remote video stream . The higher the downscale level, the more the video downscales.
  • 0: No downscale.
  • 1: Downscale level 1.
  • 2: Downscale level 2.
  • 3: Downscale level 3.
  • 4: Downscale level 4.
expectedBitrateBpsThe expected bitrate in bps.

Member Function Documentation

◆ getCurrentDownscaleLevel()

int io.agora.rtc.PeerDownlinkInfo.getCurrentDownscaleLevel ( )

◆ getExpectedBitrateBps()

int io.agora.rtc.PeerDownlinkInfo.getExpectedBitrateBps ( )

◆ getStreamType()

int io.agora.rtc.PeerDownlinkInfo.getStreamType ( )

◆ getUid()

java.lang.String io.agora.rtc.PeerDownlinkInfo.getUid ( )

◆ setCurrentDownscaleLevel()

void io.agora.rtc.PeerDownlinkInfo.setCurrentDownscaleLevel ( int currentDownscaleLevel)

◆ setExpectedBitrateBps()

void io.agora.rtc.PeerDownlinkInfo.setExpectedBitrateBps ( int expectedBitrateBps)

◆ setStreamType()

void io.agora.rtc.PeerDownlinkInfo.setStreamType ( int streamType)

◆ setUid()

void io.agora.rtc.PeerDownlinkInfo.setUid ( java.lang.String uid)

Member Data Documentation

◆ currentDownscaleLevel

int io.agora.rtc.PeerDownlinkInfo.currentDownscaleLevel
private

◆ expectedBitrateBps

int io.agora.rtc.PeerDownlinkInfo.expectedBitrateBps
private

◆ streamType

int io.agora.rtc.PeerDownlinkInfo.streamType
private

◆ uid

java.lang.String io.agora.rtc.PeerDownlinkInfo.uid
private

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