Update ConversationProvider.tsx
This commit is contained in:
@@ -489,6 +489,7 @@ function Room({
|
||||
|
||||
toast.dismiss(connectingToast);
|
||||
|
||||
// todo, take trickle into account to not overwrite stream
|
||||
// notifying globally that we are in the process now
|
||||
setConversationMap((draft) => {
|
||||
if (draft[conversation._id.toString()]) {
|
||||
@@ -568,6 +569,8 @@ function Room({
|
||||
toast.success('NEWBIE JOINED!!!');
|
||||
console.log('someone calling me', res);
|
||||
|
||||
// todo, take trickle into account to not overwrite prev peer
|
||||
|
||||
const peerForMeAndNewbie = new Peer({
|
||||
initiator: false,
|
||||
stream: userLocalStream,
|
||||
|
||||
Reference in New Issue
Block a user