From 62a453807a1abe15c56715d3975b676ee7e5c730 Mon Sep 17 00:00:00 2001 From: Jeremy Kahn Date: Sat, 11 Feb 2023 17:37:41 -0600 Subject: [PATCH] fix: show correct user name for selected video stream --- src/components/Room/RoomVideoDisplay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Room/RoomVideoDisplay.tsx b/src/components/Room/RoomVideoDisplay.tsx index 320cf7f..2ee5423 100644 --- a/src/components/Room/RoomVideoDisplay.tsx +++ b/src/components/Room/RoomVideoDisplay.tsx @@ -137,7 +137,7 @@ export const RoomVideoDisplay = ({ isSelectedVideo numberOfVideos={numberOfVideos} onVideoClick={handleVideoClick} - userId={userId} + userId={selectedPeerStream.peerId} selectedPeerStream={selectedPeerStream} videoStream={selectedPeerStream.videoStream} videoStreamType={selectedPeerStream.videoStreamType}