Skip to content

michael-chauvin/webrtc-streamer-helper

 
 

Repository files navigation

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'
)

License

MIT.

About

webrtc streamer helper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 75.5%
  • JavaScript 24.1%
  • Shell 0.4%