New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@twilio/webrtc

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twilio/webrtc - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

9

CHANGELOG.md

@@ -0,1 +1,10 @@

1.0.2 (October 6, 2017)
=======================
Bug Fixes
---------
- Calling `getUserMedia` in browsers which do not support `getUserMedia` (such
as iOS 8) would hang indefinitely. Now we reject with an error.
1.0.1 (September 12, 2017)

@@ -2,0 +11,0 @@ ==========================

4

lib/getusermedia.js

@@ -23,8 +23,10 @@ 'use strict';

navigator.mediaDevices.getUserMedia(constraints).then(onSuccess, onFailure);
return;
} else if (typeof navigator.webkitGetUserMedia === 'function') {
navigator.webkitGetUserMedia(constraints, onSuccess, onFailure);
return;
} else if (typeof navigator.mozGetUserMedia === 'function') {
navigator.mozGetUserMedia(constraints, onSuccess, onFailure);
return;
}
return;
}

@@ -31,0 +33,0 @@ onFailure(new Error('getUserMedia is not supported'));

{
"name": "@twilio/webrtc",
"version": "1.0.1",
"version": "1.0.2",
"description": "WebRTC-related APIs and shims used by twilio-video.js",

@@ -5,0 +5,0 @@ "scripts": {

twilio-webrtc.js
================
[![NPM](https://img.shields.io/npm/v/%40twilio/webrtc.svg)](https://www.npmjs.com/package/%40twilio/webrtc) [![Linux Build Status](https://travis-ci.org/twilio/twilio-webrtc.js.svg?branch=master)](https://travis-ci.org/twilio/twilio-webrtc.js) [![Windows Build Status](https://ci.appveyor.com/api/projects/status/u1fh0qnql1a4shuc/branch/master?svg=true)](https://ci.appveyor.com/project/markandrus/twilio-webrtc-js/branch/master)
twilio-webrtc.js contains the various WebRTC shims used by twilio-video.js.

@@ -5,0 +7,0 @@ It is not intended for general consumption.

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