Added AudioLogging
This commit is contained in:
@@ -23,10 +23,10 @@ export const handleTrackSubscribed = (
|
||||
useAudioStore.getState().addSpeakingParticipant(participant);
|
||||
}, 1000),
|
||||
);
|
||||
}
|
||||
setTimeout(() => {
|
||||
element.play();
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
track.on("unmuted", () => {
|
||||
useAudioStore.getState().addSpeakingParticipant(participant);
|
||||
|
||||
@@ -171,7 +171,12 @@ export const useAudioStore = create<TalkState>((set, get) => ({
|
||||
deviceId: get().settings.micDeviceId ?? undefined,
|
||||
},
|
||||
});
|
||||
|
||||
console.log(
|
||||
"Connected to room",
|
||||
roomName,
|
||||
get().settings.micDeviceId,
|
||||
get().settings.micVolume,
|
||||
);
|
||||
// Funk-Effekt anwenden
|
||||
const radioStream = getRadioStream(inputStream, get().settings.micVolume);
|
||||
if (!radioStream) throw new Error("Konnte Funkstream nicht erzeugen");
|
||||
|
||||
Reference in New Issue
Block a user