Skip to content

Commit

Permalink
Issue \#58, Class names match Onvif Spec, buildXML() method for PTZ
Browse files Browse the repository at this point in the history
  • Loading branch information
faithoflifedev committed Feb 18, 2024
1 parent 4d1fa72 commit a1da89e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

## 2.3.0

* Issue #58
* Reverted the timestamp format to build in dart `toIso8601String()`
* PTZ
* Revised class names for PTZ functionality to better match the Onvif Spec - PanTilt => Vector2D, Zoom => Vector1D
* Implemented the buildXML() method for much of the PTZ functionality to better place functionality in its useful class
* Capabilities
* All fields are now optional, not all devices are reporting this information
* DeviceManagement
* GetDeviceInformationResponse
* manufacturer and model are now optional fields, not all devices are reporting this information

## 2.3.0

* Issue #58
* Reverted the timestamp format to build in dart `toIso8601String()`
* PTZ
Expand Down
4 changes: 2 additions & 2 deletions lib/src/soap/ptz.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class PtzRequest {
return Transport.builder.buildFragment();
}

/// XML for the [continuousMove], requires a [profileToken] and [PtzPosition],
/// XML for the [continuousMove], requires a [profileToken] and [PtzSpeed],
/// and optionally [timeout]
static XmlDocumentFragment continuousMove(String profileToken,
{required PtzSpeed velocity, int? timeout}) {
Expand Down Expand Up @@ -195,7 +195,7 @@ class PtzRequest {
return Transport.builder.buildFragment();
}

/// XML for the [relativeMove], requires a [profileToken] and [PtzPosition]
/// XML for the [relativeMove], requires a [profileToken] and [PtzVector]
static XmlDocumentFragment relativeMove(
String profileToken, PtzVector translation, PtzSpeed? speed) {
Transport.builder.element('RelativeMove', nest: () {
Expand Down

0 comments on commit a1da89e

Please sign in to comment.