You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/src/components/Socket.d.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,9 @@ declare type SocketType = {
17
17
endCall: (parsedData: boolean)=>void;
18
18
};
19
19
/**
20
-
* @desc Using the initial websocket connection, this functional component provides the event listeners for each client socket to allow bi-lateral communication.
21
-
* @param props containing the socket starting the connection with the websocket server and functions to be performed on each switch case event
22
-
* @returns an empty element when rendered but populates the client's socket connection with event listeners to be able to handle the offer-answer model and SDP objects being communicated between both peers.
20
+
* @desc Using the initial WebSocket connection, this functional component provides the event listeners for each client's socket connection to allow bilateral communication.
21
+
* @param props ws is the socket that will initiate the connection with the WebSocket server and getUsers, handleReceiveCall, handleAnswer, handleNewIceCandidate, endCall are the functions that are executed upon on each switch case event.
22
+
* @returns an empty element when rendered and populates the client's socket connection with event listeners that can handle the offer-answer model and SDP objects being exchanged between peers.
* @desc Using the initial websocket connection, this functional component provides the event listeners for each client socket to allow bi-lateral communication.
11
-
* @param props containing the socket starting the connection with the websocket server and functions to be performed on each switch case event
12
-
* @returns an empty element when rendered but populates the client's socket connection with event listeners to be able to handle the offer-answer model and SDP objects being communicated between both peers.
10
+
* @desc Using the initial WebSocket connection, this functional component provides the event listeners for each client's socket connection to allow bilateral communication.
11
+
* @param props ws is the socket that will initiate the connection with the WebSocket server and getUsers, handleReceiveCall, handleAnswer, handleNewIceCandidate, endCall are the functions that are executed upon on each switch case event.
12
+
* @returns an empty element when rendered and populates the client's socket connection with event listeners that can handle the offer-answer model and SDP objects being exchanged between peers.
Copy file name to clipboardExpand all lines: lib/src/components/Socket.tsx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ type SocketType = {
12
12
}
13
13
14
14
/**
15
-
* @desc Using the initial websocket connection, this functional component provides the event listeners for each client socket to allow bi-lateral communication.
16
-
* @param props containing the socket starting the connection with the websocket server and functions to be performed on each switch case event
17
-
* @returns an empty element when rendered but populates the client's socket connection with event listeners to be able to handle the offer-answer model and SDP objects being communicated between both peers.
15
+
* @desc Using the initial WebSocket connection, this functional component provides the event listeners for each client's socket connection to allow bilateral communication.
16
+
* @param props ws is the socket that will initiate the connection with the WebSocket server and getUsers, handleReceiveCall, handleAnswer, handleNewIceCandidate, endCall are the functions that are executed upon on each switch case event.
17
+
* @returns an empty element when rendered and populates the client's socket connection with event listeners that can handle the offer-answer model and SDP objects being exchanged between peers.
0 commit comments