deleteLiveSource method

Future<void> deleteLiveSource({
  1. required String liveSourceName,
  2. required String sourceLocationName,
})

The live source to delete.

Parameter liveSourceName : The name of the live source.

Parameter sourceLocationName : The name of the source location associated with this Live Source.

Implementation

Future<void> deleteLiveSource({
  required String liveSourceName,
  required String sourceLocationName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/sourceLocation/${Uri.encodeComponent(sourceLocationName)}/liveSource/${Uri.encodeComponent(liveSourceName)}',
    exceptionFnMap: _exceptionFns,
  );
}