Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Enable controlling local stream mirroring by introducing isMirrored-prop #82

Merged
merged 3 commits into from
Aug 6, 2022

Conversation

Philzen
Copy link
Contributor

@Philzen Philzen commented Aug 6, 2022

This is my suggestion to give people a way to avoid the problem described in #29

If somebody would like to add a checkbox to control this prop into the live example app, that'd be great (i don't have an access token at hand to test this).

Philzen added 2 commits August 6, 2022 23:29
* the `isLocal &&` logic was effectively duplicated in `isFrontFacing`,
  but does not semantically answer this yes/no question
* `isFrontFacing` was not the most appropriate name so far, as it is
  also `true` when `facingMode` or `mediaStreamTrack` are undefined,
  hence this is a better name
@changeset-bot
Copy link

changeset-bot bot commented Aug 6, 2022

🦋 Changeset detected

Latest commit: 3156bef

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@livekit/react-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! thank you for fixing this.

@davidzhao davidzhao merged commit d94b678 into livekit:master Aug 6, 2022
@github-actions github-actions bot mentioned this pull request Aug 6, 2022
@Philzen
Copy link
Contributor Author

Philzen commented Aug 6, 2022

@davidzhao my pleasure 😇

Maybe somebody could add a checkbox to control this prop to the example app?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants