Documentation ¶
Index ¶
- func GetAllOnVifDevice() ([]discovery.Device, error)
- func GetAssignDeviceServices(assign string, xaddr string, user string, password string) (devicemgmt.Service, error)
- func GetDeviceInformation(xaddr string, user string, password string) (*devicemgmt.GetDeviceInformationResponse, error)
- func GetDeviceServices(xaddr string, user string, password string) (*devicemgmt.GetServicesResponse, error)
- func GetShapJPGEbyURL(shapshotUrl string, add string) string
- func GetShapshotUrl(xaddr string, namespace string, user string, password string) (string, error)
- func GetShapshotUrlByIP(ip string, user string, password string) (string, bool)
- func GetStreamUrl(xaddr string, namespace string, user string, password string) (string, error)
- func GetXaddrByIP(ip string) (string, bool)
- func SetCameraIP(xaddr string, user string, password string, ip string) bool
- func WgetJPGE(shapshotUrl string, add string, save string)
- type OnvifUrlMesage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssignDeviceServices ¶
func GetAssignDeviceServices(assign string, xaddr string, user string, password string) (devicemgmt.Service, error)
指定获取某个服务,例如"media"
func GetDeviceInformation ¶
func GetDeviceInformation(xaddr string, user string, password string) (*devicemgmt.GetDeviceInformationResponse, error)
获取设备的服务信息
func GetDeviceServices ¶
func GetDeviceServices(xaddr string, user string, password string) (*devicemgmt.GetServicesResponse, error)
获取设备所有的服务
func GetShapJPGEbyURL ¶
func GetShapshotUrl ¶
已知xaddr,namespace获取抓图的url地址
func GetShapshotUrlByIP ¶
according to IP获取摄像头截图的url
func GetStreamUrl ¶
Types ¶
type OnvifUrlMesage ¶
获取到的原始数据
func GetAllOnvifUrlMesage ¶
func GetAllOnvifUrlMesage(user string, password string) []OnvifUrlMesage
Click to show internal directories.
Click to hide internal directories.