cordova-plugin-iosrtc
Advanced tools
Comparing version 6.0.19 to 6.0.20
@@ -0,1 +1,4 @@ | ||
#### Version 6.0.20 | ||
* fix Remove extmap-allow-mixed sdp header on RTCPeerConnection.prototype.setRemoteDescription to handle chrome 89 | ||
#### Version 6.0.19 | ||
@@ -2,0 +5,0 @@ * fix MediaStreamRenderer doesn't call PluginMediaStreamTrack.unregisterRender = stuck reference. #649 |
@@ -294,2 +294,12 @@ /** | ||
// Remove extmap-allow-mixed sdp header | ||
if (desc && desc.sdp && desc.sdp.indexOf('\na=extmap-allow-mixed') !== -1) { | ||
desc = new RTCSessionDescription({ | ||
type: desc.type, | ||
sdp: desc.sdp.split('\n').filter((line) => { | ||
return line.trim() !== 'a=extmap-allow-mixed'; | ||
}).join('\n') | ||
}); | ||
} | ||
// "This is no longer necessary, however; RTCPeerConnection.setLocalDescription() and other | ||
@@ -296,0 +306,0 @@ // methods which take SDP as input now directly accept an object conforming to the RTCSessionDescriptionInit dictionary, |
{ | ||
"name": "cordova-plugin-iosrtc", | ||
"version": "6.0.19", | ||
"version": "6.0.20", | ||
"description": "Cordova iOS plugin exposing the full WebRTC W3C JavaScript APIs", | ||
@@ -5,0 +5,0 @@ "author": "Iñaki Baz Castillo (https://inakibaz.me)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
57442058
8837