Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webrtc-test-suite

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc-test-suite

Testing suite for Real life webRTC capability testing

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
50
decreased by-20.63%
Maintainers
1
Weekly downloads
 
Created
Source

webrtc-test-suite

Testing suite for Real life webRTC capability testing

this is a work in progress

How to use:

To install the package use this command:

yarn add webrtc-test-suite

Include it in the project and you will get a global object _RTCTest.

If you are using a module bundler, you can import it with:

import _test from "webrtc-test-suite";

All the check functions return a promise, or optionally you can supply a callback function as well.

// Function signatures: 
// check peer connection capabilities
checkPeerConnection(iceConfiguration,verbose[boolean],callback) // all the params are optional. Verbose creates logs
// Check media capture
checkMediaCapture(mediaConstraints,verbose[boolean],callback) // all the params are optional. Verbose creates logs
// make sure testDownload is a file and can be downloaded with AJAX (this test uses fetch)
checkInternetSpeed(testDownload,verbose[boolean],callback) // testDownload is required, return value in Mbps (Megabits Per second)

A better documentation and npm package comming soon


made with 🖤 and JavaScript.

Keywords

FAQs

Package last updated on 17 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc