Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zhensherlock/webrtc-streamer-helper
- Owner: zhensherlock
- License: mit
- Created: 2023-03-16T09:13:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-30T18:20:12.000Z (10 days ago)
- Last Synced: 2025-01-01T10:02:27.948Z (8 days ago)
- Language: TypeScript
- Homepage:
- Size: 2.68 MB
- Stars: 170
- Watchers: 4
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# 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