This repository has been archived by the owner on Aug 24, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable controlling local stream mirroring by introducing
isMirrored
…
…-prop (#82) * Simplify code, reduce duplication, express intent clearer * 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 * Add `isMirrored`-prop to enable overriding the default behaviour Closes #29 * Create wild-otters-complain.md Co-authored-by: David Zhao <[email protected]>
- Loading branch information