ruby-onvif-client
ruby-onvif-client copied to clipboard
Fixes GetStreamUriRequest, log_switch
Hello! I have two minor improvements.
- log_switch 1.0 introduced breaking changes, so I've pinned the gemspec on 0.4 (the last working version).
- In trying to get stream URIs from some Avigilon devices, I noticed a discrepency between this gem and the ONVIF spec.
- The Media Service Spec (pdf) uses
StreamType
instead ofStream
for theStreamSetup
element of aGetStreamUriRequest
. - Sending an empty
Tunnel
element actually breaks the request. So my changes omit that element if it has no contents.
- The Media Service Spec (pdf) uses
Thanks!