• Stars
    star
    169
  • Rank 224,453 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 1 year ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

webrtc streamer helper

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