Key participants on stream id not user id
This commit is contained in:
parent
90f9cb9501
commit
55bc3df2fc
1 changed files with 2 additions and 2 deletions
|
@ -365,7 +365,7 @@ function InRoomView({
|
|||
|
||||
for (const callFeed of userMediaFeeds) {
|
||||
participants.push({
|
||||
id: callFeed.userId,
|
||||
id: callFeed.stream.id,
|
||||
callFeed,
|
||||
isActiveSpeaker:
|
||||
screenshareFeeds.length === 0
|
||||
|
@ -376,7 +376,7 @@ function InRoomView({
|
|||
|
||||
for (const callFeed of screenshareFeeds) {
|
||||
participants.push({
|
||||
id: callFeed.userId + "-screenshare",
|
||||
id: callFeed.stream.id,
|
||||
callFeed,
|
||||
isActiveSpeaker: true,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue