Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref: Changes how isVideoPlayable is computed.
This commit changes how the SmallVideo.isVideoPlayable method works. 1st we remove the check on the video stream muted field (materialized with the !this.videoStream.isMuted() guard). This check is redundant as it is already materialized in the !this.isVideoMuted check (the isVideoMuted field is updated with the return value of the videoStream.isMuted() method). 2nd we return false if we're in audio only mode, because it's (obviously) undesirable to have a playable video when in audio only mode.
- Loading branch information