Missing the option to applyConstraints
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?
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 :)