user-media-stream
v0.1.1
Published
A streamlined JavaScript library designed for web applications to easily handle camera streams.
Downloads
24
Maintainers
Readme
user-media-stream
This is a streamlined JavaScript library designed for web applications to easily handle camera streams. Its main goal is to offer straightforward methods for managing camera interactions, with a focus on compatibility and simplicity.
Installation
npm i user-media-stream
Usage
Media stream operations:
import { createUserMediaStream } from "user-media-stream";
Media constraints & capablities shim:
/// <reference types="user-media-stream/media-track-shims" />
Acknowledgement
This package is largely inspired by the code in camera.ts
from gruhn/vue-qrcode-reader
. :heart:
License
MIT