WebcamVideoTexture
getUserMediaexport type WebcamVideoTextureProps = Omit<VideoTextureProps, 'src'> & {
constraints?: MediaStreamConstraints
}
<WebcamVideoTexture>
{(texture) => <meshBasicMaterial map={texture} />}
or exposed via ref:
const textureRef = useRef()
<WebcamVideoTexture ref={textureRef} />