fix getChild before rageshake setup

This commit is contained in:
Timo K.
2026-07-07 19:05:10 +02:00
parent ad76969ce2
commit 3cc396f42c
6 changed files with 15 additions and 11 deletions

View File

@@ -40,7 +40,6 @@ export interface MatrixAudioRendererProps {
muted?: boolean;
}
const prefixedLogger = logger.getChild("[MatrixAudioRenderer]");
/**
* Takes care of handling remote participants audio tracks and makes sure that microphones and screen share are audible.
*
@@ -60,6 +59,7 @@ export function LivekitRoomAudioRenderer({
validIdentities,
muted,
}: MatrixAudioRendererProps): ReactNode {
const prefixedLogger = logger.getChild("[MatrixAudioRenderer]");
const tracks = useTracks(
[
Track.Source.Microphone,