webrtc-streamer-helper
TypeScript icon, indicating that this package has built-in type declarations

1.3.27 • Public • Published

npm package npm bundle size npm download week GitHub

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

@zhensherlock.

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

Package Sidebar

Install

npm i webrtc-streamer-helper

Weekly Downloads

129

Version

1.3.27

License

MIT

Unpacked Size

576 kB

Total Files

30

Last publish

Collaborators

  • zhensherlock