Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow enumerating devices and specifying a specific device #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dobesv
Copy link

@dobesv dobesv commented Jan 28, 2021

  • Accept a new prop idealDeviceId which will pick that specific device if it is available
  • Pass back a handle to the camera photo object so that the current deviceId and available devices are accessible

Depends on MABelanger/jslib-html5-camera-photo#35 being merged & released in order to work fully

- Accept a new prop idealDeviceId which will pick that specific device if it is available
- Pass back a handle to the camera photo object so that the current deviceId and available devices are accessible
sbreiler-work added a commit to newSales-GmbH/jslib-html5-camera-photo that referenced this pull request Apr 30, 2021
(Allow enumerating devices and specifying a specific device, thanks @dobesv)

Support for getting photo as [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) or [File](https://developer.mozilla.org/en-US/docs/Web/API/File/File) (getDataBlob / getDataFile) instead of Uri (easier to use for uploading)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant