webrtc-streamer-helper
v1.4.4
Published
webrtc streamer helper
Downloads
55
Maintainers
Readme
webrtc-streamer-helper
This is a webrtc streamer helper.
Installing
# or pnpm or yarn
npm install webrtc-streamer-helper
Usage
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
Contributing
Feel free to dive in! Open an issue or submit PRs.
Standard Readme follows the Contributor Covenant Code of Conduct.
Contributors
This project exists thanks to all the people who contribute.
License
MIT © MichaelSun