Skip to content

Commit

Permalink
Screen share stats issue resolved
Browse files Browse the repository at this point in the history
- react sdk version upgrade & screen share stats issue resolved
  • Loading branch information
BhumiSalat committed Jun 19, 2023
1 parent c1ef44f commit 150bd17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@videosdk.live/react-sdk": "^0.1.73",
"@videosdk.live/react-sdk": "^0.1.74",
"@videosdk.live/videosdk-media-processor-web": "^0.0.12",
"compressorjs": "^1.1.1",
"emoji-mart": "^3.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/meetingContainer/mainViewContainer/ParticipantViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export const CornerDisplayName = ({

useEffect(() => {
if (networkBarEnabled) {
if (webcamStream || micStream) {
if (webcamStream || micStream || screenShareStream) {
updateStats();

if (statsIntervalIdRef.current) {
Expand All @@ -274,7 +274,7 @@ export const CornerDisplayName = ({
clearInterval(statsIntervalIdRef.current);
};
}
}, [webcamStream, micStream, networkBarEnabled]);
}, [webcamStream, micStream, screenShareStream, networkBarEnabled]);

return (
<>
Expand Down

0 comments on commit 150bd17

Please sign in to comment.