Added support for multiple onvif profiles (#4445)

* Added support for multiple onvif profiles

Related to pull request https://github.com/home-assistant/home-assistant/pull/11651

* ✏️ Spelling & grammar fixes

* Removed info about profile data in attribute

Removed information about profile data in attributes, as it is not going to be implemented.
This commit is contained in:
karlkar 2018-03-09 19:07:41 +01:00 committed by Paulus Schoutsen
parent 87aa9fed2c
commit 4a852f8c04

View File

@ -30,9 +30,12 @@ Configuration variables:
- **name** (*Optional*): Override the name of your camera.
- **username** (*Optional*): The username for the camera.
- **password** (*Optional*): The password for the camera.
- **port** (*Optional*): The port for the camera. This defaults to 5000
- **port** (*Optional*): The port for the camera. This defaults to 5000.
- **profile** (*Optional*): Video profile that will be used to obtain the stream. This defaults to 0. More details below.
- **extra_arguments** (*Optional*): Extra options to pass to `ffmpeg`, e.g. image quality or video filter options. More details in [FFmpeg component](/components/ffmpeg).
Most of the Onvif cameras support more than one audio/video Profile. Each profile provides different image quality. Usually, the first profile has the highest quality, and it is the profile used by default. However, you may want to use a lower quality image. One of the reasons may be that your hardware isn't able to render the highest quality image in real-time - especially when running on Raspberry Pi. Therefore you can choose which profile do you want to use by setting in config `profile` variable.
### {% linkable_title Service `camera.onvif_ptz` %}
If your ONVIF camera supports PTZ, you will be able to pan, tilt or zoom your camera.