|
@@ -25,13 +25,13 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="webrtc-controls">
|
|
<div class="webrtc-controls">
|
|
|
<div class="webrtc-controls-group">
|
|
<div class="webrtc-controls-group">
|
|
|
- <el-tooltip content="刷新" placement="top">
|
|
|
|
|
|
|
+ <el-tooltip content="Refresh" placement="top">
|
|
|
<el-icon class="ctrl-btn" @click="reconnect"><Refresh /></el-icon>
|
|
<el-icon class="ctrl-btn" @click="reconnect"><Refresh /></el-icon>
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
- <el-tooltip content="截图" placement="top">
|
|
|
|
|
|
|
+ <el-tooltip content="Screenshot" placement="top">
|
|
|
<el-icon class="ctrl-btn" @click="captureSnapshot"><Camera /></el-icon>
|
|
<el-icon class="ctrl-btn" @click="captureSnapshot"><Camera /></el-icon>
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
- <el-tooltip :content="speakerEnabled ? '关闭声音' : '开启声音'" placement="top">
|
|
|
|
|
|
|
+ <el-tooltip :content="speakerEnabled ? 'Mute' : 'Unmute'" placement="top">
|
|
|
<el-icon class="ctrl-btn" @click="toggleSpeaker"><Microphone /></el-icon>
|
|
<el-icon class="ctrl-btn" @click="toggleSpeaker"><Microphone /></el-icon>
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
</div>
|
|
</div>
|
|
@@ -92,9 +92,9 @@ const showStatus = computed(() =>
|
|
|
)
|
|
)
|
|
|
const statusText = computed(() => {
|
|
const statusText = computed(() => {
|
|
|
const map: Record<string, string> = {
|
|
const map: Record<string, string> = {
|
|
|
- connecting: '正在连接...',
|
|
|
|
|
- disconnected: '已断开,正在重连...',
|
|
|
|
|
- failed: '连接失败'
|
|
|
|
|
|
|
+ connecting: 'Connecting...',
|
|
|
|
|
+ disconnected: 'Disconnected, reconnecting...',
|
|
|
|
|
+ failed: 'Connection failed'
|
|
|
}
|
|
}
|
|
|
return map[connectionStatus.value] ?? ''
|
|
return map[connectionStatus.value] ?? ''
|
|
|
})
|
|
})
|