mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Attempt to support zoom-only onvif cams (#12415)
* Attempt to support zoom-only onvif cams * don't skip ptz configuration
This commit is contained in:
parent
e7ec014502
commit
51153af944
@ -95,8 +95,12 @@ class OnvifController:
|
|||||||
onvif_profile.VideoEncoderConfiguration
|
onvif_profile.VideoEncoderConfiguration
|
||||||
and onvif_profile.VideoEncoderConfiguration.Encoding == "H264"
|
and onvif_profile.VideoEncoderConfiguration.Encoding == "H264"
|
||||||
and onvif_profile.PTZConfiguration
|
and onvif_profile.PTZConfiguration
|
||||||
and onvif_profile.PTZConfiguration.DefaultContinuousPanTiltVelocitySpace
|
and (
|
||||||
is not None
|
onvif_profile.PTZConfiguration.DefaultContinuousPanTiltVelocitySpace
|
||||||
|
is not None
|
||||||
|
or onvif_profile.PTZConfiguration.DefaultContinuousZoomVelocitySpace
|
||||||
|
is not None
|
||||||
|
)
|
||||||
):
|
):
|
||||||
profile = onvif_profile
|
profile = onvif_profile
|
||||||
logger.debug(f"Selected Onvif profile for {camera_name}: {profile}")
|
logger.debug(f"Selected Onvif profile for {camera_name}: {profile}")
|
||||||
|
Loading…
Reference in New Issue
Block a user