fix: show correct user name for selected video stream

This commit is contained in:
Jeremy Kahn 2023-02-11 17:37:41 -06:00
parent d7287b5f6d
commit 62a453807a

View File

@ -137,7 +137,7 @@ export const RoomVideoDisplay = ({
isSelectedVideo isSelectedVideo
numberOfVideos={numberOfVideos} numberOfVideos={numberOfVideos}
onVideoClick={handleVideoClick} onVideoClick={handleVideoClick}
userId={userId} userId={selectedPeerStream.peerId}
selectedPeerStream={selectedPeerStream} selectedPeerStream={selectedPeerStream}
videoStream={selectedPeerStream.videoStream} videoStream={selectedPeerStream.videoStream}
videoStreamType={selectedPeerStream.videoStreamType} videoStreamType={selectedPeerStream.videoStreamType}