f4dc8d9d69
After the code to mirror the video-preview component was added I noticed that I improperly used the userId property of an undefined argument as the video-preview does not have a user as a prop. This commit decouples the logic to verify if the webcam should be mirrored and whether the webcam belongs to that user. In the latter, we verify if the user parameter exists and use it in a conditional, otherwise we simply return true (applies with the video preview component), where there is only one video stream. |
||
---|---|---|
.. | ||
component.jsx | ||
container.jsx | ||
service.js | ||
styles.scss |