download
raw
849 Bytes
import * as React from 'react';
import * as THREE from 'three';
import { VideoTextureProps } from '../core/VideoTexture';
export type WebcamVideoTextureProps = Omit<VideoTextureProps, 'src'> & {
constraints?: MediaStreamConstraints;
};
export declare const WebcamVideoTexture: React.ForwardRefExoticComponent<Omit<{
children?: (texture: THREE.VideoTexture) => React.ReactNode;
src: string | MediaProvider | null;
} & {
unsuspend?: keyof HTMLVideoElementEventMap;
start?: boolean;
hls?: Parameters<(userConfig?: Partial<import("hls.js").HlsConfig> | undefined) => Promise<import("hls.js").default | null>>[0];
onVideoFrame?: VideoFrameRequestCallback;
} & Partial<Omit<HTMLVideoElement, "children" | "src" | "srcObject">>, "src"> & {
constraints?: MediaStreamConstraints;
} & React.RefAttributes<THREE.VideoTexture>>;

Xet Storage Details

Size:
849 Bytes
·
Xet hash:
26172ed9aae201b736f3b402294ad29e8e095ed7a6bb68c1a6ac7d4832510c06

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.