setVideoResolution method

void setVideoResolution(
  1. int selectedIndex
)

Implementation

void setVideoResolution(int selectedIndex) {
  resolutionName =
      Constants.videoResolutionNameArray.elementAt(selectedIndex);
  _engineManager
      .setVideoBitrate(Constants.videoBitrateArray.elementAt(selectedIndex));
  _engineManager.setVideoResolution(
      Constants.videoResolutionArray.elementAt(selectedIndex));
}