setAudioSelectionConfig abstract method

Future<int?> setAudioSelectionConfig(
  1. AudioSelectionPriority audioSelectionPriority
)

Valid since v3.56.1

Sets the priority of the local audio stream to be published.

audioSelectionPriority: The priority of the local audio stream which defaults to be subscribable only up to the result of the Audio Selection.

Notes:

  • You must enable Audio Selection in the RTC console before using this API. You can call this API whether the user has joined a room. Refer to Audio Selection.
  • The setting is independent in each room that the user joins.

Implementation

Future<int?> setAudioSelectionConfig(
    AudioSelectionPriority audioSelectionPriority);