streamServiceSettings method

Future<StreamServiceSettingsResponse> streamServiceSettings()

Gets the current stream service settings (stream destination).

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

Implementation

Future<StreamServiceSettingsResponse> streamServiceSettings() async {
  final response =
      await obsWebSocket.sendRequest(Request('GetStreamServiceSettings'));

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