Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zhensherlock/webrtc-streamer-helper

webrtc streamer helper
https://github.com/zhensherlock/webrtc-streamer-helper

Last synced: 1 day ago
JSON representation

webrtc streamer helper

Awesome Lists containing this project

README

        


npm package
npm bundle size
npm download week
GitHub

# webrtc-streamer-helper

> This is a webrtc streamer helper.

## Installing

```bash
# or pnpm or yarn
npm install webrtc-streamer-helper
```

## Usage

```ts
import { WebRTCStreamer } from 'webrtc-streamer-helper'

const webRtcServer = new WebRTCStreamer({
url: 'http://10.57.2.244:8000',
element: '#div-1'
})

webRtcServer.connect(
videoUrl,
audioUrl,
'rtptransport=tcp&timeout=60&width=320&height=0'
)
```

## Maintainers

[@zhensherlock](https://github.com/zhensherlock).

## Contributing

Feel free to dive in! [Open an issue](https://github.com/zhensherlock/webrtc-streamer-helper/issues/new/choose) or submit PRs.

Standard Readme follows the [Contributor Covenant](http://contributor-covenant.org/version/1/3/0/) Code of Conduct.

### Contributors

This project exists thanks to all the people who contribute.



## License

[MIT](LICENSE) © MichaelSun