How do users retrieve the stream's current configuration on the Sarix cameras series?

Issue

How do users retrieve the stream's current configuration on the Sarix cameras series?

Product Line

Pelco Cameras

Environment

Sarix Cameras- Version 1.4.9 +

Cause

Information on how to view the streams current configuration is needed.

Resolution

For most settings

It is very useful to query the current state and configuration of a specific Sarix stream. To do this, follow the instructions below:

  1. If you have not already done so, please refer to the getting started section.
  2. Account for the HTTP 100-continue header. Failure to do so will result in an error since Sarix IP cameras will not respond with a "100 (Continue)".
  3. Create a new instance of the class that acts as a representative of the stream configuration web service.
    • For .NET, use the Pelco binding class to return a custom binding instance for use as a parameter.
  4. Create a new instance of StreamID and set the id attribute and type attribute.
  5. Call the stream configuration service's GetCurrentConfiguration action and pass the desired StreamID parameter. The example below
    demonstrates how to parse the result. 
     

C# Example:

 

For querying contrast, saturation, and brightness settings ONLY

  1. If you have not already done so, please refer to the getting started section.
  2. Account for the HTTP 100-continue header. Failure to do so will result in an error since Sarix IP cameras will not respond with a "100 (Continue)".
  3. Initialize an instance of the class that acts as a representative of the camera configuration web service.
  4. Retrieve the IP camera's current configuration.
  5. Parse returned data.

C# Example: