File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
peerprep-fe/src/app/collaboration/components Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const AudioSharing = () => {
2121 process . env . NEXT_PUBLIC_AUDIO_SERVER_URL || 'http://localhost:5555' ;
2222
2323 // Add TURN server credentials from environment variables
24- const TURN_SERVER = process . env . NEXT_PUBLIC_TURN_SERVER ;
24+ const TURN_SERVER = process . env . NEXT_PUBLIC_TURN_SERVER || '' ;
2525 const TURN_USERNAME = process . env . NEXT_PUBLIC_TURN_USERNAME ;
2626 const TURN_CREDENTIAL = process . env . NEXT_PUBLIC_TURN_PASSWORD ;
2727
@@ -60,11 +60,11 @@ const AudioSharing = () => {
6060 { urls : 'stun:stun.l.google.com:19302' } ,
6161 { urls : 'stun:global.stun.twilio.com:3478' } ,
6262 // Add TURN server configuration
63- // {
64- // urls: TURN_SERVER,
65- // username: TURN_USERNAME,
66- // credential: TURN_CREDENTIAL,
67- // },
63+ {
64+ urls : TURN_SERVER ,
65+ username : TURN_USERNAME ,
66+ credential : TURN_CREDENTIAL ,
67+ } ,
6868 ] ,
6969 } ,
7070 } ) ;
You can’t perform that action at this time.
0 commit comments