This package works with a variety of ONVIF compatible devices allowing for IP Cameras and NVRs (network video recorders) to be integrated into Dart and Flutter applications.
This PR fixes the axis usage in the zoomOut method to align with their intended behavior as described in the comments.
Changes Made:
Updated zoomOut to manipulate the negative z-axis (farther).
Updated Code:
/// A helper method to perform a single [step] of a [relativeMove] on the
/// negative y axis (farther)
Future<void> zoomOut(String profileToken, [double step = 0.025]) async {
loggy.debug('zoomOut');
await zoom(profileToken, Vector1D(x: -step));
}
Testing:
Verified zoomIn moves closer along the positive z-axis.
Verified zoomOut moves farther along the negative z-axis.
Description:
This PR fixes the axis usage in the
zoomOut
method to align with their intended behavior as described in the comments.Changes Made:
zoomOut
to manipulate the negative z-axis (farther).Updated Code:
Testing:
zoomIn
moves closer along the positive z-axis.zoomOut
moves farther along the negative z-axis.Related Issue:
Fixes #63