KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE enumeration (ksmedia.h)
The KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE enumeration defines the network camera control NTP types.
Syntax
typedef enum {
KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE_DISABLE,
KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE_HOSTNTP,
KSPROPERYT_NETWORKCAMERACONTROL_NTPINFO_TYPE_CUSTOM
} KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE;
Constants
KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE_DISABLE Sets the camera into manual mode. The user can set the time on the camera manually. |
KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE_HOSTNTP Sets the camera to use the same NTP server as is configured on the host. |
KSPROPERYT_NETWORKCAMERACONTROL_NTPINFO_TYPE_CUSTOM Sets a specific custom NTP server on the camera. |
Remarks
If NTP is enabled on the camera, a get operation will return the name of the NTP server that is set on the Onvif protocol device.
If use of a NTP server is disabled on the camera, a get operation will return KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE_DISABLE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Header | ksmedia.h (include Ksmedia.h) |
See also
KSPROPERTY_NETWORKCAMERACONTROL_EVENTTOPICS_XML
KSPROPERTY_NETWORKCAMERACONTROL_METADATA
KSPROPERTYSETID_NetworkCameraControl
KSPROPERTY_NETWORKCAMERACONTROL_NTP
KSPROPERTY_NETWORKCAMERACONTROL_URI
KSPROPERTY_NETWORKCAMERACONTROL_EVENT_INFO
KSPROPERTY_NETWORKCAMERACONTROL_METADATA_INFO