ruby_onvif_client 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ruby_onvif_client/ptz/continuous_move.rb +3 -3
- data/ruby-onvif-client.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9dafdb6497c71e9072553bb56fbfec10d79ca77e
|
|
4
|
+
data.tar.gz: 8df5d21e9438bb705de43b5ff274d93686b2a032
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bdf44aed14ea688a878037fbdb4915625a1b983609e94273e4b831df7af46d0592e093b0eefa0c9f79dab45b2b9e9011b055f30d52aaf0ce90e76b3c3cf7cd7a
|
|
7
|
+
data.tar.gz: 9063bc3cb54009958088a25f010003f6697d2551df516928083a72cc4c7ca315783b931064e1e9b6158a5944bbe6f2f4162b29251b97f07486f6aa43b37f6ab8
|
|
@@ -24,21 +24,21 @@ module ONVIF
|
|
|
24
24
|
# timeout: '' //optional [duration]
|
|
25
25
|
# }
|
|
26
26
|
def run options, cb
|
|
27
|
-
message = create_ptz_onvif_message
|
|
27
|
+
message = create_ptz_onvif_message namespaces: {:'xmlns:sch' => 'http://www.onvif.org/ver10/schema'}
|
|
28
28
|
message.body = ->(xml) do
|
|
29
29
|
xml.wsdl(:ContinuousMove) do
|
|
30
30
|
xml.wsdl :ProfileToken, options[:profile_token]
|
|
31
31
|
unless options[:velocity].nil?
|
|
32
32
|
xml.wsdl(:Velocity) do
|
|
33
33
|
unless options[:velocity][:pan_tilt].nil?
|
|
34
|
-
xml.
|
|
34
|
+
xml.sch :PanTilt, {
|
|
35
35
|
"x" => options[:velocity][:pan_tilt][:x],
|
|
36
36
|
"y" => options[:velocity][:pan_tilt][:y],
|
|
37
37
|
"space" => options[:velocity][:pan_tilt][:space]
|
|
38
38
|
}
|
|
39
39
|
end
|
|
40
40
|
unless options[:velocity][:zoom].nil?
|
|
41
|
-
xml.
|
|
41
|
+
xml.sch :Zoom, {
|
|
42
42
|
"x" => options[:velocity][:zoom][:x],
|
|
43
43
|
"space" => options[:velocity][:zoom][:space]
|
|
44
44
|
}
|
data/ruby-onvif-client.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_onvif_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jimxl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-07-
|
|
11
|
+
date: 2013-07-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: em_ws_discovery
|