Skip to content

Commit 07a283f

Browse files
committed
updated jsdoc for handleReceiveCall
1 parent f914e53 commit 07a283f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/components/VideoCall.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control
318318
ACTION_TYPE: ANSWER,
319319
receiver: data.sender,
320320
sender: username,
321-
payload: peerRef.current?.localDescription
321+
payload: peerRef.current?.localDescription // localDescription is an RTCSessionDescription describing the session for the local end of the connection
322322
};
323323
ws.current.send(JSON.stringify(answerPayload));
324324
});

0 commit comments

Comments
 (0)