We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2abe3b7 + f88e1b6 commit df76946Copy full SHA for df76946
peerprep-fe/src/app/collaboration/components/AudioSharing.tsx
@@ -26,11 +26,13 @@ const AudioSharing = () => {
26
const TURN_CREDENTIAL = process.env.NEXT_PUBLIC_TURN_PASSWORD;
27
28
if (!TURN_SERVER || !TURN_USERNAME || !TURN_CREDENTIAL) {
29
- console.error(TURN_SERVER);
30
- console.error(TURN_USERNAME);
31
- console.error(TURN_CREDENTIAL);
+ // Log which specific variables are missing
+ console.error('Missing TURN config:', {
+ server: !!TURN_SERVER,
32
+ username: !!TURN_USERNAME,
33
+ credential: !!TURN_CREDENTIAL,
34
+ });
35
}
-
36
const cleanupAudio = () => {
37
if (audioStreamRef.current) {
38
audioStreamRef.current.getTracks().forEach((track) => {
0 commit comments