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

Missing the option to applyConstraints #32

Open
kalabakas1 opened this issue Jul 17, 2023 · 1 comment
Open

Missing the option to applyConstraints #32

kalabakas1 opened this issue Jul 17, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@kalabakas1
Copy link

Hi :)

I'm in a situation where it would be nice to change e.g. the zoom level of the selected device if available.
For this I have been looking at the example from https://googlechrome.github.io/samples/image-capture/update-camera-zoom.html, but cant see how to apply this function invocation in the context of the blazor-camera-streamer package.

Can you help?

@baltermia
Copy link
Owner

baltermia commented Jul 24, 2023

Hello @kalabakas1

Currently, it's not possible to "inject" your own code into the components javascript (or HTML) to change the behaviour of the video. I could see this as a future feature though, if a few users request it.

I would suggest you copy the sourcefiles into your own project and add the missing features from the blog you linked into the Scripts/CameraStreamer.ts and Components/CameraStreamer.razor files.

Let me know if you need any further help :)

@baltermia baltermia added the enhancement New feature or request label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants