.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "ONVIF::Media::Interfaces::Media::MediaPort 3pm" .TH ONVIF::Media::Interfaces::Media::MediaPort 3pm "2022-09-24" "perl v5.32.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" ONVIF::Media::Interfaces::Media::MediaPort \- SOAP Interface for the Media Web Service .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 2 \& use ONVIF::Media::Interfaces::Media::MediaPort; \& my $interface = ONVIF::Media::Interfaces::Media::MediaPort\->new(); \& \& my $response; \& $response = $interface\->GetServiceCapabilities(); \& $response = $interface\->GetVideoSources(); \& $response = $interface\->GetAudioSources(); \& $response = $interface\->GetAudioOutputs(); \& $response = $interface\->CreateProfile(); \& $response = $interface\->GetProfile(); \& $response = $interface\->GetProfiles(); \& $response = $interface\->AddVideoEncoderConfiguration(); \& $response = $interface\->AddVideoSourceConfiguration(); \& $response = $interface\->AddAudioEncoderConfiguration(); \& $response = $interface\->AddAudioSourceConfiguration(); \& $response = $interface\->AddPTZConfiguration(); \& $response = $interface\->AddVideoAnalyticsConfiguration(); \& $response = $interface\->AddMetadataConfiguration(); \& $response = $interface\->AddAudioOutputConfiguration(); \& $response = $interface\->AddAudioDecoderConfiguration(); \& $response = $interface\->RemoveVideoEncoderConfiguration(); \& $response = $interface\->RemoveVideoSourceConfiguration(); \& $response = $interface\->RemoveAudioEncoderConfiguration(); \& $response = $interface\->RemoveAudioSourceConfiguration(); \& $response = $interface\->RemovePTZConfiguration(); \& $response = $interface\->RemoveVideoAnalyticsConfiguration(); \& $response = $interface\->RemoveMetadataConfiguration(); \& $response = $interface\->RemoveAudioOutputConfiguration(); \& $response = $interface\->RemoveAudioDecoderConfiguration(); \& $response = $interface\->DeleteProfile(); \& $response = $interface\->GetVideoSourceConfigurations(); \& $response = $interface\->GetVideoEncoderConfigurations(); \& $response = $interface\->GetAudioSourceConfigurations(); \& $response = $interface\->GetAudioEncoderConfigurations(); \& $response = $interface\->GetVideoAnalyticsConfigurations(); \& $response = $interface\->GetMetadataConfigurations(); \& $response = $interface\->GetAudioOutputConfigurations(); \& $response = $interface\->GetAudioDecoderConfigurations(); \& $response = $interface\->GetVideoSourceConfiguration(); \& $response = $interface\->GetVideoEncoderConfiguration(); \& $response = $interface\->GetAudioSourceConfiguration(); \& $response = $interface\->GetAudioEncoderConfiguration(); \& $response = $interface\->GetVideoAnalyticsConfiguration(); \& $response = $interface\->GetMetadataConfiguration(); \& $response = $interface\->GetAudioOutputConfiguration(); \& $response = $interface\->GetAudioDecoderConfiguration(); \& $response = $interface\->GetCompatibleVideoEncoderConfigurations(); \& $response = $interface\->GetCompatibleVideoSourceConfigurations(); \& $response = $interface\->GetCompatibleAudioEncoderConfigurations(); \& $response = $interface\->GetCompatibleAudioSourceConfigurations(); \& $response = $interface\->GetCompatibleVideoAnalyticsConfigurations(); \& $response = $interface\->GetCompatibleMetadataConfigurations(); \& $response = $interface\->GetCompatibleAudioOutputConfigurations(); \& $response = $interface\->GetCompatibleAudioDecoderConfigurations(); \& $response = $interface\->SetVideoSourceConfiguration(); \& $response = $interface\->SetVideoEncoderConfiguration(); \& $response = $interface\->SetAudioSourceConfiguration(); \& $response = $interface\->SetAudioEncoderConfiguration(); \& $response = $interface\->SetVideoAnalyticsConfiguration(); \& $response = $interface\->SetMetadataConfiguration(); \& $response = $interface\->SetAudioOutputConfiguration(); \& $response = $interface\->SetAudioDecoderConfiguration(); \& $response = $interface\->GetVideoSourceConfigurationOptions(); \& $response = $interface\->GetVideoEncoderConfigurationOptions(); \& $response = $interface\->GetAudioSourceConfigurationOptions(); \& $response = $interface\->GetAudioEncoderConfigurationOptions(); \& $response = $interface\->GetMetadataConfigurationOptions(); \& $response = $interface\->GetAudioOutputConfigurationOptions(); \& $response = $interface\->GetAudioDecoderConfigurationOptions(); \& $response = $interface\->GetGuaranteedNumberOfVideoEncoderInstances(); \& $response = $interface\->GetStreamUri(); \& $response = $interface\->StartMulticastStreaming(); \& $response = $interface\->StopMulticastStreaming(); \& $response = $interface\->SetSynchronizationPoint(); \& $response = $interface\->GetSnapshotUri(); \& $response = $interface\->GetVideoSourceModes(); \& $response = $interface\->SetVideoSourceMode(); \& $response = $interface\->GetOSDs(); \& $response = $interface\->GetOSD(); \& $response = $interface\->GetOSDOptions(); \& $response = $interface\->SetOSD(); \& $response = $interface\->CreateOSD(); \& $response = $interface\->DeleteOSD(); .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\s-1SOAP\s0 Interface for the Media web service located at http://www.examples.com/Media/. .SH "SERVICE Media" .IX Header "SERVICE Media" .SS "Port MediaPort" .IX Subsection "Port MediaPort" .SH "METHODS" .IX Header "METHODS" .SS "General methods" .IX Subsection "General methods" \fInew\fR .IX Subsection "new" .PP Constructor. .PP All arguments are forwarded to SOAP::WSDL::Client. .SS "\s-1SOAP\s0 Service methods" .IX Subsection "SOAP Service methods" Method synopsis is displayed with hash refs as parameters. .PP The commented class names in the method's parameters denote that objects of the corresponding class can be passed instead of the marked hash ref. .PP You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure. .PP 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 \s-1XML\s0 if used improperly, though. Note that \&\s-1SOAP::WSDL\s0 always expects list references at maximum depth position. .PP \&\s-1XML\s0 attributes are not displayed in this synopsis and cannot be set using hash refs. See the respective class' documentation for additional information. .PP \fIGetServiceCapabilities\fR .IX Subsection "GetServiceCapabilities" .PP Returns the capabilities of the media service. The result is returned in a typed answer. .PP Returns a ONVIF::Media::Elements::GetServiceCapabilitiesResponse object. .PP .Vb 3 \& $response = $interface\->GetServiceCapabilities( { \& },, \& ); .Ve .PP \fIGetVideoSources\fR .IX Subsection "GetVideoSources" .PP This command lists all available physical video inputs of the device. .PP Returns a ONVIF::Media::Elements::GetVideoSourcesResponse object. .PP .Vb 3 \& $response = $interface\->GetVideoSources( { \& },, \& ); .Ve .PP \fIGetAudioSources\fR .IX Subsection "GetAudioSources" .PP This command lists all available physical audio inputs of the device. .PP Returns a ONVIF::Media::Elements::GetAudioSourcesResponse object. .PP .Vb 3 \& $response = $interface\->GetAudioSources( { \& },, \& ); .Ve .PP \fIGetAudioOutputs\fR .IX Subsection "GetAudioOutputs" .PP This command lists all available physical audio outputs of the device. .PP Returns a ONVIF::Media::Elements::GetAudioOutputsResponse object. .PP .Vb 3 \& $response = $interface\->GetAudioOutputs( { \& },, \& ); .Ve .PP \fICreateProfile\fR .IX Subsection "CreateProfile" .PP This operation creates a new empty media profile. The media profile shall be created in the device and shall be persistent (remain after reboot). A created profile shall be deletable and a device shall set the \*(L"fixed\*(R" attribute to false in the returned Profile. .PP Returns a ONVIF::Media::Elements::CreateProfileResponse object. .PP .Vb 5 \& $response = $interface\->CreateProfile( { \& Name => $some_value, # Name \& Token => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetProfile\fR .IX Subsection "GetProfile" .PP If the profile token is already known, a profile can be fetched through the GetProfile command. .PP Returns a ONVIF::Media::Elements::GetProfileResponse object. .PP .Vb 4 \& $response = $interface\->GetProfile( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetProfiles\fR .IX Subsection "GetProfiles" .PP Any endpoint can ask for the existing media profiles of a device using the GetProfiles command. Pre-configured or dynamically configured profiles can be retrieved using this command. This command lists all configured profiles in a device. The client does not need to know the media profile in order to use the command. .PP Returns a ONVIF::Media::Elements::GetProfilesResponse object. .PP .Vb 3 \& $response = $interface\->GetProfiles( { \& },, \& ); .Ve .PP \fIAddVideoEncoderConfiguration\fR .IX Subsection "AddVideoEncoderConfiguration" .PP This operation adds a VideoEncoderConfiguration to an existing media profile. If a configuration exists in the media profile, it will be replaced. The change shall be persistent. A device shall support adding a compatible VideoEncoderConfiguration to a Profile containing a VideoSourceConfiguration and shall support streaming video data of such a profile. .PP Returns a ONVIF::Media::Elements::AddVideoEncoderConfigurationResponse object. .PP .Vb 5 \& $response = $interface\->AddVideoEncoderConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIAddVideoSourceConfiguration\fR .IX Subsection "AddVideoSourceConfiguration" .PP This operation adds a VideoSourceConfiguration to an existing media profile. If such a configuration exists in the media profile, it will be replaced. The change shall be persistent. .PP Returns a ONVIF::Media::Elements::AddVideoSourceConfigurationResponse object. .PP .Vb 5 \& $response = $interface\->AddVideoSourceConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIAddAudioEncoderConfiguration\fR .IX Subsection "AddAudioEncoderConfiguration" .PP This operation adds an AudioEncoderConfiguration to an existing media profile. If a configuration exists in the media profile, it will be replaced. The change shall be persistent. A device shall support adding a compatible AudioEncoderConfiguration to a profile containing an AudioSourceConfiguration and shall support streaming audio data of such a profile. .PP Returns a ONVIF::Media::Elements::AddAudioEncoderConfigurationResponse object. .PP .Vb 5 \& $response = $interface\->AddAudioEncoderConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIAddAudioSourceConfiguration\fR .IX Subsection "AddAudioSourceConfiguration" .PP This operation adds an AudioSourceConfiguration to an existing media profile. If a configuration exists in the media profile, it will be replaced. The change shall be persistent. .PP Returns a ONVIF::Media::Elements::AddAudioSourceConfigurationResponse object. .PP .Vb 5 \& $response = $interface\->AddAudioSourceConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIAddPTZConfiguration\fR .IX Subsection "AddPTZConfiguration" .PP This operation adds a PTZConfiguration to an existing media profile. If a configuration exists in the media profile, it will be replaced. The change shall be persistent. Adding a PTZConfiguration to a media profile means that streams using that media profile can contain \s-1PTZ\s0 status (in the metadata), and that the media profile can be used for controlling \s-1PTZ\s0 movement. .PP Returns a ONVIF::Media::Elements::AddPTZConfigurationResponse object. .PP .Vb 5 \& $response = $interface\->AddPTZConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIAddVideoAnalyticsConfiguration\fR .IX Subsection "AddVideoAnalyticsConfiguration" .PP This operation adds a VideoAnalytics configuration to an existing media profile. If a configuration exists in the media profile, it will be replaced. The change shall be persistent. Adding a VideoAnalyticsConfiguration to a media profile means that streams using that media profile can contain video analytics data (in the metadata) as defined by the submitted configuration reference. A profile containing only a video analytics configuration but no video source configuration is incomplete. Therefore, a client should first add a video source configuration to a profile before adding a video analytics configuration. The device can deny adding of a video analytics configuration before a video source configuration. .PP Returns a ONVIF::Media::Elements::AddVideoAnalyticsConfigurationResponse object. .PP .Vb 5 \& $response = $interface\->AddVideoAnalyticsConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIAddMetadataConfiguration\fR .IX Subsection "AddMetadataConfiguration" .PP This operation adds a Metadata configuration to an existing media profile. If a configuration exists in the media profile, it will be replaced. The change shall be persistent. Adding a MetadataConfiguration to a Profile means that streams using that profile contain metadata. Metadata can consist of events, \s-1PTZ\s0 status, and/or video analytics data. .PP Returns a ONVIF::Media::Elements::AddMetadataConfigurationResponse object. .PP .Vb 5 \& $response = $interface\->AddMetadataConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIAddAudioOutputConfiguration\fR .IX Subsection "AddAudioOutputConfiguration" .PP This operation adds an AudioOutputConfiguration to an existing media profile. If a configuration exists in the media profile, it will be replaced. The change shall be persistent. .PP Returns a ONVIF::Media::Elements::AddAudioOutputConfigurationResponse object. .PP .Vb 5 \& $response = $interface\->AddAudioOutputConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIAddAudioDecoderConfiguration\fR .IX Subsection "AddAudioDecoderConfiguration" .PP This operation adds an AudioDecoderConfiguration to an existing media profile. If a configuration exists in the media profile, it shall be replaced. The change shall be persistent. .PP Returns a ONVIF::Media::Elements::AddAudioDecoderConfigurationResponse object. .PP .Vb 5 \& $response = $interface\->AddAudioDecoderConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIRemoveVideoEncoderConfiguration\fR .IX Subsection "RemoveVideoEncoderConfiguration" .PP This operation removes a VideoEncoderConfiguration from an existing media profile. If the media profile does not contain a VideoEncoderConfiguration, the operation has no effect. The removal shall be persistent. .PP Returns a ONVIF::Media::Elements::RemoveVideoEncoderConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->RemoveVideoEncoderConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIRemoveVideoSourceConfiguration\fR .IX Subsection "RemoveVideoSourceConfiguration" .PP This operation removes a VideoSourceConfiguration from an existing media profile. If the media profile does not contain a VideoSourceConfiguration, the operation has no effect. The removal shall be persistent. Video source configurations should only be removed after removing a VideoEncoderConfiguration from the media profile. .PP Returns a ONVIF::Media::Elements::RemoveVideoSourceConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->RemoveVideoSourceConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIRemoveAudioEncoderConfiguration\fR .IX Subsection "RemoveAudioEncoderConfiguration" .PP This operation removes an AudioEncoderConfiguration from an existing media profile. If the media profile does not contain an AudioEncoderConfiguration, the operation has no effect. The removal shall be persistent. .PP Returns a ONVIF::Media::Elements::RemoveAudioEncoderConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->RemoveAudioEncoderConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIRemoveAudioSourceConfiguration\fR .IX Subsection "RemoveAudioSourceConfiguration" .PP This operation removes an AudioSourceConfiguration from an existing media profile. If the media profile does not contain an AudioSourceConfiguration, the operation has no effect. The removal shall be persistent. Audio source configurations should only be removed after removing an AudioEncoderConfiguration from the media profile. .PP Returns a ONVIF::Media::Elements::RemoveAudioSourceConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->RemoveAudioSourceConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIRemovePTZConfiguration\fR .IX Subsection "RemovePTZConfiguration" .PP This operation removes a PTZConfiguration from an existing media profile. If the media profile does not contain a PTZConfiguration, the operation has no effect. The removal shall be persistent. .PP Returns a ONVIF::Media::Elements::RemovePTZConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->RemovePTZConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIRemoveVideoAnalyticsConfiguration\fR .IX Subsection "RemoveVideoAnalyticsConfiguration" .PP This operation removes a VideoAnalyticsConfiguration from an existing media profile. If the media profile does not contain a VideoAnalyticsConfiguration, the operation has no effect. The removal shall be persistent. .PP Returns a ONVIF::Media::Elements::RemoveVideoAnalyticsConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->RemoveVideoAnalyticsConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIRemoveMetadataConfiguration\fR .IX Subsection "RemoveMetadataConfiguration" .PP This operation removes a MetadataConfiguration from an existing media profile. If the media profile does not contain a MetadataConfiguration, the operation has no effect. The removal shall be persistent. .PP Returns a ONVIF::Media::Elements::RemoveMetadataConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->RemoveMetadataConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIRemoveAudioOutputConfiguration\fR .IX Subsection "RemoveAudioOutputConfiguration" .PP This operation removes an AudioOutputConfiguration from an existing media profile. If the media profile does not contain an AudioOutputConfiguration, the operation has no effect. The removal shall be persistent. .PP Returns a ONVIF::Media::Elements::RemoveAudioOutputConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->RemoveAudioOutputConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIRemoveAudioDecoderConfiguration\fR .IX Subsection "RemoveAudioDecoderConfiguration" .PP This operation removes an AudioDecoderConfiguration from an existing media profile. If the media profile does not contain an AudioDecoderConfiguration, the operation has no effect. The removal shall be persistent. .PP Returns a ONVIF::Media::Elements::RemoveAudioDecoderConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->RemoveAudioDecoderConfiguration( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIDeleteProfile\fR .IX Subsection "DeleteProfile" .PP This operation deletes a profile. This change shall always be persistent. Deletion of a profile is only possible for non-fixed profiles .PP Returns a ONVIF::Media::Elements::DeleteProfileResponse object. .PP .Vb 4 \& $response = $interface\->DeleteProfile( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetVideoSourceConfigurations\fR .IX Subsection "GetVideoSourceConfigurations" .PP This operation lists all existing video source configurations for a device. The client need not know anything about the video source configurations in order to use the command. .PP Returns a ONVIF::Media::Elements::GetVideoSourceConfigurationsResponse object. .PP .Vb 3 \& $response = $interface\->GetVideoSourceConfigurations( { \& },, \& ); .Ve .PP \fIGetVideoEncoderConfigurations\fR .IX Subsection "GetVideoEncoderConfigurations" .PP This operation lists all existing video encoder configurations of a device. This command lists all configured video encoder configurations in a device. The client need not know anything apriori about the video encoder configurations in order to use the command. .PP Returns a ONVIF::Media::Elements::GetVideoEncoderConfigurationsResponse object. .PP .Vb 3 \& $response = $interface\->GetVideoEncoderConfigurations( { \& },, \& ); .Ve .PP \fIGetAudioSourceConfigurations\fR .IX Subsection "GetAudioSourceConfigurations" .PP This operation lists all existing audio source configurations of a device. This command lists all audio source configurations in a device. The client need not know anything apriori about the audio source configurations in order to use the command. .PP Returns a ONVIF::Media::Elements::GetAudioSourceConfigurationsResponse object. .PP .Vb 3 \& $response = $interface\->GetAudioSourceConfigurations( { \& },, \& ); .Ve .PP \fIGetAudioEncoderConfigurations\fR .IX Subsection "GetAudioEncoderConfigurations" .PP This operation lists all existing device audio encoder configurations. The client need not know anything apriori about the audio encoder configurations in order to use the command. .PP Returns a ONVIF::Media::Elements::GetAudioEncoderConfigurationsResponse object. .PP .Vb 3 \& $response = $interface\->GetAudioEncoderConfigurations( { \& },, \& ); .Ve .PP \fIGetVideoAnalyticsConfigurations\fR .IX Subsection "GetVideoAnalyticsConfigurations" .PP This operation lists all video analytics configurations of a device. This command lists all configured video analytics in a device. The client need not know anything apriori about the video analytics in order to use the command. .PP Returns a ONVIF::Media::Elements::GetVideoAnalyticsConfigurationsResponse object. .PP .Vb 3 \& $response = $interface\->GetVideoAnalyticsConfigurations( { \& },, \& ); .Ve .PP \fIGetMetadataConfigurations\fR .IX Subsection "GetMetadataConfigurations" .PP This operation lists all existing metadata configurations. The client need not know anything apriori about the metadata in order to use the command. .PP Returns a ONVIF::Media::Elements::GetMetadataConfigurationsResponse object. .PP .Vb 3 \& $response = $interface\->GetMetadataConfigurations( { \& },, \& ); .Ve .PP \fIGetAudioOutputConfigurations\fR .IX Subsection "GetAudioOutputConfigurations" .PP This command lists all existing AudioOutputConfigurations of a device. The \s-1NVC\s0 need not know anything apriori about the audio configurations to use this command. .PP Returns a ONVIF::Media::Elements::GetAudioOutputConfigurationsResponse object. .PP .Vb 3 \& $response = $interface\->GetAudioOutputConfigurations( { \& },, \& ); .Ve .PP \fIGetAudioDecoderConfigurations\fR .IX Subsection "GetAudioDecoderConfigurations" .PP This command lists all existing AudioDecoderConfigurations of a device. The \s-1NVC\s0 need not know anything apriori about the audio decoder configurations in order to use this command. .PP Returns a ONVIF::Media::Elements::GetAudioDecoderConfigurationsResponse object. .PP .Vb 3 \& $response = $interface\->GetAudioDecoderConfigurations( { \& },, \& ); .Ve .PP \fIGetVideoSourceConfiguration\fR .IX Subsection "GetVideoSourceConfiguration" .PP If the video source configuration token is already known, the video source configuration can be fetched through the GetVideoSourceConfiguration command. .PP Returns a ONVIF::Media::Elements::GetVideoSourceConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->GetVideoSourceConfiguration( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetVideoEncoderConfiguration\fR .IX Subsection "GetVideoEncoderConfiguration" .PP If the video encoder configuration token is already known, the encoder configuration can be fetched through the GetVideoEncoderConfiguration command. .PP Returns a ONVIF::Media::Elements::GetVideoEncoderConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->GetVideoEncoderConfiguration( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetAudioSourceConfiguration\fR .IX Subsection "GetAudioSourceConfiguration" .PP The GetAudioSourceConfiguration command fetches the audio source configurations if the audio source configuration token is already known. An .PP Returns a ONVIF::Media::Elements::GetAudioSourceConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->GetAudioSourceConfiguration( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetAudioEncoderConfiguration\fR .IX Subsection "GetAudioEncoderConfiguration" .PP The GetAudioEncoderConfiguration command fetches the encoder configuration if the audio encoder configuration token is known. .PP Returns a ONVIF::Media::Elements::GetAudioEncoderConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->GetAudioEncoderConfiguration( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetVideoAnalyticsConfiguration\fR .IX Subsection "GetVideoAnalyticsConfiguration" .PP The GetVideoAnalyticsConfiguration command fetches the video analytics configuration if the video analytics token is known. .PP Returns a ONVIF::Media::Elements::GetVideoAnalyticsConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->GetVideoAnalyticsConfiguration( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetMetadataConfiguration\fR .IX Subsection "GetMetadataConfiguration" .PP The GetMetadataConfiguration command fetches the metadata configuration if the metadata token is known. .PP Returns a ONVIF::Media::Elements::GetMetadataConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->GetMetadataConfiguration( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetAudioOutputConfiguration\fR .IX Subsection "GetAudioOutputConfiguration" .PP If the audio output configuration token is already known, the output configuration can be fetched through the GetAudioOutputConfiguration command. .PP Returns a ONVIF::Media::Elements::GetAudioOutputConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->GetAudioOutputConfiguration( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetAudioDecoderConfiguration\fR .IX Subsection "GetAudioDecoderConfiguration" .PP If the audio decoder configuration token is already known, the decoder configuration can be fetched through the GetAudioDecoderConfiguration command. .PP Returns a ONVIF::Media::Elements::GetAudioDecoderConfigurationResponse object. .PP .Vb 4 \& $response = $interface\->GetAudioDecoderConfiguration( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetCompatibleVideoEncoderConfigurations\fR .IX Subsection "GetCompatibleVideoEncoderConfigurations" .PP This operation lists all the video encoder configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddVideoEncoderConfiguration command on the media profile. The result will vary depending on the capabilities, configurations and settings in the device. .PP Returns a ONVIF::Media::Elements::GetCompatibleVideoEncoderConfigurationsResponse object. .PP .Vb 4 \& $response = $interface\->GetCompatibleVideoEncoderConfigurations( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetCompatibleVideoSourceConfigurations\fR .IX Subsection "GetCompatibleVideoSourceConfigurations" .PP This operation requests all the video source configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddVideoSourceConfiguration command on the media profile. The result will vary depending on the capabilities, configurations and settings in the device. .PP Returns a ONVIF::Media::Elements::GetCompatibleVideoSourceConfigurationsResponse object. .PP .Vb 4 \& $response = $interface\->GetCompatibleVideoSourceConfigurations( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetCompatibleAudioEncoderConfigurations\fR .IX Subsection "GetCompatibleAudioEncoderConfigurations" .PP This operation requests all audio encoder configurations of a device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddAudioSourceConfiguration command on the media profile. The result varies depending on the capabilities, configurations and settings in the device. .PP Returns a ONVIF::Media::Elements::GetCompatibleAudioEncoderConfigurationsResponse object. .PP .Vb 4 \& $response = $interface\->GetCompatibleAudioEncoderConfigurations( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetCompatibleAudioSourceConfigurations\fR .IX Subsection "GetCompatibleAudioSourceConfigurations" .PP This operation requests all audio source configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddAudioEncoderConfiguration command on the media profile. The result varies depending on the capabilities, configurations and settings in the device. .PP Returns a ONVIF::Media::Elements::GetCompatibleAudioSourceConfigurationsResponse object. .PP .Vb 4 \& $response = $interface\->GetCompatibleAudioSourceConfigurations( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetCompatibleVideoAnalyticsConfigurations\fR .IX Subsection "GetCompatibleVideoAnalyticsConfigurations" .PP This operation requests all video analytic configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddVideoAnalyticsConfiguration command on the media profile. The result varies depending on the capabilities, configurations and settings in the device. .PP Returns a ONVIF::Media::Elements::GetCompatibleVideoAnalyticsConfigurationsResponse object. .PP .Vb 4 \& $response = $interface\->GetCompatibleVideoAnalyticsConfigurations( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetCompatibleMetadataConfigurations\fR .IX Subsection "GetCompatibleMetadataConfigurations" .PP This operation requests all the metadata configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddMetadataConfiguration command on the media profile. The result varies depending on the capabilities, configurations and settings in the device. .PP Returns a ONVIF::Media::Elements::GetCompatibleMetadataConfigurationsResponse object. .PP .Vb 4 \& $response = $interface\->GetCompatibleMetadataConfigurations( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetCompatibleAudioOutputConfigurations\fR .IX Subsection "GetCompatibleAudioOutputConfigurations" .PP This command lists all audio output configurations of a device that are compatible with a certain media profile. Each returned configuration shall be a valid input for the AddAudioOutputConfiguration command. .PP Returns a ONVIF::Media::Elements::GetCompatibleAudioOutputConfigurationsResponse object. .PP .Vb 4 \& $response = $interface\->GetCompatibleAudioOutputConfigurations( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetCompatibleAudioDecoderConfigurations\fR .IX Subsection "GetCompatibleAudioDecoderConfigurations" .PP This operation lists all the audio decoder configurations of the device that are compatible with a certain media profile. Each of the returned configurations shall be a valid input parameter for the AddAudioDecoderConfiguration command on the media profile. .PP Returns a ONVIF::Media::Elements::GetCompatibleAudioDecoderConfigurationsResponse object. .PP .Vb 4 \& $response = $interface\->GetCompatibleAudioDecoderConfigurations( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fISetVideoSourceConfiguration\fR .IX Subsection "SetVideoSourceConfiguration" .PP This operation modifies a video source configuration. The ForcePersistence flag indicates if the changes shall remain after reboot of the device. Running streams using this configuration may be immediately updated according to the new settings. The changes are not guaranteed to take effect unless the client requests a new stream \s-1URI\s0 and restarts any affected stream. \s-1NVC\s0 methods for changing a running stream are out of scope for this specification. .PP Returns a ONVIF::Media::Elements::SetVideoSourceConfigurationResponse object. .PP .Vb 10 \& $response = $interface\->SetVideoSourceConfiguration( { \& Configuration => { # ONVIF::Media::Types::VideoSourceConfiguration \& SourceToken => $some_value, # ReferenceToken \& Bounds => , \& Extension => { # ONVIF::Media::Types::VideoSourceConfigurationExtension \& Rotate => { # ONVIF::Media::Types::Rotate \& Mode => $some_value, # RotateMode \& Degree => $some_value, # int \& Extension => { # ONVIF::Media::Types::RotateExtension \& }, \& }, \& Extension => { # ONVIF::Media::Types::VideoSourceConfigurationExtension2 \& }, \& }, \& }, \& ForcePersistence => $some_value, # boolean \& },, \& ); .Ve .PP \fISetVideoEncoderConfiguration\fR .IX Subsection "SetVideoEncoderConfiguration" .PP SessionTimeout is provided as a hint for keeping rtsp session by a device. If necessary the device may adapt parameter values for SessionTimeout elements without returning an error. For the time between keep alive calls the client shall adhere to the timeout value signaled via \s-1RTSP.\s0 .PP Returns a ONVIF::Media::Elements::SetVideoEncoderConfigurationResponse object. .PP .Vb 10 \& $response = $interface\->SetVideoEncoderConfiguration( { \& Configuration => { # ONVIF::Media::Types::VideoEncoderConfiguration \& Encoding => $some_value, # VideoEncoding \& Resolution => { # ONVIF::Media::Types::VideoResolution \& Width => $some_value, # int \& Height => $some_value, # int \& }, \& Quality => $some_value, # float \& RateControl => { # ONVIF::Media::Types::VideoRateControl \& FrameRateLimit => $some_value, # int \& EncodingInterval => $some_value, # int \& BitrateLimit => $some_value, # int \& }, \& MPEG4 => { # ONVIF::Media::Types::Mpeg4Configuration \& GovLength => $some_value, # int \& Mpeg4Profile => $some_value, # Mpeg4Profile \& }, \& H264 => { # ONVIF::Media::Types::H264Configuration \& GovLength => $some_value, # int \& H264Profile => $some_value, # H264Profile \& }, \& Multicast => { # ONVIF::Media::Types::MulticastConfiguration \& Address => { # ONVIF::Media::Types::IPAddress \& Type => $some_value, # IPType \& IPv4Address => $some_value, # IPv4Address \& IPv6Address => $some_value, # IPv6Address \& }, \& Port => $some_value, # int \& TTL => $some_value, # int \& AutoStart => $some_value, # boolean \& }, \& SessionTimeout => $some_value, # duration \& }, \& ForcePersistence => $some_value, # boolean \& },, \& ); .Ve .PP \fISetAudioSourceConfiguration\fR .IX Subsection "SetAudioSourceConfiguration" .PP This operation modifies an audio source configuration. The ForcePersistence flag indicates if the changes shall remain after reboot of the device. Running streams using this configuration may be immediately updated according to the new settings. The changes are not guaranteed to take effect unless the client requests a new stream \s-1URI\s0 and restarts any affected stream \s-1NVC\s0 methods for changing a running stream are out of scope for this specification. .PP Returns a ONVIF::Media::Elements::SetAudioSourceConfigurationResponse object. .PP .Vb 7 \& $response = $interface\->SetAudioSourceConfiguration( { \& Configuration => { # ONVIF::Media::Types::AudioSourceConfiguration \& SourceToken => $some_value, # ReferenceToken \& }, \& ForcePersistence => $some_value, # boolean \& },, \& ); .Ve .PP \fISetAudioEncoderConfiguration\fR .IX Subsection "SetAudioEncoderConfiguration" .PP This operation modifies an audio encoder configuration. The ForcePersistence flag indicates if the changes shall remain after reboot of the device. Running streams using this configuration may be immediately updated according to the new settings. The changes are not guaranteed to take effect unless the client requests a new stream \s-1URI\s0 and restarts any affected streams. \s-1NVC\s0 methods for changing a running stream are out of scope for this specification. .PP Returns a ONVIF::Media::Elements::SetAudioEncoderConfigurationResponse object. .PP .Vb 10 \& $response = $interface\->SetAudioEncoderConfiguration( { \& Configuration => { # ONVIF::Media::Types::AudioEncoderConfiguration \& Encoding => $some_value, # AudioEncoding \& Bitrate => $some_value, # int \& SampleRate => $some_value, # int \& Multicast => { # ONVIF::Media::Types::MulticastConfiguration \& Address => { # ONVIF::Media::Types::IPAddress \& Type => $some_value, # IPType \& IPv4Address => $some_value, # IPv4Address \& IPv6Address => $some_value, # IPv6Address \& }, \& Port => $some_value, # int \& TTL => $some_value, # int \& AutoStart => $some_value, # boolean \& }, \& SessionTimeout => $some_value, # duration \& }, \& ForcePersistence => $some_value, # boolean \& },, \& ); .Ve .PP \fISetVideoAnalyticsConfiguration\fR .IX Subsection "SetVideoAnalyticsConfiguration" .PP A video analytics configuration is modified using this command. The ForcePersistence flag indicates if the changes shall remain after reboot of the device or not. Running streams using this configuration shall be immediately updated according to the new settings. Otherwise inconsistencies can occur between the scene description processed by the rule engine and the notifications produced by analytics engine and rule engine which reference the very same video analytics configuration token. .PP Returns a ONVIF::Media::Elements::SetVideoAnalyticsConfigurationResponse object. .PP .Vb 10 \& $response = $interface\->SetVideoAnalyticsConfiguration( { \& Configuration => { # ONVIF::Media::Types::VideoAnalyticsConfiguration \& AnalyticsEngineConfiguration => { # ONVIF::Media::Types::AnalyticsEngineConfiguration \& AnalyticsModule => { # ONVIF::Media::Types::Config \& Parameters => { # ONVIF::Media::Types::ItemList \& SimpleItem => , \& ElementItem => { \& }, \& Extension => { # ONVIF::Media::Types::ItemListExtension \& }, \& }, \& }, \& Extension => { # ONVIF::Media::Types::AnalyticsEngineConfigurationExtension \& }, \& }, \& RuleEngineConfiguration => { # ONVIF::Media::Types::RuleEngineConfiguration \& Rule => { # ONVIF::Media::Types::Config \& Parameters => { # ONVIF::Media::Types::ItemList \& SimpleItem => , \& ElementItem => { \& }, \& Extension => { # ONVIF::Media::Types::ItemListExtension \& }, \& }, \& }, \& Extension => { # ONVIF::Media::Types::RuleEngineConfigurationExtension \& }, \& }, \& }, \& ForcePersistence => $some_value, # boolean \& },, \& ); .Ve .PP \fISetMetadataConfiguration\fR .IX Subsection "SetMetadataConfiguration" .PP This operation modifies a metadata configuration. The ForcePersistence flag indicates if the changes shall remain after reboot of the device. Changes in the Multicast settings shall always be persistent. Running streams using this configuration may be updated immediately according to the new settings. The changes are not guaranteed to take effect unless the client requests a new stream \s-1URI\s0 and restarts any affected streams. \s-1NVC\s0 methods for changing a running stream are out of scope for this specification. .PP Returns a ONVIF::Media::Elements::SetMetadataConfigurationResponse object. .PP .Vb 10 \& $response = $interface\->SetMetadataConfiguration( { \& Configuration => { # ONVIF::Media::Types::MetadataConfiguration \& PTZStatus => { # ONVIF::Media::Types::PTZFilter \& Status => $some_value, # boolean \& Position => $some_value, # boolean \& }, \& Analytics => $some_value, # boolean \& Multicast => { # ONVIF::Media::Types::MulticastConfiguration \& Address => { # ONVIF::Media::Types::IPAddress \& Type => $some_value, # IPType \& IPv4Address => $some_value, # IPv4Address \& IPv6Address => $some_value, # IPv6Address \& }, \& Port => $some_value, # int \& TTL => $some_value, # int \& AutoStart => $some_value, # boolean \& }, \& SessionTimeout => $some_value, # duration \& AnalyticsEngineConfiguration => { # ONVIF::Media::Types::AnalyticsEngineConfiguration \& AnalyticsModule => { # ONVIF::Media::Types::Config \& Parameters => { # ONVIF::Media::Types::ItemList \& SimpleItem => , \& ElementItem => { \& }, \& Extension => { # ONVIF::Media::Types::ItemListExtension \& }, \& }, \& }, \& Extension => { # ONVIF::Media::Types::AnalyticsEngineConfigurationExtension \& }, \& }, \& Extension => { # ONVIF::Media::Types::MetadataConfigurationExtension \& }, \& }, \& ForcePersistence => $some_value, # boolean \& },, \& ); .Ve .PP \fISetAudioOutputConfiguration\fR .IX Subsection "SetAudioOutputConfiguration" .PP This operation modifies an audio output configuration. The ForcePersistence flag indicates if the changes shall remain after reboot of the device. .PP Returns a ONVIF::Media::Elements::SetAudioOutputConfigurationResponse object. .PP .Vb 9 \& $response = $interface\->SetAudioOutputConfiguration( { \& Configuration => { # ONVIF::Media::Types::AudioOutputConfiguration \& OutputToken => $some_value, # ReferenceToken \& SendPrimacy => $some_value, # anyURI \& OutputLevel => $some_value, # int \& }, \& ForcePersistence => $some_value, # boolean \& },, \& ); .Ve .PP \fISetAudioDecoderConfiguration\fR .IX Subsection "SetAudioDecoderConfiguration" .PP This operation modifies an audio decoder configuration. The ForcePersistence flag indicates if the changes shall remain after reboot of the device. .PP Returns a ONVIF::Media::Elements::SetAudioDecoderConfigurationResponse object. .PP .Vb 6 \& $response = $interface\->SetAudioDecoderConfiguration( { \& Configuration => { # ONVIF::Media::Types::AudioDecoderConfiguration \& }, \& ForcePersistence => $some_value, # boolean \& },, \& ); .Ve .PP \fIGetVideoSourceConfigurationOptions\fR .IX Subsection "GetVideoSourceConfigurationOptions" .PP This operation returns the available options (supported values and ranges for video source configuration parameters) when the video source parameters are reconfigured If a video source configuration is specified, the options shall concern that particular configuration. If a media profile is specified, the options shall be compatible with that media profile. .PP Returns a ONVIF::Media::Elements::GetVideoSourceConfigurationOptionsResponse object. .PP .Vb 5 \& $response = $interface\->GetVideoSourceConfigurationOptions( { \& ConfigurationToken => $some_value, # ReferenceToken \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetVideoEncoderConfigurationOptions\fR .IX Subsection "GetVideoEncoderConfigurationOptions" .PP This response contains the available video encoder configuration options. If a video encoder configuration is specified, the options shall concern that particular configuration. If a media profile is specified, the options shall be compatible with that media profile. If no tokens are specified, the options shall be considered generic for the device. .PP Returns a ONVIF::Media::Elements::GetVideoEncoderConfigurationOptionsResponse object. .PP .Vb 5 \& $response = $interface\->GetVideoEncoderConfigurationOptions( { \& ConfigurationToken => $some_value, # ReferenceToken \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetAudioSourceConfigurationOptions\fR .IX Subsection "GetAudioSourceConfigurationOptions" .PP This operation returns the available options (supported values and ranges for audio source configuration parameters) when the audio source parameters are reconfigured. If an audio source configuration is specified, the options shall concern that particular configuration. If a media profile is specified, the options shall be compatible with that media profile. .PP Returns a ONVIF::Media::Elements::GetAudioSourceConfigurationOptionsResponse object. .PP .Vb 5 \& $response = $interface\->GetAudioSourceConfigurationOptions( { \& ConfigurationToken => $some_value, # ReferenceToken \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetAudioEncoderConfigurationOptions\fR .IX Subsection "GetAudioEncoderConfigurationOptions" .PP This operation returns the available options (supported values and ranges for audio encoder configuration parameters) when the audio encoder parameters are reconfigured. .PP Returns a ONVIF::Media::Elements::GetAudioEncoderConfigurationOptionsResponse object. .PP .Vb 5 \& $response = $interface\->GetAudioEncoderConfigurationOptions( { \& ConfigurationToken => $some_value, # ReferenceToken \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetMetadataConfigurationOptions\fR .IX Subsection "GetMetadataConfigurationOptions" .PP This operation returns the available options (supported values and ranges for metadata configuration parameters) for changing the metadata configuration. .PP Returns a ONVIF::Media::Elements::GetMetadataConfigurationOptionsResponse object. .PP .Vb 5 \& $response = $interface\->GetMetadataConfigurationOptions( { \& ConfigurationToken => $some_value, # ReferenceToken \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetAudioOutputConfigurationOptions\fR .IX Subsection "GetAudioOutputConfigurationOptions" .PP This operation returns the available options (supported values and ranges for audio output configuration parameters) for configuring an audio output. .PP Returns a ONVIF::Media::Elements::GetAudioOutputConfigurationOptionsResponse object. .PP .Vb 5 \& $response = $interface\->GetAudioOutputConfigurationOptions( { \& ConfigurationToken => $some_value, # ReferenceToken \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetAudioDecoderConfigurationOptions\fR .IX Subsection "GetAudioDecoderConfigurationOptions" .PP This command list the audio decoding capabilities for a given profile and configuration of a device. .PP Returns a ONVIF::Media::Elements::GetAudioDecoderConfigurationOptionsResponse object. .PP .Vb 5 \& $response = $interface\->GetAudioDecoderConfigurationOptions( { \& ConfigurationToken => $some_value, # ReferenceToken \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetGuaranteedNumberOfVideoEncoderInstances\fR .IX Subsection "GetGuaranteedNumberOfVideoEncoderInstances" .PP The GetGuaranteedNumberOfVideoEncoderInstances command can be used to request the minimum number of guaranteed video encoder instances (applications) per Video Source Configuration. .PP Returns a ONVIF::Media::Elements::GetGuaranteedNumberOfVideoEncoderInstancesResponse object. .PP .Vb 4 \& $response = $interface\->GetGuaranteedNumberOfVideoEncoderInstances( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetStreamUri\fR .IX Subsection "GetStreamUri" .PP .Vb 1 \& For full compatibility with other ONVIF services a device should not generate Uris longer than 128 octets. .Ve .PP Returns a ONVIF::Media::Elements::GetStreamUriResponse object. .PP .Vb 10 \& $response = $interface\->GetStreamUri( { \& StreamSetup => { # ONVIF::Media::Types::StreamSetup \& Stream => $some_value, # StreamType \& Transport => { # ONVIF::Media::Types::Transport \& Protocol => $some_value, # TransportProtocol \& }, \& }, \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIStartMulticastStreaming\fR .IX Subsection "StartMulticastStreaming" .PP This command starts multicast streaming using a specified media profile of a device. Streaming continues until StopMulticastStreaming is called for the same Profile. The streaming shall continue after a reboot of the device until a StopMulticastStreaming request is received. The multicast address, port and \s-1TTL\s0 are configured in the VideoEncoderConfiguration, AudioEncoderConfiguration and MetadataConfiguration respectively. .PP Returns a ONVIF::Media::Elements::StartMulticastStreamingResponse object. .PP .Vb 4 \& $response = $interface\->StartMulticastStreaming( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIStopMulticastStreaming\fR .IX Subsection "StopMulticastStreaming" .PP This command stop multicast streaming using a specified media profile of a device .PP Returns a ONVIF::Media::Elements::StopMulticastStreamingResponse object. .PP .Vb 4 \& $response = $interface\->StopMulticastStreaming( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fISetSynchronizationPoint\fR .IX Subsection "SetSynchronizationPoint" .PP Synchronization points allow clients to decode and correctly use all data after the synchronization point. For example, if a video stream is configured with a large I\-frame distance and a client loses a single packet, the client does not display video until the next I\-frame is transmitted. In such cases, the client can request a Synchronization Point which enforces the device to add an I\-Frame as soon as possible. Clients can request Synchronization Points for profiles. The device shall add synchronization points for all streams associated with this profile. Similarly, a synchronization point is used to get an update on full \s-1PTZ\s0 or event status through the metadata stream. If a video stream is associated with the profile, an I\-frame shall be added to this video stream. If a \s-1PTZ\s0 metadata stream is associated to the profile, the \s-1PTZ\s0 position shall be repeated within the metadata stream. .PP Returns a ONVIF::Media::Elements::SetSynchronizationPointResponse object. .PP .Vb 4 \& $response = $interface\->SetSynchronizationPoint( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetSnapshotUri\fR .IX Subsection "GetSnapshotUri" .PP A client uses the GetSnapshotUri command to obtain a \s-1JPEG\s0 snapshot from the device. The returned \s-1URI\s0 shall remain valid indefinitely even if the profile is changed. The ValidUntilConnect, ValidUntilReboot and Timeout Parameter shall be set accordingly (ValidUntilConnect=false, ValidUntilReboot=false, timeout=PT0S). The \s-1URI\s0 can be used for acquiring a \s-1JPEG\s0 image through a \s-1HTTP GET\s0 operation. The image encoding will always be \s-1JPEG\s0 regardless of the encoding setting in the media profile. The Jpeg settings (like resolution or quality) may be taken from the profile if suitable. The provided image will be updated automatically and independent from calls to GetSnapshotUri. .PP Returns a ONVIF::Media::Elements::GetSnapshotUriResponse object. .PP .Vb 4 \& $response = $interface\->GetSnapshotUri( { \& ProfileToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetVideoSourceModes\fR .IX Subsection "GetVideoSourceModes" .PP A device returns the information for current video source mode and settable video source modes of specified video source. A device that indicates a capability of VideoSourceModes shall support this command. .PP Returns a ONVIF::Media::Elements::GetVideoSourceModesResponse object. .PP .Vb 4 \& $response = $interface\->GetVideoSourceModes( { \& VideoSourceToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fISetVideoSourceMode\fR .IX Subsection "SetVideoSourceMode" .PP SetVideoSourceMode changes the media profile structure relating to video source for the specified video source mode. A device that indicates a capability of VideoSourceModes shall support this command. The behavior after changing the mode is not defined in this specification. .PP Returns a ONVIF::Media::Elements::SetVideoSourceModeResponse object. .PP .Vb 5 \& $response = $interface\->SetVideoSourceMode( { \& VideoSourceToken => $some_value, # ReferenceToken \& VideoSourceModeToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetOSDs\fR .IX Subsection "GetOSDs" .PP Get the OSDs. .PP Returns a ONVIF::Media::Elements::GetOSDsResponse object. .PP .Vb 4 \& $response = $interface\->GetOSDs( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetOSD\fR .IX Subsection "GetOSD" .PP Get the \s-1OSD.\s0 .PP Returns a ONVIF::Media::Elements::GetOSDResponse object. .PP .Vb 4 \& $response = $interface\->GetOSD( { \& OSDToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fIGetOSDOptions\fR .IX Subsection "GetOSDOptions" .PP Get the \s-1OSD\s0 Options. .PP Returns a ONVIF::Media::Elements::GetOSDOptionsResponse object. .PP .Vb 4 \& $response = $interface\->GetOSDOptions( { \& ConfigurationToken => $some_value, # ReferenceToken \& },, \& ); .Ve .PP \fISetOSD\fR .IX Subsection "SetOSD" .PP Set the \s-1OSD\s0 .PP Returns a ONVIF::Media::Elements::SetOSDResponse object. .PP .Vb 10 \& $response = $interface\->SetOSD( { \& OSD => { # ONVIF::Media::Types::OSDConfiguration \& VideoSourceConfigurationToken => { value => $some_value }, \& Type => $some_value, # OSDType \& Position => { # ONVIF::Media::Types::OSDPosConfiguration \& Type => $some_value, # string \& Pos => , \& Extension => { # ONVIF::Media::Types::OSDPosConfigurationExtension \& }, \& }, \& TextString => { # ONVIF::Media::Types::OSDTextConfiguration \& Type => $some_value, # string \& DateFormat => $some_value, # string \& TimeFormat => $some_value, # string \& FontSize => $some_value, # int \& FontColor => { # ONVIF::Media::Types::OSDColor \& Color => , \& }, \& BackgroundColor => { # ONVIF::Media::Types::OSDColor \& Color => , \& }, \& PlainText => $some_value, # string \& Extension => { # ONVIF::Media::Types::OSDTextConfigurationExtension \& }, \& }, \& Image => { # ONVIF::Media::Types::OSDImgConfiguration \& ImgPath => $some_value, # anyURI \& Extension => { # ONVIF::Media::Types::OSDImgConfigurationExtension \& }, \& }, \& Extension => { # ONVIF::Media::Types::OSDConfigurationExtension \& }, \& }, \& },, \& ); .Ve .PP \fICreateOSD\fR .IX Subsection "CreateOSD" .PP Create the \s-1OSD.\s0 .PP Returns a ONVIF::Media::Elements::CreateOSDResponse object. .PP .Vb 10 \& $response = $interface\->CreateOSD( { \& OSD => { # ONVIF::Media::Types::OSDConfiguration \& VideoSourceConfigurationToken => { value => $some_value }, \& Type => $some_value, # OSDType \& Position => { # ONVIF::Media::Types::OSDPosConfiguration \& Type => $some_value, # string \& Pos => , \& Extension => { # ONVIF::Media::Types::OSDPosConfigurationExtension \& }, \& }, \& TextString => { # ONVIF::Media::Types::OSDTextConfiguration \& Type => $some_value, # string \& DateFormat => $some_value, # string \& TimeFormat => $some_value, # string \& FontSize => $some_value, # int \& FontColor => { # ONVIF::Media::Types::OSDColor \& Color => , \& }, \& BackgroundColor => { # ONVIF::Media::Types::OSDColor \& Color => , \& }, \& PlainText => $some_value, # string \& Extension => { # ONVIF::Media::Types::OSDTextConfigurationExtension \& }, \& }, \& Image => { # ONVIF::Media::Types::OSDImgConfiguration \& ImgPath => $some_value, # anyURI \& Extension => { # ONVIF::Media::Types::OSDImgConfigurationExtension \& }, \& }, \& Extension => { # ONVIF::Media::Types::OSDConfigurationExtension \& }, \& }, \& },, \& ); .Ve .PP \fIDeleteOSD\fR .IX Subsection "DeleteOSD" .PP Delete the \s-1OSD.\s0 .PP Returns a ONVIF::Media::Elements::DeleteOSDResponse object. .PP .Vb 4 \& $response = $interface\->DeleteOSD( { \& OSDToken => $some_value, # ReferenceToken \& },, \& ); .Ve .SH "AUTHOR" .IX Header "AUTHOR" Generated by \s-1SOAP::WSDL\s0 on Mon Jun 30 13:26:09 2014