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

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

Merged
davidzhao merged 3 commits into
livekit:masterfrom
Philzen:29-enable-local-mirror-control
Aug 6, 2022
Merged

Enable controlling local stream mirroring by introducing isMirrored-prop#82
davidzhao merged 3 commits into
livekit:masterfrom
Philzen:29-enable-local-mirror-control

Conversation

@Philzen

@Philzen Philzen commented Aug 6, 2022

Copy link
Copy Markdown
Contributor

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

changeset-bot Bot commented Aug 6, 2022

Copy link
Copy Markdown

🦋 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

@davidzhao davidzhao left a comment

Copy link
Copy Markdown
Member

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

Philzen commented Aug 6, 2022

Copy link
Copy Markdown
Contributor Author

@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