frameRate property
int
get
frameRate
Screen sharing frame rate Default is 14fps. For flutter engine this is the optimal fps that works on all devices
Implementation
int get frameRate => 1000 ~/ _screenShotImeInterval;
set
frameRate
(int frameRate)
Set the screen sharing frame rate
The frameRate
describes the amount of frames (screen shots) per one second
that will be send to the remote peers
Maximum frame rate for flutter engine is 20. Any value set higher than this will be saved as 20 fps
This is limited cause of the flutter Isolate engine and image processing capabilities of flutter itself
for the using app
Implementation
set frameRate(int frameRate) => _screenShotImeInterval = (frameRate > 20) ? _screenShotImeInterval = 1000 ~/ frameRate : _screenShotImeInterval;