Skip to content

Conversation

@sagarsingh23
Copy link

this pr is regarding the bug we are getting when two user is connecting through video chat on the one screen the other's person video is not appearing.

@sagarsingh23
Copy link
Author

quick fix : the remoteVideoStream was not getting rendered again so just a condition check for remoteVideoStream will solve the problems

@sagarsingh23
Copy link
Author

sagarsingh23 commented Jul 17, 2023

@hkirat
Explaination:
The Fix for this bug is earlier their was a condition missing two check if the remoteVideoStream contains value so regardless of the value in then Video component it is rendering it ann that was the reason it is displaying blank or undefined video element.

After the condition check for remoteVideoStream && is used to check if remoteVideoStream has a value before rendering the corresponding Video component. This will ensures that the remote video is only displayed if there is a valid remoteVideoStream and if remoteVideoStream is null or undefined, the item will not be rendered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant