Let user create texture from webcam

I know of WebcamTexture, VideoTexture and Locatexturefile. I am trying make a combo of them. I would like to allow the user to record a section of audio and video from their webcam to use as a texture. I think I can piece it together from the mentioned ops but I was wondering if anyone has already tried this out.


Hi Tatecarson,

Can you be more specific? Do you mean record video and audio for say a few seconds and then be able to play that back?

Hi andro,

Yes, I am basically trying to recreat this: https://mdn.mozillademos.org/en-US/docs/Web/API/MediaStream_Recording_API/Recording_a_media_element$samples/Example?revision=1565983 but in cables and use that recording as a texture. In this instance its a blob that gets added back to a video element to play. I am trying to figure it out by writing a custom op but I just started with those, thanks to your videos, so I am a little lost.