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
|
// globally updating conversation so that other views can render what they want
|
||||||
toast.success('got stream from remote, going to add to our ');
|
toast.success('got stream from remote, going to add to our ');
|
||||||
|
|
||||||
|
console.log('got stream from master');
|
||||||
|
|
||||||
setConversationMap((draft) => {
|
setConversationMap((draft) => {
|
||||||
if (draft[conversation._id.toString()].room[otherUserId]) {
|
if (draft[conversation._id.toString()].room[otherUserId]) {
|
||||||
draft[conversation._id.toString()].room[otherUserId].stream = remoteStream;
|
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
|
// globally updating conversation so that other views can render what they want
|
||||||
toast.success('got stream from remote, going to add to our ');
|
toast.success('got stream from remote, going to add to our ');
|
||||||
|
|
||||||
|
console.log('got stream from newbie');
|
||||||
|
|
||||||
setConversationMap((draft) => {
|
setConversationMap((draft) => {
|
||||||
if (draft[conversation._id.toString()].room[res.userWhoCalled]) {
|
if (draft[conversation._id.toString()].room[res.userWhoCalled]) {
|
||||||
draft[conversation._id.toString()].room[res.userWhoCalled].stream = remoteStream;
|
draft[conversation._id.toString()].room[res.userWhoCalled].stream = remoteStream;
|
||||||
|
|||||||
Reference in New Issue
Block a user