| | |
| | | #cgo LDFLAGS: -ldl -lm
|
| | |
|
| | | #include <stdlib.h>
|
| | | #include "Voice.h"
|
| | | #include "hikptz.h"
|
| | | */
|
| | | import "C"
|
| | |
|
| | | // type PtzDevice struct {
|
| | | // IpAddr string `form:"ipAddr" json:"ipAddr"`
|
| | | // Port string `form:"port" json:"port"`
|
| | | // UserName string `form:"userName" json:"userName"`
|
| | | // Password string `form:"password" json:"password"`
|
| | | // }
|
| | |
|
| | | // type PtzZoneService struct {
|
| | | // UserName string `form:"userName" json:"userName"`
|
| | | // Channel string `form:"channel" json:"channel"`
|
| | | // XTop string `form:"xTop" json:"xTop"`
|
| | | // YTop string `form:"yTop" json:"yTop"`
|
| | | // XBottom string `form:"xBottom" json:"xBottom"`
|
| | | // YBottom string `form:"yBottom" json:"yBottom"`
|
| | | // }
|
| | |
|
| | |
|
| | | // SendVoice Send Voice
|