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") }} + + + + + +