From d2e83d197d7b47168b4a39849cb5f56e7f901c96 Mon Sep 17 00:00:00 2001 From: Toby Date: Thu, 2 Jun 2016 10:51:41 +1000 Subject: [PATCH 01/11] Improve Docker build; reduce image size & layer count Reducing layer count improves Docker performance, and is best-practice. Avoid packing & sending .git tree into Docker build system. Clean up apt archives to reduce image size. --- .dockerignore | 1 + Dockerfile | 23 +++++++---------------- utils/docker/start.sh | 0 3 files changed, 8 insertions(+), 16 deletions(-) create mode 100644 .dockerignore mode change 100644 => 100755 utils/docker/start.sh diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..6b8710a71 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.git diff --git a/Dockerfile b/Dockerfile index 26df17d2b..558e0404f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,9 @@ FROM ubuntu:trusty MAINTAINER Kyle Johnson -# Let the container know that there is no tty -ENV DEBIAN_FRONTEND noninteractive - # Resynchronize the package index files -RUN apt-get update && apt-get install -y \ +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y \ libpolkit-gobject-1-dev build-essential libmysqlclient-dev libssl-dev libbz2-dev libpcre3-dev \ libdbi-perl libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl libmime-perl libpcre3 \ libwww-perl libdbd-mysql-perl libsys-mmap-perl yasm cmake libjpeg-turbo8-dev \ @@ -16,7 +14,8 @@ RUN apt-get update && apt-get install -y \ mysql-server libvlc-dev libvlc5 libvlccore-dev libvlccore7 vlc-data libcurl4-openssl-dev \ libavformat-dev libswscale-dev libavutil-dev libavcodec-dev libavfilter-dev \ libavresample-dev libavdevice-dev libpostproc-dev libv4l-dev libtool libnetpbm10-dev \ - libmime-lite-perl dh-autoreconf dpatch + libmime-lite-perl dh-autoreconf dpatch \ + && apt-get clean # Copy local code into our container ADD . /ZoneMinder @@ -31,11 +30,8 @@ WORKDIR /ZoneMinder #RUN ./configure --with-libarch=lib/$DEB_HOST_GNU_TYPE --disable-debug --host=$DEB_HOST_GNU_TYPE --build=$DEB_BUILD_GNU_TYPE --with-mysql=/usr --with-webdir=/var/www/zm --with-ffmpeg=/usr --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --enable-mmap=yes --enable-onvif ZM_SSL_LIB=openssl ZM_DB_USER=zm ZM_DB_PASS=zm RUN cmake . -# Build ZoneMinder -RUN make - -# Install ZoneMinder -RUN make install +# Build & install ZoneMinder +RUN make && make install # ensure writable folders RUN ./zmlinkcontent.sh @@ -43,10 +39,6 @@ RUN ./zmlinkcontent.sh # Adding the start script ADD utils/docker/start.sh /tmp/start.sh -# Ensure we can run this -# TODO - Files ADD'ed have 755 already...why do we need this? -RUN chmod 755 /tmp/start.sh - # give files in /usr/local/share/zoneminder/ RUN chown -R www-data:www-data /usr/local/share/zoneminder/ @@ -65,7 +57,6 @@ RUN useradd -m -s /bin/bash -G sudo zoneminder RUN echo 'zoneminder:zoneminder' | chpasswd # Expose ssh and http ports -EXPOSE 80 -EXPOSE 22 +EXPOSE 22 80 CMD "/tmp/start.sh" diff --git a/utils/docker/start.sh b/utils/docker/start.sh old mode 100644 new mode 100755 From 6a097393baa03df28b35fd784eb9717e611a2f3d Mon Sep 17 00:00:00 2001 From: Toby Date: Thu, 2 Jun 2016 12:06:21 +1000 Subject: [PATCH 02/11] Run Docker db/apache setup once, not on every startup; kill mysql cleanly --- Dockerfile | 6 +++++- utils/docker/setup.sh | 40 ++++++++++++++++++++++++++++++++++++++++ utils/docker/start.sh | 27 ++++++++++++++------------- 3 files changed, 59 insertions(+), 14 deletions(-) create mode 100755 utils/docker/setup.sh diff --git a/Dockerfile b/Dockerfile index 558e0404f..837a6d4ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,4 +59,8 @@ RUN echo 'zoneminder:zoneminder' | chpasswd # Expose ssh and http ports EXPOSE 22 80 -CMD "/tmp/start.sh" +# Initial database and apache setup: +RUN "/ZoneMinder/utils/docker/setup.sh" + +CMD ["/ZoneMinder/utils/docker/start.sh"] + diff --git a/utils/docker/setup.sh b/utils/docker/setup.sh new file mode 100755 index 000000000..fbd3592f0 --- /dev/null +++ b/utils/docker/setup.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +# Start MySQL +/usr/bin/mysqld_safe & + +# Give MySQL time to wake up +SECONDS_LEFT=120 +while true; do + sleep 1 + mysqladmin ping + if [ $? -eq 0 ];then + break; # Success + fi + let SECONDS_LEFT=SECONDS_LEFT-1 + + # If we have waited >120 seconds, give up + # ZM should never have a database that large! + # if $COUNTER -lt 120 + if [ $SECONDS_LEFT -eq 0 ];then + return -1; + fi +done + +# Create the ZoneMinder database +mysql -u root < db/zm_create.sql + +# Add the ZoneMinder DB user +mysql -u root -e "grant insert,select,update,delete,lock tables,alter on zm.* to 'zmuser'@'localhost' identified by 'zmpass';" + +# Activate CGI +a2enmod cgi + +# Activate modrewrite +a2enmod rewrite + +# Shut down mysql cleanly: +kill $(cat /var/run/mysqld/mysqld.pid) +sleep 5 + +exit 0 diff --git a/utils/docker/start.sh b/utils/docker/start.sh index 0772f7b9b..c32f09783 100755 --- a/utils/docker/start.sh +++ b/utils/docker/start.sh @@ -9,6 +9,9 @@ mount -t tmpfs -o rw,nosuid,nodev,noexec,relatime,size=512M tmpfs /dev/shm # Start MySQL /usr/bin/mysqld_safe & +# Ensure we shut down mysql cleanly later: +trap close_mysql SIGTERM + # Give MySQL time to wake up SECONDS_LEFT=120 while true; do @@ -27,18 +30,6 @@ while true; do fi done -# Create the ZoneMinder database -mysql -u root < db/zm_create.sql - -# Add the ZoneMinder DB user -mysql -u root -e "grant insert,select,update,delete,lock tables,alter on zm.* to 'zmuser'@'localhost' identified by 'zmpass';" - -# Activate CGI -a2enmod cgi - -# Activate modrewrite -a2enmod rewrite - # Restart apache service apache2 restart @@ -46,4 +37,14 @@ service apache2 restart /usr/local/bin/zmpkg.pl start # Start SSHD -/usr/sbin/sshd -D +/usr/sbin/sshd + +while : +do + sleep 3600 +done + +function close_mysql { + kill $(cat /var/run/mysqld/mysqld.pid) + sleep 5 +} From 6129732e613f74c8013a9cb22f1fb1d1b27724cc Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 11 Jul 2016 08:01:43 -0400 Subject: [PATCH 03/11] restore the behaviour where the generated file names are printed to stdout. --- scripts/zmvideo.pl.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/zmvideo.pl.in b/scripts/zmvideo.pl.in index 754213af6..a47685033 100644 --- a/scripts/zmvideo.pl.in +++ b/scripts/zmvideo.pl.in @@ -222,6 +222,7 @@ foreach my $event_id ( @event_ids ) { my $video_file = $Event->GenerateVideo( $rate, $fps, $scale, $size, $overwrite, $format ); if ( $video_file ) { push @video_files, $video_file; + print( STDOUT $video_file."\n" ); } } # end foreach event_id @@ -253,9 +254,6 @@ if ( $concat_name ) { Error( "Unable to generate video, check /ffmpeg.log for details"); exit(-1); } - + print( STDOUT $video_file."\n" ); } -#unlink $input_file_list; -#print( STDOUT $event->{MonitorId}.'/'.$event->{Id}.'/'.$video_file."\n" ); -#print( STDOUT $video_file."\n" ); exit( 0 ); From 85c03772801285e0a52fb2fb5a862133c79d0b20 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 12 Jul 2016 14:21:54 -0400 Subject: [PATCH 04/11] When generating video, zmvideo.pl now returns the file path to the video file so don't append eventPath to it --- scripts/zmfilter.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmfilter.pl.in b/scripts/zmfilter.pl.in index a101edf3a..d8569e63b 100755 --- a/scripts/zmfilter.pl.in +++ b/scripts/zmfilter.pl.in @@ -414,7 +414,7 @@ sub generateVideo or Fatal( "Can't execute '$sql': ".$sth->errstr() ); if ( wantarray() ) { - return( $format, sprintf( "%s/%s", getEventPath( $event ), $output ) ); + return( $format, $output ); } } return( 1 ); From f1acc52913f0b70f3e2dd1a649d61fb23dbbf836 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Thu, 14 Jul 2016 00:30:39 +1000 Subject: [PATCH 05/11] spellcheck/codespell --- docs/faq.rst | 2 +- docs/installationguide/redhat.rst | 2 +- onvif/proxy/lib/ONVIF/Analytics/Elements/MetadataStream.pm | 6 +++--- .../Analytics/Interfaces/Analytics/AnalyticsEnginePort.pm | 2 +- .../ONVIF/Analytics/Interfaces/Analytics/RuleEnginePort.pm | 2 +- onvif/proxy/lib/ONVIF/Analytics/Types/ColorOptions.pm | 2 +- .../proxy/lib/ONVIF/Analytics/Types/ConfigurationEntity.pm | 2 +- onvif/proxy/lib/ONVIF/Analytics/Types/MetadataStream.pm | 6 +++--- onvif/proxy/lib/ONVIF/Analytics/Types/OSDColorOptions.pm | 2 +- .../lib/ONVIF/Analytics/Types/OSDConfigurationOptions.pm | 4 ++-- onvif/proxy/lib/ONVIF/Analytics/Types/OSDTextOptions.pm | 4 ++-- .../lib/ONVIF/Analytics/Types/PTZPresetTourPresetDetail.pm | 2 +- onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourSpot.pm | 2 +- .../proxy/lib/ONVIF/Analytics/Types/PTZPresetTourStatus.pm | 2 +- onvif/proxy/lib/ONVIF/Analytics/Types/PTZStream.pm | 2 +- onvif/proxy/lib/ONVIF/Analytics/Types/PresetTour.pm | 4 ++-- .../proxy/lib/ONVIF/Analytics/Types/VideoAnalyticsStream.pm | 2 +- onvif/proxy/lib/ONVIF/Device/Elements/MetadataStream.pm | 6 +++--- .../proxy/lib/ONVIF/Device/Interfaces/Device/DevicePort.pm | 6 +++--- onvif/proxy/lib/ONVIF/Device/Types/ColorOptions.pm | 2 +- onvif/proxy/lib/ONVIF/Device/Types/ConfigurationEntity.pm | 2 +- onvif/proxy/lib/ONVIF/Device/Types/MetadataStream.pm | 6 +++--- onvif/proxy/lib/ONVIF/Device/Types/OSDColorOptions.pm | 2 +- .../proxy/lib/ONVIF/Device/Types/OSDConfigurationOptions.pm | 4 ++-- onvif/proxy/lib/ONVIF/Device/Types/OSDTextOptions.pm | 4 ++-- .../lib/ONVIF/Device/Types/PTZPresetTourPresetDetail.pm | 2 +- onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourSpot.pm | 2 +- onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourStatus.pm | 2 +- onvif/proxy/lib/ONVIF/Device/Types/PTZStream.pm | 2 +- onvif/proxy/lib/ONVIF/Device/Types/PresetTour.pm | 4 ++-- onvif/proxy/lib/ONVIF/Device/Types/VideoAnalyticsStream.pm | 2 +- .../proxy/lib/ONVIF/Media/Elements/GetOSDOptionsResponse.pm | 4 ++-- onvif/proxy/lib/ONVIF/Media/Elements/MetadataStream.pm | 6 +++--- onvif/proxy/lib/ONVIF/Media/Interfaces/Media/MediaPort.pm | 2 +- onvif/proxy/lib/ONVIF/Media/Types/ColorOptions.pm | 2 +- onvif/proxy/lib/ONVIF/Media/Types/ConfigurationEntity.pm | 2 +- onvif/proxy/lib/ONVIF/Media/Types/MetadataStream.pm | 6 +++--- onvif/proxy/lib/ONVIF/Media/Types/OSDColorOptions.pm | 2 +- .../proxy/lib/ONVIF/Media/Types/OSDConfigurationOptions.pm | 4 ++-- onvif/proxy/lib/ONVIF/Media/Types/OSDTextOptions.pm | 4 ++-- .../lib/ONVIF/Media/Types/PTZPresetTourPresetDetail.pm | 2 +- onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourSpot.pm | 2 +- onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourStatus.pm | 2 +- onvif/proxy/lib/ONVIF/Media/Types/PTZStream.pm | 2 +- onvif/proxy/lib/ONVIF/Media/Types/PresetTour.pm | 4 ++-- onvif/proxy/lib/ONVIF/Media/Types/VideoAnalyticsStream.pm | 2 +- onvif/proxy/lib/ONVIF/PTZ/Elements/GetPresetTourResponse.pm | 4 ++-- .../proxy/lib/ONVIF/PTZ/Elements/GetPresetToursResponse.pm | 4 ++-- onvif/proxy/lib/ONVIF/PTZ/Elements/MetadataStream.pm | 6 +++--- onvif/proxy/lib/ONVIF/PTZ/Elements/ModifyPresetTour.pm | 4 ++-- onvif/proxy/lib/ONVIF/PTZ/Interfaces/PTZ/PTZPort.pm | 6 +++--- onvif/proxy/lib/ONVIF/PTZ/Types/ColorOptions.pm | 2 +- onvif/proxy/lib/ONVIF/PTZ/Types/ConfigurationEntity.pm | 2 +- onvif/proxy/lib/ONVIF/PTZ/Types/MetadataStream.pm | 6 +++--- onvif/proxy/lib/ONVIF/PTZ/Types/OSDColorOptions.pm | 2 +- onvif/proxy/lib/ONVIF/PTZ/Types/OSDConfigurationOptions.pm | 4 ++-- onvif/proxy/lib/ONVIF/PTZ/Types/OSDTextOptions.pm | 4 ++-- .../proxy/lib/ONVIF/PTZ/Types/PTZPresetTourPresetDetail.pm | 2 +- onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourSpot.pm | 2 +- onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourStatus.pm | 2 +- onvif/proxy/lib/ONVIF/PTZ/Types/PTZStream.pm | 2 +- onvif/proxy/lib/ONVIF/PTZ/Types/PresetTour.pm | 4 ++-- onvif/proxy/lib/ONVIF/PTZ/Types/VideoAnalyticsStream.pm | 2 +- .../WSDiscovery10/Interfaces/WSDiscovery/WSDiscoveryPort.pm | 2 +- .../WSBaseNotificationSender/NotificationProducerPort.pm | 2 +- .../WSBaseNotificationSender/SubscriptionManagerPort.pm | 2 +- src/zm_image.cpp | 2 +- 67 files changed, 103 insertions(+), 103 deletions(-) diff --git a/docs/faq.rst b/docs/faq.rst index 1c5c36d09..29f026be2 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -698,7 +698,7 @@ Now go to http://zoneminder_IP/ and stop the ZM service. Continue to http://zon I upgraded by distribution and ZM stopped working ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Some possibilties (Incomplete list and subject to correction) +Some possibilities (Incomplete list and subject to correction) ``[[/usr/local/bin/zmfix: /usr/lib/libmysqlclient.so.15: version `MYSQL_5.0' not found (required by /usr/local/bin/zmfix)]]`` :: Solution: Recompile and reinstall Zoneminder. Any time you update a major version that ZoneMinder depends on, you need to recompile ZoneMinder. diff --git a/docs/installationguide/redhat.rst b/docs/installationguide/redhat.rst index e15d58aa7..e6b506ac5 100644 --- a/docs/installationguide/redhat.rst +++ b/docs/installationguide/redhat.rst @@ -32,7 +32,7 @@ Zmrepo supports the two most recent, major releases of each Redhat based distro. The following notes are based on real problems which have occurred: -- Zmrepo assumes you have installed the underlying distrubution **using the official installation media for that distro**. Third party "Spins" are not supported and may not work correctly. +- Zmrepo assumes you have installed the underlying distribution **using the official installation media for that distro**. Third party "Spins" are not supported and may not work correctly. - ZoneMinder is intended to be installed in an environment dedicated to ZoneMinder. While ZoneMinder will play well with many applications, some invariably will not. Asterisk is one such example. diff --git a/onvif/proxy/lib/ONVIF/Analytics/Elements/MetadataStream.pm b/onvif/proxy/lib/ONVIF/Analytics/Elements/MetadataStream.pm index eb0831001..43d49bfa0 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Elements/MetadataStream.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Elements/MetadataStream.pm @@ -49,10 +49,10 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Analytics::Types::MetadataStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... VideoAnalytics => { # ONVIF::Analytics::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::Analytics::Types::Frame PTZStatus => { # ONVIF::Analytics::Types::PTZStatus Position => { # ONVIF::Analytics::Types::PTZVector @@ -155,7 +155,7 @@ Constructor. The following data structure may be passed to new(): }, PTZ => { # ONVIF::Analytics::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::Analytics::Types::PTZStatus Position => { # ONVIF::Analytics::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/Analytics/Interfaces/Analytics/AnalyticsEnginePort.pm b/onvif/proxy/lib/ONVIF/Analytics/Interfaces/Analytics/AnalyticsEnginePort.pm index 481d254ce..8baac1067 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Interfaces/Analytics/AnalyticsEnginePort.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Interfaces/Analytics/AnalyticsEnginePort.pm @@ -235,7 +235,7 @@ of the corresponding class can be passed instead of the marked hash ref. You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure. -List items (i.e. multiple occurences) are not displayed in the synopsis. +List items (i.e. multiple occurrences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position. diff --git a/onvif/proxy/lib/ONVIF/Analytics/Interfaces/Analytics/RuleEnginePort.pm b/onvif/proxy/lib/ONVIF/Analytics/Interfaces/Analytics/RuleEnginePort.pm index 835e119ff..79a1b8b85 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Interfaces/Analytics/RuleEnginePort.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Interfaces/Analytics/RuleEnginePort.pm @@ -208,7 +208,7 @@ of the corresponding class can be passed instead of the marked hash ref. You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure. -List items (i.e. multiple occurences) are not displayed in the synopsis. +List items (i.e. multiple occurrences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position. diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/ColorOptions.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/ColorOptions.pm index eaf6fea9f..d586d80ed 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/ColorOptions.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/ColorOptions.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Analytics::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Analytics::Types::ColorspaceRange X => { # ONVIF::Analytics::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/ConfigurationEntity.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/ConfigurationEntity.pm index 8e544d6a6..5bcc84214 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/ConfigurationEntity.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/ConfigurationEntity.pm @@ -139,7 +139,7 @@ get_/set_ methods: =item * token - Token that uniquely refernces this configuration. Length up to 64 characters. + Token that uniquely references this configuration. Length up to 64 characters. diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/MetadataStream.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/MetadataStream.pm index d8000cf7b..edfc77e61 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/MetadataStream.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/MetadataStream.pm @@ -114,10 +114,10 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Analytics::Types::MetadataStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... VideoAnalytics => { # ONVIF::Analytics::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::Analytics::Types::Frame PTZStatus => { # ONVIF::Analytics::Types::PTZStatus Position => { # ONVIF::Analytics::Types::PTZVector @@ -220,7 +220,7 @@ Constructor. The following data structure may be passed to new(): }, PTZ => { # ONVIF::Analytics::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::Analytics::Types::PTZStatus Position => { # ONVIF::Analytics::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/OSDColorOptions.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/OSDColorOptions.pm index f39a8d84c..409bcde78 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/OSDColorOptions.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/OSDColorOptions.pm @@ -107,7 +107,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Analytics::Types::OSDColorOptions Color => { # ONVIF::Analytics::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Analytics::Types::ColorspaceRange X => { # ONVIF::Analytics::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/OSDConfigurationOptions.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/OSDConfigurationOptions.pm index 105d52097..b75c1ce12 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/OSDConfigurationOptions.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/OSDConfigurationOptions.pm @@ -143,7 +143,7 @@ Constructor. The following data structure may be passed to new(): FontColor => { # ONVIF::Analytics::Types::OSDColorOptions Color => { # ONVIF::Analytics::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Analytics::Types::ColorspaceRange X => { # ONVIF::Analytics::Types::FloatRange @@ -171,7 +171,7 @@ Constructor. The following data structure may be passed to new(): BackgroundColor => { # ONVIF::Analytics::Types::OSDColorOptions Color => { # ONVIF::Analytics::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Analytics::Types::ColorspaceRange X => { # ONVIF::Analytics::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/OSDTextOptions.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/OSDTextOptions.pm index 533602ffe..d2d129bf5 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/OSDTextOptions.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/OSDTextOptions.pm @@ -147,7 +147,7 @@ Constructor. The following data structure may be passed to new(): FontColor => { # ONVIF::Analytics::Types::OSDColorOptions Color => { # ONVIF::Analytics::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Analytics::Types::ColorspaceRange X => { # ONVIF::Analytics::Types::FloatRange @@ -175,7 +175,7 @@ Constructor. The following data structure may be passed to new(): BackgroundColor => { # ONVIF::Analytics::Types::OSDColorOptions Color => { # ONVIF::Analytics::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Analytics::Types::ColorspaceRange X => { # ONVIF::Analytics::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourPresetDetail.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourPresetDetail.pm index f8e0c4128..a513a522c 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourPresetDetail.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourPresetDetail.pm @@ -114,7 +114,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Analytics::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Analytics::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourSpot.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourSpot.pm index d7cdb6d61..558a9ee7f 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourSpot.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourSpot.pm @@ -115,7 +115,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Analytics::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Analytics::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Analytics::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourStatus.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourStatus.pm index 2058e86f7..246191893 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourStatus.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/PTZPresetTourStatus.pm @@ -109,7 +109,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::Analytics::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Analytics::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Analytics::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/PTZStream.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/PTZStream.pm index a717d6a1c..218ae3b8d 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/PTZStream.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/PTZStream.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Analytics::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::Analytics::Types::PTZStatus Position => { # ONVIF::Analytics::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/PresetTour.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/PresetTour.pm index e084452c2..868f814db 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/PresetTour.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/PresetTour.pm @@ -155,7 +155,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::Analytics::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Analytics::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Analytics::Types::PTZVector @@ -187,7 +187,7 @@ Constructor. The following data structure may be passed to new(): TourSpot => { # ONVIF::Analytics::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Analytics::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Analytics::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Analytics/Types/VideoAnalyticsStream.pm b/onvif/proxy/lib/ONVIF/Analytics/Types/VideoAnalyticsStream.pm index d5cadba4f..4a3904992 100644 --- a/onvif/proxy/lib/ONVIF/Analytics/Types/VideoAnalyticsStream.pm +++ b/onvif/proxy/lib/ONVIF/Analytics/Types/VideoAnalyticsStream.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Analytics::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::Analytics::Types::Frame PTZStatus => { # ONVIF::Analytics::Types::PTZStatus Position => { # ONVIF::Analytics::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Device/Elements/MetadataStream.pm b/onvif/proxy/lib/ONVIF/Device/Elements/MetadataStream.pm index e3266ba63..86a5d42f8 100644 --- a/onvif/proxy/lib/ONVIF/Device/Elements/MetadataStream.pm +++ b/onvif/proxy/lib/ONVIF/Device/Elements/MetadataStream.pm @@ -49,10 +49,10 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Device::Types::MetadataStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... VideoAnalytics => { # ONVIF::Device::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::Device::Types::Frame PTZStatus => { # ONVIF::Device::Types::PTZStatus Position => { # ONVIF::Device::Types::PTZVector @@ -155,7 +155,7 @@ Constructor. The following data structure may be passed to new(): }, PTZ => { # ONVIF::Device::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::Device::Types::PTZStatus Position => { # ONVIF::Device::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/Device/Interfaces/Device/DevicePort.pm b/onvif/proxy/lib/ONVIF/Device/Interfaces/Device/DevicePort.pm index 4e158d590..35f259f31 100644 --- a/onvif/proxy/lib/ONVIF/Device/Interfaces/Device/DevicePort.pm +++ b/onvif/proxy/lib/ONVIF/Device/Interfaces/Device/DevicePort.pm @@ -2205,7 +2205,7 @@ of the corresponding class can be passed instead of the marked hash ref. You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure. -List items (i.e. multiple occurences) are not displayed in the synopsis. +List items (i.e. multiple occurrences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position. @@ -2358,7 +2358,7 @@ Returns a L object. @@ -2602,7 +2602,7 @@ Returns a L object. diff --git a/onvif/proxy/lib/ONVIF/Device/Types/ColorOptions.pm b/onvif/proxy/lib/ONVIF/Device/Types/ColorOptions.pm index 6e99583d0..6c12db1e8 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/ColorOptions.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/ColorOptions.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Device::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Device::Types::ColorspaceRange X => { # ONVIF::Device::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Device/Types/ConfigurationEntity.pm b/onvif/proxy/lib/ONVIF/Device/Types/ConfigurationEntity.pm index 240e5800c..b79d6791a 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/ConfigurationEntity.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/ConfigurationEntity.pm @@ -139,7 +139,7 @@ get_/set_ methods: =item * token - Token that uniquely refernces this configuration. Length up to 64 characters. + Token that uniquely references this configuration. Length up to 64 characters. diff --git a/onvif/proxy/lib/ONVIF/Device/Types/MetadataStream.pm b/onvif/proxy/lib/ONVIF/Device/Types/MetadataStream.pm index a52bd1097..e5140786c 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/MetadataStream.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/MetadataStream.pm @@ -114,10 +114,10 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Device::Types::MetadataStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... VideoAnalytics => { # ONVIF::Device::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::Device::Types::Frame PTZStatus => { # ONVIF::Device::Types::PTZStatus Position => { # ONVIF::Device::Types::PTZVector @@ -220,7 +220,7 @@ Constructor. The following data structure may be passed to new(): }, PTZ => { # ONVIF::Device::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::Device::Types::PTZStatus Position => { # ONVIF::Device::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/Device/Types/OSDColorOptions.pm b/onvif/proxy/lib/ONVIF/Device/Types/OSDColorOptions.pm index 453eee12b..6b71ec3c8 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/OSDColorOptions.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/OSDColorOptions.pm @@ -107,7 +107,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Device::Types::OSDColorOptions Color => { # ONVIF::Device::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Device::Types::ColorspaceRange X => { # ONVIF::Device::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Device/Types/OSDConfigurationOptions.pm b/onvif/proxy/lib/ONVIF/Device/Types/OSDConfigurationOptions.pm index ebad78c4d..d40c0f4ab 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/OSDConfigurationOptions.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/OSDConfigurationOptions.pm @@ -143,7 +143,7 @@ Constructor. The following data structure may be passed to new(): FontColor => { # ONVIF::Device::Types::OSDColorOptions Color => { # ONVIF::Device::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Device::Types::ColorspaceRange X => { # ONVIF::Device::Types::FloatRange @@ -171,7 +171,7 @@ Constructor. The following data structure may be passed to new(): BackgroundColor => { # ONVIF::Device::Types::OSDColorOptions Color => { # ONVIF::Device::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Device::Types::ColorspaceRange X => { # ONVIF::Device::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Device/Types/OSDTextOptions.pm b/onvif/proxy/lib/ONVIF/Device/Types/OSDTextOptions.pm index 2247a07c3..69b276cd5 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/OSDTextOptions.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/OSDTextOptions.pm @@ -147,7 +147,7 @@ Constructor. The following data structure may be passed to new(): FontColor => { # ONVIF::Device::Types::OSDColorOptions Color => { # ONVIF::Device::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Device::Types::ColorspaceRange X => { # ONVIF::Device::Types::FloatRange @@ -175,7 +175,7 @@ Constructor. The following data structure may be passed to new(): BackgroundColor => { # ONVIF::Device::Types::OSDColorOptions Color => { # ONVIF::Device::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Device::Types::ColorspaceRange X => { # ONVIF::Device::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourPresetDetail.pm b/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourPresetDetail.pm index bcbd21e7a..5e48bc31d 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourPresetDetail.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourPresetDetail.pm @@ -114,7 +114,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Device::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Device::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourSpot.pm b/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourSpot.pm index 9c97d1759..2b3aaacaa 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourSpot.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourSpot.pm @@ -115,7 +115,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Device::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Device::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Device::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourStatus.pm b/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourStatus.pm index 778a94475..9ac897ad4 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourStatus.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/PTZPresetTourStatus.pm @@ -109,7 +109,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::Device::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Device::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Device::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Device/Types/PTZStream.pm b/onvif/proxy/lib/ONVIF/Device/Types/PTZStream.pm index cf05d13b2..7e2d61529 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/PTZStream.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/PTZStream.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Device::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::Device::Types::PTZStatus Position => { # ONVIF::Device::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/Device/Types/PresetTour.pm b/onvif/proxy/lib/ONVIF/Device/Types/PresetTour.pm index 68d6b55a5..ca997cabb 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/PresetTour.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/PresetTour.pm @@ -155,7 +155,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::Device::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Device::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Device::Types::PTZVector @@ -187,7 +187,7 @@ Constructor. The following data structure may be passed to new(): TourSpot => { # ONVIF::Device::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Device::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Device::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Device/Types/VideoAnalyticsStream.pm b/onvif/proxy/lib/ONVIF/Device/Types/VideoAnalyticsStream.pm index dc5ccb55a..e19d3822b 100644 --- a/onvif/proxy/lib/ONVIF/Device/Types/VideoAnalyticsStream.pm +++ b/onvif/proxy/lib/ONVIF/Device/Types/VideoAnalyticsStream.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Device::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::Device::Types::Frame PTZStatus => { # ONVIF::Device::Types::PTZStatus Position => { # ONVIF::Device::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Media/Elements/GetOSDOptionsResponse.pm b/onvif/proxy/lib/ONVIF/Media/Elements/GetOSDOptionsResponse.pm index 0a2be2bfa..fa3b7ca9d 100644 --- a/onvif/proxy/lib/ONVIF/Media/Elements/GetOSDOptionsResponse.pm +++ b/onvif/proxy/lib/ONVIF/Media/Elements/GetOSDOptionsResponse.pm @@ -125,7 +125,7 @@ Constructor. The following data structure may be passed to new(): FontColor => { # ONVIF::Media::Types::OSDColorOptions Color => { # ONVIF::Media::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange X => { # ONVIF::Media::Types::FloatRange @@ -153,7 +153,7 @@ Constructor. The following data structure may be passed to new(): BackgroundColor => { # ONVIF::Media::Types::OSDColorOptions Color => { # ONVIF::Media::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange X => { # ONVIF::Media::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Media/Elements/MetadataStream.pm b/onvif/proxy/lib/ONVIF/Media/Elements/MetadataStream.pm index d44f6fe89..26a53e88a 100644 --- a/onvif/proxy/lib/ONVIF/Media/Elements/MetadataStream.pm +++ b/onvif/proxy/lib/ONVIF/Media/Elements/MetadataStream.pm @@ -49,10 +49,10 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Media::Types::MetadataStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... VideoAnalytics => { # ONVIF::Media::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::Media::Types::Frame PTZStatus => { # ONVIF::Media::Types::PTZStatus Position => { # ONVIF::Media::Types::PTZVector @@ -155,7 +155,7 @@ Constructor. The following data structure may be passed to new(): }, PTZ => { # ONVIF::Media::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::Media::Types::PTZStatus Position => { # ONVIF::Media::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/Media/Interfaces/Media/MediaPort.pm b/onvif/proxy/lib/ONVIF/Media/Interfaces/Media/MediaPort.pm index e7351e5f1..ecb985b30 100644 --- a/onvif/proxy/lib/ONVIF/Media/Interfaces/Media/MediaPort.pm +++ b/onvif/proxy/lib/ONVIF/Media/Interfaces/Media/MediaPort.pm @@ -2127,7 +2127,7 @@ of the corresponding class can be passed instead of the marked hash ref. You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure. -List items (i.e. multiple occurences) are not displayed in the synopsis. +List items (i.e. multiple occurrences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position. diff --git a/onvif/proxy/lib/ONVIF/Media/Types/ColorOptions.pm b/onvif/proxy/lib/ONVIF/Media/Types/ColorOptions.pm index 138cffec9..da35e97e4 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/ColorOptions.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/ColorOptions.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Media::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange X => { # ONVIF::Media::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Media/Types/ConfigurationEntity.pm b/onvif/proxy/lib/ONVIF/Media/Types/ConfigurationEntity.pm index 937f568c5..594a0913b 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/ConfigurationEntity.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/ConfigurationEntity.pm @@ -139,7 +139,7 @@ get_/set_ methods: =item * token - Token that uniquely refernces this configuration. Length up to 64 characters. + Token that uniquely references this configuration. Length up to 64 characters. diff --git a/onvif/proxy/lib/ONVIF/Media/Types/MetadataStream.pm b/onvif/proxy/lib/ONVIF/Media/Types/MetadataStream.pm index 8cea2dd99..983f5f72e 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/MetadataStream.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/MetadataStream.pm @@ -114,10 +114,10 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Media::Types::MetadataStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... VideoAnalytics => { # ONVIF::Media::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::Media::Types::Frame PTZStatus => { # ONVIF::Media::Types::PTZStatus Position => { # ONVIF::Media::Types::PTZVector @@ -220,7 +220,7 @@ Constructor. The following data structure may be passed to new(): }, PTZ => { # ONVIF::Media::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::Media::Types::PTZStatus Position => { # ONVIF::Media::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/Media/Types/OSDColorOptions.pm b/onvif/proxy/lib/ONVIF/Media/Types/OSDColorOptions.pm index d356f24cc..7f459a809 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/OSDColorOptions.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/OSDColorOptions.pm @@ -107,7 +107,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Media::Types::OSDColorOptions Color => { # ONVIF::Media::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange X => { # ONVIF::Media::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Media/Types/OSDConfigurationOptions.pm b/onvif/proxy/lib/ONVIF/Media/Types/OSDConfigurationOptions.pm index 53a2b24a9..30056dcda 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/OSDConfigurationOptions.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/OSDConfigurationOptions.pm @@ -143,7 +143,7 @@ Constructor. The following data structure may be passed to new(): FontColor => { # ONVIF::Media::Types::OSDColorOptions Color => { # ONVIF::Media::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange X => { # ONVIF::Media::Types::FloatRange @@ -171,7 +171,7 @@ Constructor. The following data structure may be passed to new(): BackgroundColor => { # ONVIF::Media::Types::OSDColorOptions Color => { # ONVIF::Media::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange X => { # ONVIF::Media::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Media/Types/OSDTextOptions.pm b/onvif/proxy/lib/ONVIF/Media/Types/OSDTextOptions.pm index a66451874..829999055 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/OSDTextOptions.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/OSDTextOptions.pm @@ -147,7 +147,7 @@ Constructor. The following data structure may be passed to new(): FontColor => { # ONVIF::Media::Types::OSDColorOptions Color => { # ONVIF::Media::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange X => { # ONVIF::Media::Types::FloatRange @@ -175,7 +175,7 @@ Constructor. The following data structure may be passed to new(): BackgroundColor => { # ONVIF::Media::Types::OSDColorOptions Color => { # ONVIF::Media::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange X => { # ONVIF::Media::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourPresetDetail.pm b/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourPresetDetail.pm index 91763bb36..db9fa8d66 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourPresetDetail.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourPresetDetail.pm @@ -114,7 +114,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Media::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Media::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourSpot.pm b/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourSpot.pm index ce2176c8a..63e7da894 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourSpot.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourSpot.pm @@ -115,7 +115,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Media::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Media::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Media::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourStatus.pm b/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourStatus.pm index f25a5ec1a..8b36c2f84 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourStatus.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/PTZPresetTourStatus.pm @@ -109,7 +109,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::Media::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Media::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Media::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Media/Types/PTZStream.pm b/onvif/proxy/lib/ONVIF/Media/Types/PTZStream.pm index bbbc55652..2386d28cb 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/PTZStream.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/PTZStream.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Media::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::Media::Types::PTZStatus Position => { # ONVIF::Media::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/Media/Types/PresetTour.pm b/onvif/proxy/lib/ONVIF/Media/Types/PresetTour.pm index 6cb9d4a7f..ed66ee1fa 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/PresetTour.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/PresetTour.pm @@ -155,7 +155,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::Media::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Media::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Media::Types::PTZVector @@ -187,7 +187,7 @@ Constructor. The following data structure may be passed to new(): TourSpot => { # ONVIF::Media::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::Media::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::Media::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/Media/Types/VideoAnalyticsStream.pm b/onvif/proxy/lib/ONVIF/Media/Types/VideoAnalyticsStream.pm index c037814ad..20a488c86 100644 --- a/onvif/proxy/lib/ONVIF/Media/Types/VideoAnalyticsStream.pm +++ b/onvif/proxy/lib/ONVIF/Media/Types/VideoAnalyticsStream.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::Media::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::Media::Types::Frame PTZStatus => { # ONVIF::Media::Types::PTZStatus Position => { # ONVIF::Media::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/PTZ/Elements/GetPresetTourResponse.pm b/onvif/proxy/lib/ONVIF/PTZ/Elements/GetPresetTourResponse.pm index 65395f766..7b5bc8dc8 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Elements/GetPresetTourResponse.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Elements/GetPresetTourResponse.pm @@ -117,7 +117,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector @@ -149,7 +149,7 @@ Constructor. The following data structure may be passed to new(): TourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/PTZ/Elements/GetPresetToursResponse.pm b/onvif/proxy/lib/ONVIF/PTZ/Elements/GetPresetToursResponse.pm index 5c16a06cb..d8f8ce639 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Elements/GetPresetToursResponse.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Elements/GetPresetToursResponse.pm @@ -117,7 +117,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector @@ -149,7 +149,7 @@ Constructor. The following data structure may be passed to new(): TourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/PTZ/Elements/MetadataStream.pm b/onvif/proxy/lib/ONVIF/PTZ/Elements/MetadataStream.pm index f355909a6..c09224497 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Elements/MetadataStream.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Elements/MetadataStream.pm @@ -49,10 +49,10 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::PTZ::Types::MetadataStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... VideoAnalytics => { # ONVIF::PTZ::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::PTZ::Types::Frame PTZStatus => { # ONVIF::PTZ::Types::PTZStatus Position => { # ONVIF::PTZ::Types::PTZVector @@ -155,7 +155,7 @@ Constructor. The following data structure may be passed to new(): }, PTZ => { # ONVIF::PTZ::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::PTZ::Types::PTZStatus Position => { # ONVIF::PTZ::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/PTZ/Elements/ModifyPresetTour.pm b/onvif/proxy/lib/ONVIF/PTZ/Elements/ModifyPresetTour.pm index 666c61a12..19eb96195 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Elements/ModifyPresetTour.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Elements/ModifyPresetTour.pm @@ -131,7 +131,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector @@ -163,7 +163,7 @@ Constructor. The following data structure may be passed to new(): TourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/PTZ/Interfaces/PTZ/PTZPort.pm b/onvif/proxy/lib/ONVIF/PTZ/Interfaces/PTZ/PTZPort.pm index 71915f701..8d42d439e 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Interfaces/PTZ/PTZPort.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Interfaces/PTZ/PTZPort.pm @@ -775,7 +775,7 @@ of the corresponding class can be passed instead of the marked hash ref. You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure. -List items (i.e. multiple occurences) are not displayed in the synopsis. +List items (i.e. multiple occurrences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position. @@ -1136,7 +1136,7 @@ Returns a L { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector @@ -1168,7 +1168,7 @@ Returns a L { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/ColorOptions.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/ColorOptions.pm index a1c6097c4..5a3354adb 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/ColorOptions.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/ColorOptions.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::PTZ::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::PTZ::Types::ColorspaceRange X => { # ONVIF::PTZ::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/ConfigurationEntity.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/ConfigurationEntity.pm index c23095ead..d619e80a3 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/ConfigurationEntity.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/ConfigurationEntity.pm @@ -139,7 +139,7 @@ get_/set_ methods: =item * token - Token that uniquely refernces this configuration. Length up to 64 characters. + Token that uniquely references this configuration. Length up to 64 characters. diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/MetadataStream.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/MetadataStream.pm index cdc6fa421..50f88d36b 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/MetadataStream.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/MetadataStream.pm @@ -114,10 +114,10 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::PTZ::Types::MetadataStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... VideoAnalytics => { # ONVIF::PTZ::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::PTZ::Types::Frame PTZStatus => { # ONVIF::PTZ::Types::PTZStatus Position => { # ONVIF::PTZ::Types::PTZVector @@ -220,7 +220,7 @@ Constructor. The following data structure may be passed to new(): }, PTZ => { # ONVIF::PTZ::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::PTZ::Types::PTZStatus Position => { # ONVIF::PTZ::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/OSDColorOptions.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/OSDColorOptions.pm index d73700380..eedf14f1a 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/OSDColorOptions.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/OSDColorOptions.pm @@ -107,7 +107,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::PTZ::Types::OSDColorOptions Color => { # ONVIF::PTZ::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::PTZ::Types::ColorspaceRange X => { # ONVIF::PTZ::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/OSDConfigurationOptions.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/OSDConfigurationOptions.pm index 80d57ab5c..a0627a1bd 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/OSDConfigurationOptions.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/OSDConfigurationOptions.pm @@ -143,7 +143,7 @@ Constructor. The following data structure may be passed to new(): FontColor => { # ONVIF::PTZ::Types::OSDColorOptions Color => { # ONVIF::PTZ::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::PTZ::Types::ColorspaceRange X => { # ONVIF::PTZ::Types::FloatRange @@ -171,7 +171,7 @@ Constructor. The following data structure may be passed to new(): BackgroundColor => { # ONVIF::PTZ::Types::OSDColorOptions Color => { # ONVIF::PTZ::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::PTZ::Types::ColorspaceRange X => { # ONVIF::PTZ::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/OSDTextOptions.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/OSDTextOptions.pm index 82660279c..3f8a7c66f 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/OSDTextOptions.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/OSDTextOptions.pm @@ -147,7 +147,7 @@ Constructor. The following data structure may be passed to new(): FontColor => { # ONVIF::PTZ::Types::OSDColorOptions Color => { # ONVIF::PTZ::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::PTZ::Types::ColorspaceRange X => { # ONVIF::PTZ::Types::FloatRange @@ -175,7 +175,7 @@ Constructor. The following data structure may be passed to new(): BackgroundColor => { # ONVIF::PTZ::Types::OSDColorOptions Color => { # ONVIF::PTZ::Types::ColorOptions # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... ColorList => , ColorspaceRange => { # ONVIF::PTZ::Types::ColorspaceRange X => { # ONVIF::PTZ::Types::FloatRange diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourPresetDetail.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourPresetDetail.pm index a29609cbc..052575b16 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourPresetDetail.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourPresetDetail.pm @@ -114,7 +114,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourSpot.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourSpot.pm index 5e5c8d01e..c88c3f660 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourSpot.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourSpot.pm @@ -115,7 +115,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourStatus.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourStatus.pm index 99e347247..d4292efa9 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourStatus.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/PTZPresetTourStatus.pm @@ -109,7 +109,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/PTZStream.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/PTZStream.pm index 0296e95b3..eca3b5557 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/PTZStream.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/PTZStream.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::PTZ::Types::PTZStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PTZStatus => { # ONVIF::PTZ::Types::PTZStatus Position => { # ONVIF::PTZ::Types::PTZVector PanTilt => , diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/PresetTour.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/PresetTour.pm index 8b61618b2..a7db2aaed 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/PresetTour.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/PresetTour.pm @@ -155,7 +155,7 @@ Constructor. The following data structure may be passed to new(): CurrentTourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector @@ -187,7 +187,7 @@ Constructor. The following data structure may be passed to new(): TourSpot => { # ONVIF::PTZ::Types::PTZPresetTourSpot PresetDetail => { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... PresetToken => $some_value, # ReferenceToken Home => $some_value, # boolean PTZPosition => { # ONVIF::PTZ::Types::PTZVector diff --git a/onvif/proxy/lib/ONVIF/PTZ/Types/VideoAnalyticsStream.pm b/onvif/proxy/lib/ONVIF/PTZ/Types/VideoAnalyticsStream.pm index d17e60a45..ff66bcf6e 100644 --- a/onvif/proxy/lib/ONVIF/PTZ/Types/VideoAnalyticsStream.pm +++ b/onvif/proxy/lib/ONVIF/PTZ/Types/VideoAnalyticsStream.pm @@ -98,7 +98,7 @@ Constructor. The following data structure may be passed to new(): { # ONVIF::PTZ::Types::VideoAnalyticsStream # One of the following elements. - # No occurance checks yet, so be sure to pass just one... + # No occurrence checks yet, so be sure to pass just one... Frame => { # ONVIF::PTZ::Types::Frame PTZStatus => { # ONVIF::PTZ::Types::PTZStatus Position => { # ONVIF::PTZ::Types::PTZVector diff --git a/onvif/proxy/lib/WSDiscovery10/Interfaces/WSDiscovery/WSDiscoveryPort.pm b/onvif/proxy/lib/WSDiscovery10/Interfaces/WSDiscovery/WSDiscoveryPort.pm index f1b6446a5..b8b6a735e 100644 --- a/onvif/proxy/lib/WSDiscovery10/Interfaces/WSDiscovery/WSDiscoveryPort.pm +++ b/onvif/proxy/lib/WSDiscovery10/Interfaces/WSDiscovery/WSDiscoveryPort.pm @@ -104,7 +104,7 @@ of the corresponding class can be passed instead of the marked hash ref. You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure. -List items (i.e. multiple occurences) are not displayed in the synopsis. +List items (i.e. multiple occurrences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position. diff --git a/onvif/proxy/lib/WSNotification/Interfaces/WSBaseNotificationSender/NotificationProducerPort.pm b/onvif/proxy/lib/WSNotification/Interfaces/WSBaseNotificationSender/NotificationProducerPort.pm index c86b26f9f..ee55035ca 100644 --- a/onvif/proxy/lib/WSNotification/Interfaces/WSBaseNotificationSender/NotificationProducerPort.pm +++ b/onvif/proxy/lib/WSNotification/Interfaces/WSBaseNotificationSender/NotificationProducerPort.pm @@ -127,7 +127,7 @@ of the corresponding class can be passed instead of the marked hash ref. You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure. -List items (i.e. multiple occurences) are not displayed in the synopsis. +List items (i.e. multiple occurrences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position. diff --git a/onvif/proxy/lib/WSNotification/Interfaces/WSBaseNotificationSender/SubscriptionManagerPort.pm b/onvif/proxy/lib/WSNotification/Interfaces/WSBaseNotificationSender/SubscriptionManagerPort.pm index a10978083..807c2ace2 100644 --- a/onvif/proxy/lib/WSNotification/Interfaces/WSBaseNotificationSender/SubscriptionManagerPort.pm +++ b/onvif/proxy/lib/WSNotification/Interfaces/WSBaseNotificationSender/SubscriptionManagerPort.pm @@ -127,7 +127,7 @@ of the corresponding class can be passed instead of the marked hash ref. You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure. -List items (i.e. multiple occurences) are not displayed in the synopsis. +List items (i.e. multiple occurrences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position. diff --git a/src/zm_image.cpp b/src/zm_image.cpp index a1f629979..8e5abe8cf 100644 --- a/src/zm_image.cpp +++ b/src/zm_image.cpp @@ -324,7 +324,7 @@ uint8_t* Image::WriteBuffer(const unsigned int p_width, const unsigned int p_hei } if(!p_height || !p_width) { - Error("WriteBuffer called with invaid width or height: %d %d",p_width,p_height); + Error("WriteBuffer called with invalid width or height: %d %d",p_width,p_height); return NULL; } From aed3c3d29a79f6bc428fbd6c9e6e7007ca48deac Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Thu, 14 Jul 2016 00:42:07 +1000 Subject: [PATCH 06/11] reduce noise on "zmupdate.pl" invocation --- scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in b/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in index 1f21b7407..d3b41afdf 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in +++ b/scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in @@ -136,7 +136,7 @@ sub loadConfigFromDB { #print( "Name = '$name'\n" ); my $option = $options_hash{$name}; if ( !$option ) { - warn( "No option '$name' found, removing" ); + warn( "No option '$name' found, removing.\n" ); next; } #next if ( $option->{category} eq 'hidden' ); From 45a62dc8d89933c856f16a76ea8496eabd40b7bf Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 23 Jul 2016 08:03:15 -0400 Subject: [PATCH 07/11] Added example of configs API edit --- docs/api.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 9546a279a..dc60c9203 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -272,7 +272,17 @@ This returns the full list of configuration parameters: Each configuration parameter has an Id, Name, Value and other fields. Chances are you are likely only going to focus on these 3. -(Example of changing config TBD) +The edit function of the Configs API is a little quirky at the Moment. Its format deviates from the usual edit flow of other APIs. This will be fixed, eventually. For now, to change the "Value" of ZM_X10_HOUSE_CODE from A to B: + +:: + + curl -XPUT http://server/zm/api/configs/edit/ZM_X10_HOUSE_CODE.json -d "Config[Value]=B" + +To validate changes have been made: + +:: + + curl -XGET http://server/zm/api/configs/view/ZM_X10_HOUSE_CODE.json Run State Apis ^^^^^^^^^^^^^^^ From dc916bba2ca87c3ee36c0c3c72c5d3e7134d5797 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 23 Jul 2016 08:04:46 -0400 Subject: [PATCH 08/11] case typo --- docs/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index dc60c9203..6d5396372 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -272,7 +272,7 @@ This returns the full list of configuration parameters: Each configuration parameter has an Id, Name, Value and other fields. Chances are you are likely only going to focus on these 3. -The edit function of the Configs API is a little quirky at the Moment. Its format deviates from the usual edit flow of other APIs. This will be fixed, eventually. For now, to change the "Value" of ZM_X10_HOUSE_CODE from A to B: +The edit function of the Configs API is a little quirky at the moment. Its format deviates from the usual edit flow of other APIs. This will be fixed, eventually. For now, to change the "Value" of ZM_X10_HOUSE_CODE from A to B: :: From 0234e8239625179e415b246cd57fc0773d456c76 Mon Sep 17 00:00:00 2001 From: Steve Gilvarry Date: Sun, 24 Jul 2016 09:26:10 +1000 Subject: [PATCH 09/11] Enable local and travis ccache --- .travis.yml | 1 + CMakeLists.txt | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 183d22e57..bb6536526 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ notifications: branches: except: - modern +cache: ccache addons: sauce_connect: username: "zoneminder" diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fb59b720..8ff812106 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -742,3 +742,9 @@ configure_file( add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake/cmake_uninstall.cmake) +# Configure CCache if available +find_program(CCACHE_FOUND ccache) +if(CCACHE_FOUND) + set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) + set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) +endif(CCACHE_FOUND) From 3c6692d0d5e4ba8a05b7d13817f3310323bc81bb Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 31 Jul 2016 07:29:37 -0500 Subject: [PATCH 10/11] RPM specfile config change fix logrotate script --- distros/redhat/zoneminder.el6.logrotate.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distros/redhat/zoneminder.el6.logrotate.in b/distros/redhat/zoneminder.el6.logrotate.in index 5b852cba7..6b8ccf5d7 100644 --- a/distros/redhat/zoneminder.el6.logrotate.in +++ b/distros/redhat/zoneminder.el6.logrotate.in @@ -3,5 +3,5 @@ weekly notifempty missingok - create 660 http http + create 660 apache apache } From 004b651d61842a7f95fa2d9815c7595c1ae876db Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sun, 31 Jul 2016 15:06:39 -0500 Subject: [PATCH 11/11] RPM specfile config change use make macros, rather than hard coded values --- distros/redhat/zoneminder.el6.logrotate.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distros/redhat/zoneminder.el6.logrotate.in b/distros/redhat/zoneminder.el6.logrotate.in index 6b8ccf5d7..daf0b908f 100644 --- a/distros/redhat/zoneminder.el6.logrotate.in +++ b/distros/redhat/zoneminder.el6.logrotate.in @@ -3,5 +3,5 @@ weekly notifempty missingok - create 660 apache apache + create 660 @WEB_USER@ @WEB_GROUP@ }