mozmorris / react-webcam

Webcam component
https://codepen.io/mozmorris/pen/JLZdoP
MIT License
1.65k stars 281 forks source link

Use `image tracks` properties #348

Open robonetphy opened 2 years ago

robonetphy commented 2 years ago

How can we use image track properties with react-webcam? It will be handy if we have these properties on video streaming which will help to adjust the following things:

you can check out their references:

Do we have such functionality or I can create it?

BradPrit09 commented 2 years ago

You can apply the props on MediaTrackConstraints to get the desired o/p.

ShareinSK commented 2 years ago

@BradPrit09 @mozmorris Can you please share an example of how construct the videoConstraint object for zoom or focusMode as an example?

I tried to follow the aspectRatio example given in the docs but that does not work for any of the options mentioned above by @robonetphy

sinclas commented 1 year ago

Was there any update on the zoom?