mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Key participants on stream id not user id
This commit is contained in:
parent
90f9cb9501
commit
55bc3df2fc
@ -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…
Reference in New Issue
Block a user