captureModesGet method
captureModesGet
-> /v1/capture/encodings/{type}
Requests a list of all available capture modes for the capture type (disk, rtmp, resi).
PARAMETERS
type
: The required capture type.
- Should be one of:
disk
,rtmp
,resi
RESPONSE 200:
The request was completed successfully.
content-type: application/json
schema:
{
"type": "array",
"required": []
}
Implementation
Future<Map<String, dynamic>> captureModesGet(String type) async {
String url = '/v1/capture/encodings/$type';
return await call('get', url, httpAccept: 'application/json');
}