ruby_onvif_client 0.1.3 → 0.1.4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8eab26356c14952c85c3d6e821dd65fe11ec2a14
|
|
4
|
+
data.tar.gz: d83677fa347fa61e3463721b49de6d94159ddc9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cae25ac8fd749a76cf7a21e066c1165127c9b041e69c1b2e0d00fe487e899cda2661e8a858b7f8956a7fe94a038b6bdac62e8469fdbca8223fea56105ce198b
|
|
7
|
+
data.tar.gz: fd7185f378d9d7d18d48812b76bd83531e4b18584c42fcbd279e2a0fe2d4381700c8024db8d3713900606c655ad65790c14cecbbd1d5ea31cb43474e91dd6e74
|
|
@@ -34,7 +34,7 @@ module ONVIF
|
|
|
34
34
|
profile[:audio_source_configuration] = _get_audio_source_configuration(audio_source) unless audio_source.nil?
|
|
35
35
|
profile[:video_encoder_configuration] = _get_video_encoder_configuration(video_encoder) unless video_encoder.nil?
|
|
36
36
|
profile[:audio_encoder_configuration] = _get_audio_encoder_configuration(audio_encoder) unless audio_encoder.nil?
|
|
37
|
-
profile[:video_analytics_configuration] = _get_video_analytics_configuration(video_analytics) unless video_analytics.nil?
|
|
37
|
+
#profile[:video_analytics_configuration] = _get_video_analytics_configuration(video_analytics) unless video_analytics.nil?
|
|
38
38
|
#profile[:ptz_configuration] = _get_ptz_configuration(ptz) unless ptz.nil?
|
|
39
39
|
profile[:metadata_configuration] = _get_metadata_configuration(metadata) unless metadata.nil?
|
|
40
40
|
callback cb, success, profile
|
|
@@ -30,7 +30,7 @@ module ONVIF
|
|
|
30
30
|
success_result[:audio_source_configuration] = _get_audio_source_configuration(audio_source) unless audio_source.nil?
|
|
31
31
|
success_result[:video_encoder_configuration] = _get_video_encoder_configuration(video_encoder) unless video_encoder.nil?
|
|
32
32
|
success_result[:audio_encoder_configuration] = _get_audio_encoder_configuration(audio_encoder) unless audio_encoder.nil?
|
|
33
|
-
success_result[:video_analytics_configuration] = _get_video_analytics_configuration(video_analytics) unless video_analytics.nil?
|
|
33
|
+
#success_result[:video_analytics_configuration] = _get_video_analytics_configuration(video_analytics) unless video_analytics.nil?
|
|
34
34
|
#success_result[:ptz_configuration] = _get_ptz_configuration(ptz) unless ptz.nil?
|
|
35
35
|
success_result[:metadata_configuration] = _get_metadata_configuration(metadata) unless metadata.nil?
|
|
36
36
|
profiles << success_result
|
|
@@ -27,6 +27,7 @@ module ONVIF
|
|
|
27
27
|
wsse.credentials(username, password)
|
|
28
28
|
wsse.created_at = Time.now
|
|
29
29
|
wsse.to_xml
|
|
30
|
+
%Q{<wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:UsernameToken wsu:Id="UsernameToken-31"><wsse:Username>#{username}</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">#{password}</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">vwqgTTRK/D2IeOTP76JHBw==</wsse:Nonce><wsu:Created>2013-08-06T10:22:17.028Z</wsu:Created></wsse:UsernameToken></wsse:Security>}
|
|
30
31
|
end
|
|
31
32
|
|
|
32
33
|
def to_s
|
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.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jimxl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-08-
|
|
11
|
+
date: 2013-08-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: em_ws_discovery
|