Agora Java API Reference for Android
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.Constants.MultipathType Enum Reference

Defines the types of network paths used in multipath transmission. More...

Public Member Functions

int getValue ()
 

Static Public Member Functions

static MultipathType fromInt (int v)
 

Public Attributes

 MULTIPATH_TYPE_LAN =(0)
 
 MULTIPATH_TYPE_WIFI =(1)
 
 MULTIPATH_TYPE_MOBILE =(2)
 
 MULTIPATH_TYPE_UNKNOWN =(99)
 

Detailed Description

Defines the types of network paths used in multipath transmission.

Since
4.6.0

Member Data Documentation

◆ MULTIPATH_TYPE_LAN

io.agora.rtc2.Constants.MultipathType.MULTIPATH_TYPE_LAN =(0)

0: LAN type, indicating that the data is transmitted over a local area network. This type is typically used for high-speed, low-latency connections.

◆ MULTIPATH_TYPE_WIFI

io.agora.rtc2.Constants.MultipathType.MULTIPATH_TYPE_WIFI =(1)

1: WIFI type, indicating that the data is transmitted over a Wi-Fi network. This type is suitable for wireless connections with moderate latency.

◆ MULTIPATH_TYPE_MOBILE

io.agora.rtc2.Constants.MultipathType.MULTIPATH_TYPE_MOBILE =(2)

2: Mobile type, indicating that the data is transmitted over a mobile network. This type is used for connections that may have higher latency and variability.

◆ MULTIPATH_TYPE_UNKNOWN

io.agora.rtc2.Constants.MultipathType.MULTIPATH_TYPE_UNKNOWN =(99)

99: Unknown type, indicating that the path type is not recognized. This type can be used for error handling or fallback scenarios.