setAudioSelectionConfig method
@valid since 3.52.
@detail api
@author yejing.luna
@brief Set the priority of the local audio stream to be published.
@param audioSelectionPriority The priority of the local audio stream which defaults to be subscribable only up to the result of the Audio Selection. Refer to ByteRTCAudioSelectionPriority{@link #ByteRTCAudioSelectionPriority}.
@note
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
FutureOr<int> setAudioSelectionConfig(
ByteRTCAudioSelectionPriority audioSelectionPriority) async {
return await nativeCall(
'setAudioSelectionConfig:', [audioSelectionPriority.$value]);
}