Commit e0bf707e authored by tyyin lan's avatar tyyin lan

chore(数字人): 配置调整

parent 44be651c
......@@ -127,7 +127,7 @@ function getBaiduDigitalPeopleToken(agentId: string) {
<template>
<div class="relative flex h-full flex-1 items-end justify-center">
<div class="relative h-[80%] w-[400px]">
<div class="relative h-[90%] w-[60%]">
<div v-show="digitalHumanLoading" class="flex-center flex h-full w-full">
<div class="flex -translate-y-full flex-col justify-center">
<n-spin size="large" />
......
......@@ -383,6 +383,11 @@ function handleAudioPlay(currentMessageItem: ConversationMessageItem, specificPl
return
}
dhIframe.value.sendCommand({
subType: 'muteAudio',
subContent: false,
})
dhIframe.value?.sendMessage({
action: 'TEXT_RENDER',
body: `<speak><audio src="${audioUrl}"/></speak>`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment