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.
1 parent ff3254c commit 0dc7bacCopy full SHA for 0dc7bac
peerprep-fe/src/app/collaboration/components/AudioSharing.tsx
@@ -109,10 +109,7 @@ const AudioSharing = () => {
109
110
peer.on('error', (err: Error) => {
111
console.error('Peer connection error:', err);
112
- setTimeout(() => {
113
- cleanupAudio(true);
114
- createPeer(stream, initiator); // Recreate the peer
115
- }, 2000);
+ cleanupAudio(true);
116
});
117
118
peer.on('close', () => {
0 commit comments