From 543ee2520503e3faae8e167da8dda5443e1d952f Mon Sep 17 00:00:00 2001 From: fangxiang Date: Thu, 12 May 2022 20:48:22 +0800 Subject: [PATCH] =?UTF-8?q?HDMI=E9=87=87=E9=9B=86=E5=8F=B3=E9=94=AE?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=B7=BB=E5=8A=A0=E6=97=A0=E6=8D=9F/?= =?UTF-8?q?=E6=9C=89=E6=8D=9F=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/common/ClientConnection.ts | 10 +++++ src/components/SignalSourceTree.vue | 59 ++++++++++++++++++++++++- src/entities/ApplicationConfigEntity.ts | 1 + src/entities/WSProtocol.ts | 29 ++++++++++++ src/i18n/zh-CN/index.ts | 6 +++ 6 files changed, 105 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 989638d..1b53d6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "media_player_client", - "version": "1.4.5", + "version": "1.4.6", "description": "A Quasar Framework app", "productName": "MediaPlayerClient", "author": "fangxiang ", diff --git a/src/common/ClientConnection.ts b/src/common/ClientConnection.ts index 0f127d1..f64382c 100644 --- a/src/common/ClientConnection.ts +++ b/src/common/ClientConnection.ts @@ -1054,6 +1054,16 @@ export default class ClientConnection { } } + public async setHdmiInDecodeType(index: number, type: string) { + try { + return await this.doRpc( + new Protocol.SetHdmiInDecodeTypeRequestEntity(index, type) + ); + } catch (e) { + console.error(e); + } + } + public destory() { if (this.ws) { this.ws.onclose = null; diff --git a/src/components/SignalSourceTree.vue b/src/components/SignalSourceTree.vue index ad49edb..f025d07 100644 --- a/src/components/SignalSourceTree.vue +++ b/src/components/SignalSourceTree.vue @@ -39,8 +39,37 @@ {{ prop.node.name }} - + + + + {{ $t("lossy ") + $t("picture quality") }} + + + + + + + + {{ $t("lossless ") + $t("picture quality") }} + + + + + +