@twilio/webrtc
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -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 @@ ========================== |
@@ -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. |
91455
2223
114