toSDK property
ZegoVideoConfig
get
toSDK
Implementation
ZegoVideoConfig get toSDK {
final videoConfig = ZegoVideoConfig.preset(
ZegoVideoConfigPreset.Preset360P,
);
videoConfig.bitrate = bitrate;
videoConfig.fps = fps;
videoConfig.encodeWidth = width;
videoConfig.captureWidth = width;
videoConfig.encodeHeight = height;
videoConfig.captureHeight = height;
return videoConfig;
}