https://github.com/zhensherlock/webrtc-streamer-helper
webrtc streamer helper
https://github.com/zhensherlock/webrtc-streamer-helper
Last synced: 3 months 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T09:58:48.000Z (3 months ago)
- Last Synced: 2025-04-12T10:39:56.088Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 2.69 MB
- Stars: 169
- Watchers: 4
- Forks: 2
- Open Issues: 11
-
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