hide other languages, slightly louder original audio
This commit is contained in:
parent
8ca5bc9f40
commit
02e2e00f9d
@ -51,7 +51,7 @@ export function RoomAudioRenderer() {
|
||||
<AudioTrack
|
||||
key={getTrackReferenceId(trackRef)}
|
||||
trackRef={trackRef}
|
||||
volume={0.4}
|
||||
volume={0.5}
|
||||
muted={false}
|
||||
/>
|
||||
))}
|
||||
|
||||
@ -68,9 +68,9 @@ export function TranscriptDisplay() {
|
||||
const isTranslation = info.attributes?.translated === "true";
|
||||
|
||||
// ignore translations for other languages
|
||||
// if (isTranslation && info.attributes?.language !== currentLanguage) {
|
||||
// return;
|
||||
// }
|
||||
if (isTranslation && info.attributes?.language !== currentLanguage) {
|
||||
return;
|
||||
}
|
||||
|
||||
const id = info.id;
|
||||
const participantId = participantInfo?.identity;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user