setBufferSize method

Future<void> setBufferSize(
  1. int width,
  2. int height
)

Implementation

Future<void> setBufferSize(int width,int height)async{
  if(_isNeedDisposed) return;
  await _ensureInitialized();
    var w = (width*window.devicePixelRatio).toInt();
    var h = (height*window.devicePixelRatio).toInt();
  return _vlcApi.setDefaultBufferSize(w,h,_textureId);
}