通用通道支持云台控制

This commit is contained in:
lin
2025-07-31 18:49:53 +08:00
parent edeb8d6b3f
commit 19b873ba5c
49 changed files with 941 additions and 381 deletions

View File

@@ -463,15 +463,15 @@ export function wiper({ channelId, command }) {
})
}
export function ptz({ channelId, command, horizonSpeed, verticalSpeed, zoomSpeed }) {
export function ptz({ channelId, command, panSpeed, tiltSpeed, zoomSpeed }) {
return request({
method: 'get',
url: '/api/common/channel/front-end/ptz',
params: {
channelId: channelId,
command: command,
horizonSpeed: horizonSpeed,
verticalSpeed: verticalSpeed,
panSpeed: panSpeed,
tiltSpeed: tiltSpeed,
zoomSpeed: zoomSpeed
}
})