some more debugging going on
This commit is contained in:
@@ -503,6 +503,8 @@ function Room({
|
||||
// globally updating conversation so that other views can render what they want
|
||||
toast.success('got stream from remote, going to add to our ');
|
||||
|
||||
console.log('got stream from master');
|
||||
|
||||
setConversationMap((draft) => {
|
||||
if (draft[conversation._id.toString()].room[otherUserId]) {
|
||||
draft[conversation._id.toString()].room[otherUserId].stream = remoteStream;
|
||||
@@ -592,6 +594,8 @@ function Room({
|
||||
// globally updating conversation so that other views can render what they want
|
||||
toast.success('got stream from remote, going to add to our ');
|
||||
|
||||
console.log('got stream from newbie');
|
||||
|
||||
setConversationMap((draft) => {
|
||||
if (draft[conversation._id.toString()].room[res.userWhoCalled]) {
|
||||
draft[conversation._id.toString()].room[res.userWhoCalled].stream = remoteStream;
|
||||
|
||||
Reference in New Issue
Block a user