[1078] 完善录像下载

This commit is contained in:
lin
2025-07-10 18:48:25 +08:00
parent 1655e5903b
commit b7a2b6816b
20 changed files with 691 additions and 107 deletions

View File

@@ -169,6 +169,22 @@ export function startPlayback(params) {
}
})
}
export function getRecordTempUrl({ phoneNumber, channelId, startTime, endTime, alarmSign, mediaType, streamType, storageType }) {
return request({
method: 'get',
url: '/api/jt1078/playback/downloadUrl',
params: {
phoneNumber: phoneNumber,
channelId: channelId,
startTime: startTime,
endTime: endTime,
alarmSign: alarmSign,
mediaType: mediaType,
streamType: streamType,
storageType: storageType
}
})
}
export function controlPlayback(params) {
const { phoneNumber, channelId, command, playbackSpeed, time } = params
return request({