Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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