videoSettings method

Future<VideoSettingsResponse> videoSettings()

Gets the current video settings.

Note: To get the true FPS value, divide the FPS numerator by the FPS denominator. Example: 60000/1001

  • Complexity Rating: 2/5
  • Latest Supported RPC Version: 1
  • Added in v5.0.0

Implementation

Future<VideoSettingsResponse> videoSettings() async {
  final response =
      await obsWebSocket.sendRequest(Request('GetVideoSettings'));

  return VideoSettingsResponse.fromJson(response!.responseData!);
}