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

Update camera.js #1239

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

strongstrongyiwen
Copy link

Added reset media stream properties before preview to avoid crash when sharing from MJPG stream
@saredd @chrilaMSFT @kasumman

Added reset media stream properties before preview to avoid crash when sharing from MJPG stream
@oldnewthing
Copy link
Member

Note that the javascript samples are archived and are not being maintained.

@strongstrongyiwen
Copy link
Author

Note that the javascript samples are archived and are not being maintained.

Need to update it since OEM are using it.

Added showErrorMessage function to pop up error message dialog when media capture failed (in most cases camera is being used by another app) to avoid exception caused crash of the app.
@oldnewthing
Copy link
Member

I left the as archived instead of just deleting them outright. There is no intention of servicing them. Should I delete them?

@strongstrongyiwen
Copy link
Author

I left the as archived instead of just deleting them outright. There is no intention of servicing them. Should I delete them?

I know it is archived and not maintained but one of our partners used the sample JS code to develop their product and found some issues so I need to update it. Could we just have the changes and leave it here?

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.

None yet

5 participants