Skip to content

Commit

Permalink
Fix filtering for video streams
Browse files Browse the repository at this point in the history
  • Loading branch information
DoubleMalt committed Aug 18, 2022
1 parent 677a034 commit c87a57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jam-core/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function VideoState() {
let {camStream, hasRequestedOnce, hasCamFailed} = result;

const remoteVideoStreams = remoteStreams.filter(
stream => (stream.name = 'video')
stream => stream.name === 'video'
);

return {myVideo: camStream, hasCamFailed, remoteVideoStreams};
Expand Down

0 comments on commit c87a57e

Please sign in to comment.