UNPKG

awrtc_browser

Version:

Compatible browser implementation to the Unity asset WebRTC Video Chat. Try examples in build folder

10 lines (9 loc) 334 B
export declare class VideoInput { private canvasDevices; constructor(); AddCanvasDevice(deviceName: string, canvas: HTMLCanvasElement): void; RemCanvasDevice(deviceName: string): void; HasDevice(dev: string): boolean; GetStream(dev: string): MediaStream | null; GetDeviceNames(): Array<string>; }