useVideoStream

Use a video stream from a video device.
Source:
Parameters:
Name Type Description
onLoaded OnMediaStreamLoadedCallback A callback function that is passed the newly-loaded MediaStream.
onLoading OnMediaStreamLoadingCallback A callback function that is invoked before loading the MediaStream.
videoTrackConstraints MediaTrackConstraints A set of capabilities and the value or values each can take on.