setRemoteUserPriority abstract method

Future<int?> setRemoteUserPriority({
  1. required String roomId,
  2. required String uid,
  3. required RemoteUserPriority priority,
})

Set the priority of the specified remote user in the fallback.

If the subscribe stream fallback option is enabled, the quality of streams received from high-priority users will be prioritized under limit network conditions.

Notes:

  • Call this API together with RTCVideo.setSubscribeFallbackOption.
  • This method can be used before and after entering the room, and the priority of the remote user can be modified.

Implementation

Future<int?> setRemoteUserPriority({
  required String roomId,
  required String uid,
  required RemoteUserPriority priority,
});