setRemoteUserPriority abstract method

Future<void> setRemoteUserPriority(
  1. int uid,
  2. UserPriority userPriority
)

Prioritizes a remote user's stream. Prioritizes a remote user's stream. The SDK ensures the high-priority user gets the best possible stream quality. The SDK ensures the high-priority user gets the best possible stream quality. The SDK supports setting only one user as high priority. Ensure that you call this method before joining a channel.

Param uid The ID of the remote user.

Param userPriority The priority of the remote user. See UserPriority .

Implementation

Future<void> setRemoteUserPriority(int uid, UserPriority userPriority);