setVideoConfig method
Implementation
Future<void> setVideoConfig(dynamic config, int channel) {
ZegoWebVideoConfig webVideoConfig = ZegoWebVideoConfig(
encodeWidth: config["encodeWidth"],
encodeHeight: config["encodeHeight"],
fps: config["fps"],
bitrate: config["bitrate"],
codecID: config["codecID"]);
ZegoFlutterEngine.instance
.setVideoConfig(webVideoConfig, getPublishChannel(channel));
return Future.value();
}