Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sec-ant/user-media-stream
A streamlined JavaScript library designed for web applications to easily handle camera streams.
https://github.com/sec-ant/user-media-stream
camera media-streams mediastream user-media webcam
Last synced: 3 months ago
JSON representation
A streamlined JavaScript library designed for web applications to easily handle camera streams.
- Host: GitHub
- URL: https://github.com/sec-ant/user-media-stream
- Owner: Sec-ant
- License: mit
- Created: 2024-01-04T16:26:16.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-29T20:47:53.000Z (8 months ago)
- Last Synced: 2024-04-29T22:10:36.856Z (8 months ago)
- Topics: camera, media-streams, mediastream, user-media, webcam
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/user-media-stream/v/latest
- Size: 805 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
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
```bash
npm i user-media-stream
```## Usage
- Media stream operations:
```ts
import { createUserMediaStream } from "user-media-stream";
```- Media constraints & capablities shim:
```ts
///
```## Acknowledgement
This package is largely inspired by the code in [`camera.ts`](https://github.com/gruhn/vue-qrcode-reader/blob/9278e21c40de79c69302650acf3659109f564681/src/misc/camera.ts) from [`gruhn/vue-qrcode-reader`](https://github.com/gruhn/vue-qrcode-reader). :heart:
## License
MIT