From 54849757852f6ab40eb17afbd03d1d839b60a38d Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 13 Nov 2023 17:09:15 +0800
Subject: [PATCH] 重复定时和连续执行
---
src/components/livestream-others.vue | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/components/livestream-others.vue b/src/components/livestream-others.vue
index 438b427..771fb42 100644
--- a/src/components/livestream-others.vue
+++ b/src/components/livestream-others.vue
@@ -107,7 +107,7 @@
>更新画质</a-button
>
<a-button v-if="!liveState || !isDockLive" class="ml20" type="primary" large @click="onRefresh"
- >刷新实时容量</a-button
+ >刷新</a-button
>
</div>
</div>
@@ -145,23 +145,23 @@
const clarityList: SelectOption[] = [
{
value: 0,
- label: 'Adaptive'
+ label: '自适应'
},
{
value: 1,
- label: 'Smooth'
+ label: '正常'
},
{
value: 2,
- label: 'Standard'
+ label: '标准'
},
{
value: 3,
- label: 'HD'
+ label: '高清'
},
{
value: 4,
- label: 'Super Clear'
+ label: '超清'
}
]
@@ -335,7 +335,7 @@
const onUpdateQuality = () => {
if (!liveState.value) {
- message.info('Please turn on the livestream first.')
+ message.info('请先打开直播')
return
}
setLivestreamQuality({
@@ -343,7 +343,7 @@
video_quality: claritySelected.value
}).then(res => {
if (res.code === 0) {
- message.success('Set the clarity to ' + clarityList[claritySelected.value].label)
+ message.success('将清晰度设置为 ' + clarityList[claritySelected.value].label)
}
})
}
@@ -400,7 +400,7 @@
}
const onSwitch = () => {
if (lensSelected.value === undefined || lensSelected.value === nonSwitchable) {
- message.info('The ' + nonSwitchable + ' lens cannot be switched, please select the lens to be switched.', 8)
+ message.info('当前 ' + nonSwitchable + ' 镜头无法切换,请选择要切换的镜头', 8)
return
}
changeLivestreamLens({
@@ -408,7 +408,7 @@
video_type: lensSelected.value
}).then(res => {
if (res.code === 0) {
- message.success('Switching live camera successfully.')
+ message.success('切换实时摄像机成功')
}
})
}
--
Gitblit v1.9.3