setChannelProfile method
Sets the channel profile of the RtcEngine.
The RtcEngine differentiates channel profiles and applies different optimization algorithms accordingly. For example, it prioritizes smoothness and low latency for a video call, and prioritizes video quality for a video broadcast.
Parameter profile
The channel profile of the RtcEngine. See ChannelProfile.
Implementation
@override
Future<void> setChannelProfile(ChannelProfile profile) {
return _invokeMethod('setChannelProfile',
{'profile': ChannelProfileConverter(profile).value()});
}