setVideoFPS method

Future<void> setVideoFPS(
  1. int newValue
)

Set desired FPS, server will do its best to return FPS close to this. It's only supported for video codecs that support SVC currently.

Implementation

Future<void> setVideoFPS(int newValue) async {
  if (newValue == _fps) return;
  _fps = newValue;
  sendUpdateTrackSettings();
}