getVideoConfig method
Implementation
Future<Map<dynamic, dynamic>> getVideoConfig(int? channel) async {
var config =
ZegoFlutterEngine.instance.getVideoConfig(getPublishChannel(channel));
var map = {};
map['captureWidth'] = config.captureWidth;
map['captureHeight'] = config.captureHeight;
map['encodeWidth'] = config.captureWidth;
map['encodeHeight'] = config.captureHeight;
map['fps'] = config.fps;
map['bitrate'] = config.bitrate;
map['codecID'] = config.codecID;
return Future.value(map);
}