getStreamStatus method

Future<StreamStatusResponse> getStreamStatus()

Gets the status of the stream output.

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

Implementation

Future<StreamStatusResponse> getStreamStatus() async {
  final response = await obsWebSocket.sendRequest(Request('GetStreamStatus'));

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