takeSnapshotBase64 static method
Implementation
static Future<String> takeSnapshotBase64(String username, String password,
{required MediaUri snapshotUri}) async {
final bytes = await OnvifUtil.takeSnapshot(username, password,
snapshotUri: snapshotUri);
return base64.encode(bytes.toList());
}