openSourceProjector method
Opens a projector for a source.
Note: This request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release.
- Complexity Rating: 3/5
- Latest Supported RPC Version: 1
- Added in v5.0.0
Implementation
Future<void> openSourceProjector(String sourceName,
{int? monitorIndex = -1, String? projectorGeometry}) async =>
await obsWebSocket.sendRequest(Request(
'OpenSourceProjector',
requestData: {
'sourceName': sourceName,
'monitorIndex': monitorIndex,
'projectorGeometry': projectorGeometry,
}..removeWhere((key, value) => value == null),
));