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 b1d6959 commit 774a9bdCopy full SHA for 774a9bd
frontend/src/app/collaboration/components/video.tsx
@@ -227,13 +227,16 @@ const VideoCall = ({ provider }: VideoCallProps) => {
227
removed.forEach((clientId) => {
228
console.log("Client disconnected:", clientId);
229
if (remoteVideoRef.current) {
230
+ console.log("remote video exists");
231
if (clientId !== provider.awareness.clientID) {
232
remoteVideoRef.current.srcObject = null;
233
remoteStreamRef.current = null;
234
setRemoteVideoSourceObject(false);
235
iceCandidatesQueue.current = [];
236
startPC();
237
+ console.log(`Video start ${videoStart}`);
238
if (videoStart) {
239
+ console.log("restarting call");
240
startCall();
241
}
242
} else {
0 commit comments