ruby-onvif-client icon indicating copy to clipboard operation
ruby-onvif-client copied to clipboard

Fixes GetStreamUriRequest, log_switch

Open abscondment opened this issue 10 years ago • 0 comments

Hello! I have two minor improvements.

  1. log_switch 1.0 introduced breaking changes, so I've pinned the gemspec on 0.4 (the last working version).
  2. 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 of Stream for the StreamSetup element of a GetStreamUriRequest.
    • Sending an empty Tunnel element actually breaks the request. So my changes omit that element if it has no contents.

Thanks!

abscondment avatar Nov 18 '14 19:11 abscondment