From d6d506ff6a677de097536f4ce52379f4a85e0610 Mon Sep 17 00:00:00 2001
From: "zhuangpeng.li" <908349383@qq.com>
Date: Sun, 14 Jul 2024 11:25:48 +0800
Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
vue/src/api/iot/channel.js | 36 --------
vue/src/api/iot/record.js | 88 -------------------
.../components/player/deviceLiveStream.vue | 37 +++-----
vue/src/views/iot/sip/mediaServer-edit.vue | 3 -
4 files changed, 11 insertions(+), 153 deletions(-)
delete mode 100644 vue/src/api/iot/record.js
diff --git a/vue/src/api/iot/channel.js b/vue/src/api/iot/channel.js
index 84441428..e925b80d 100644
--- a/vue/src/api/iot/channel.js
+++ b/vue/src/api/iot/channel.js
@@ -59,13 +59,6 @@ export function getStreaminfo(deviceId, channelId) {
})
}
-export function playback(deviceId, channelId, query) {
- return request({
- url: '/sip/player/playback/' + deviceId + "/" + channelId,
- method: 'get',
- params: query
- })
-}
export function closeStream(deviceId, channelId, streamId){
return request({
@@ -74,32 +67,3 @@ export function closeStream(deviceId, channelId, streamId){
})
}
-export function playbackPause(deviceId, channelId, streamId) {
- return request({
- url: '/sip/player/playbackPause/' + deviceId + "/" + channelId + "/" + streamId,
- method: 'get'
- })
-}
-
-export function playbackReplay(deviceId, channelId, streamId) {
- return request({
- url: '/sip/player/playbackReplay/' + deviceId + "/" + channelId + "/" + streamId,
- method: 'get'
- })
-}
-
-export function playbackSeek(deviceId, channelId, streamId, query) {
- return request({
- url: '/sip/player/playbackSeek/' + deviceId + "/" + channelId + "/" + streamId,
- method: 'get',
- params: query
- })
-}
-
-export function playbackSpeed(deviceId, channelId, streamId, query) {
- return request({
- url: '/sip/player/playbackSpeed/' + deviceId + "/" + channelId + "/" + streamId,
- method: 'get',
- params: query
- })
-}
diff --git a/vue/src/api/iot/record.js b/vue/src/api/iot/record.js
deleted file mode 100644
index 2391ab6e..00000000
--- a/vue/src/api/iot/record.js
+++ /dev/null
@@ -1,88 +0,0 @@
-import request from '@/utils/request'
-
-export function getDevRecord(deviceId,channelId,query) {
- return request({
- url: '/sip/record/devquery/' + deviceId + "/" + channelId,
- method: 'get',
- params: query
- })
-}
-
-export function getRecord(channelId,sn) {
- return request({
- url: '/sip/record/query/' + channelId + "/" + sn,
- method: 'get',
- })
-}
-
-export function getServerRecord(query) {
- return request({
- url: '/sip/record/serverRecord/list',
- method: 'get',
- params: query
- })
-}
-
-export function getServerRecordByDate(query) {
- return request({
- url: '/sip/record/serverRecord/date/list',
- method: 'get',
- params: query
- })
-}
-
-export function getServerRecordByStream(query) {
- return request({
- url: '/sip/record/serverRecord/stream/list',
- method: 'get',
- params: query
- })
-}
-
-export function getServerRecordByApp(query) {
- return request({
- url: '/sip/record/serverRecord/app/list',
- method: 'get',
- params: query
- })
-}
-
-export function getServerRecordByFile(query) {
- return request({
- url: '/sip/record/serverRecord/file/list',
- method: 'get',
- params: query
- })
-}
-
-export function getServerRecordByDevice(query) {
- return request({
- url: '/sip/record/serverRecord/device/list',
- method: 'get',
- params: query
- })
-}
-
-export function startPlayRecord(deviceId, channelId) {
- return request({
- url: '/sip/record/play/' + deviceId + "/" + channelId,
- method: 'get'
- })
-}
-
-export function startDownloadRecord(deviceId, channelId, query) {
- return request({
- url: '/sip/record/download/' + deviceId + "/" + channelId,
- method: 'get',
- params: query
- })
-}
-
-
-export function uploadRecord(query) {
- return request({
- url: '/sip/record/upload',
- method: 'get',
- params: query
- })
-}
diff --git a/vue/src/views/components/player/deviceLiveStream.vue b/vue/src/views/components/player/deviceLiveStream.vue
index 769af9b6..41667ddf 100644
--- a/vue/src/views/components/player/deviceLiveStream.vue
+++ b/vue/src/views/components/player/deviceLiveStream.vue
@@ -7,8 +7,6 @@
开启拉流:
- 开启直播录像:
-
@@ -16,7 +14,6 @@