If you like to re-configure your stream by adding new or udpating existing specification parameters of a stream. Please use EnxStream.updateConfiguration() method to update the parameters of a stream. Both remote and local streams can use this method of updating the stream parameters.
Method: static Future<void>updateConfiguration(Map<String, dynamic> config)
Parameters: config– Map containing new configuration options
Map<String, dynamic> mapConfig = {
'maxVideoBW': 150,
'minVideoBW': 150,
'maxAudioBW': 150,
'minAudioBW': 150
};
EnxRtc.updateConfiguration(mapConfig);
