twilio-conversations
Advanced tools
Comparing version 0.13.7 to 0.13.8
{ | ||
"name": "twilio-conversations", | ||
"version": "0.13.7", | ||
"version": "0.13.8", | ||
"description": "Twilio Conversations JavaScript library", | ||
@@ -5,0 +5,0 @@ "license": "BSD", |
@@ -0,1 +1,9 @@ | ||
0.13.8 | ||
====== | ||
Bug Fixes | ||
--------- | ||
- Fixed Track playback on Chrome 48 for Android (JSDK-661) | ||
0.13.7 | ||
@@ -9,3 +17,3 @@ ====== | ||
and readded (JSDK-574) | ||
- Fixed a strict mode error that effected Safari (JSDK-692) | ||
- Fixed a strict mode error that affected Safari (JSDK-692) | ||
@@ -12,0 +20,0 @@ 0.13.6 |
@@ -244,3 +244,3 @@ 'use strict'; | ||
var child = safeSpawn('node', | ||
[mocha, integrationTestIndex], | ||
[mocha, integrationTestIndex, '--timeout', '5000'], | ||
{ stdio: 'inherit' }); | ||
@@ -247,0 +247,0 @@ child.on('close', function(code) { |
@@ -153,15 +153,5 @@ 'use strict'; | ||
el.autoplay = true; | ||
el = this._attach(el); | ||
// (rrowland) Chrome on Android does not allow el.play() to be | ||
// called unless it originates from a user gesture. As a fallback, | ||
// we set el.autoplay = true if el.play() throws. Sometimes, | ||
// el.play() is a Promise, other times not, so we wrap to catch | ||
// both cases. | ||
new Promise(function(resolve) { | ||
resolve(el.play()); | ||
}).catch(function() { | ||
el.autoplay = true; | ||
}); | ||
return el; | ||
@@ -168,0 +158,0 @@ }; |
@@ -377,5 +377,16 @@ 'use strict'; | ||
var tracks = Array.from(this._localStreams).reduce(function(tracks, stream) { | ||
return tracks.concat(stream.getTracks().map(function(track) { | ||
return { | ||
enabled: track.enabled, | ||
id: track.id, | ||
kind: track.kind | ||
}; | ||
})); | ||
}, []); | ||
return { | ||
protocol_version: 'v2', | ||
peer_connections: peerConnections | ||
peer_connections: peerConnections, | ||
tracks: tracks | ||
}; | ||
@@ -382,0 +393,0 @@ }; |
@@ -5,3 +5,3 @@ { | ||
"description": "Twilio Conversations JavaScript library", | ||
"version": "0.13.7", | ||
"version": "0.13.8", | ||
"homepage": "https://twilio.com", | ||
@@ -8,0 +8,0 @@ "author": "Mark Andrus Roberts <mroberts@twilio.com>", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1503187