Video Player

Specific application parameters are available to add interactive controls to the camera’s video stream in the Video panel of your device. The following explains how to use them to change your camera’s parameters directly in the ZED Hub interface.

Define parameters

Video settings are application parameters defined in an packaged application. In order to add your own video settings application parameters, you need to:

  • create an application parameter named video_player: it will be of type string and store the list of application parameter labels that will be displayed on the stream (separated by commas without any space)
  • create an application parameter for each video setting to control, using the app.json file
  • create and register the corresponding callback functions (see in Parameters in Production)

In addition to the properties of application parameters, you can add optional properties to have conditional display for the video settings (display only if another application parameter has one particular value). To do so, you can add the following:

  • if (optional): Label of the application parameter to watch for the display condition
  • if_value (optional): Value of the watched application parameter to match for the display condition to be true (default true)

Modify the parameters value

If the running packaged application defines the video_player key, you can modify the corresponding application parameters form the stream directly.