react-webcam icon indicating copy to clipboard operation
react-webcam copied to clipboard

Use `image tracks` properties

Open robonetphy opened this issue 2 years ago • 3 comments

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:

  • whiteBalanceMode
  • exposureMode
  • focusMode
  • zoom

you can check out their references:

Do we have such functionality or I can create it?

robonetphy avatar May 13 '22 04:05 robonetphy

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

BradPrit09 avatar Jul 19 '22 04:07 BradPrit09

@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

ShareinSK avatar Aug 10 '22 19:08 ShareinSK

Was there any update on the zoom?

sinclas avatar Sep 28 '22 21:09 sinclas