From 57a202c50ccbe2018838d041cdf9e97090d08aef Mon Sep 17 00:00:00 2001 From: Harold Thetiot Date: Tue, 17 Sep 2019 20:20:59 +0200 Subject: [PATCH] Deprecate usage of 'video.src = URL.createObjectURL(stream)' in favor of 'video.srcObject = stream' only MediaStream are not Blob anymore. --- CHANGELOG.md | 6 +++ FAQ.md | 2 +- dist/cordova-plugin-iosrtc.js | 74 +++------------------------ docs/iosrtc.md | 2 +- extra/renderer-and-libwebrtc-tests.js | 1 - js/MediaStream.js | 1 - js/videoElementsHandler.js | 71 +++---------------------- 7 files changed, 22 insertions(+), 135 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 145d3c55..26e8b2a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ +#### Version 5.0.3 + +* Deprecate usage of `video.src = URL.createObjectURL(stream)` in favor of `video.srcObject = stream` only MediaStream are not Blob anymore. + #### Version 5.0.2 + * Set default deployment target to 10.2 * Remove callback based API * Implement RTCPeerConnection.getSenders|getReceivers|addTrack|removeTrack @@ -12,6 +17,7 @@ * fix TypeError: undefined is not an object (evaluating 'stream.id') when removing stream [PR #383](https://github.com/cordova-rtc/cordova-plugin-iosrtc/pull/383) by @hthetiot via @l7s). #### Version 5.0.1 + * fix typo on iosrtcPlugin.swift #### Version 5.0.0 diff --git a/FAQ.md b/FAQ.md index 40087815..d01bde1f 100644 --- a/FAQ.md +++ b/FAQ.md @@ -1,6 +1,6 @@ # FAQ -**Q:** What about `