initialize static method
Initialize the WebRTC plugin. If this is not manually called, will be initialized with default settings.
Params:
"networkIgnoreMask": a list of AdapterType objects converted to string with .value
Android specific params:
"forceSWCodec": a boolean that forces software codecs to be used for video.
"forceSWCodecList": a list of strings of software codecs that should use software.
"androidAudioConfiguration": an AndroidAudioConfiguration object mapped with toMap()
Implementation
static Future<void> initialize({Map<String, dynamic>? options}) async {
if (!initialized) {
await _channel.invokeMethod<void>('initialize', <String, dynamic>{
'options': options ?? {},
});
initialized = true;
}
}