-
-
Notifications
You must be signed in to change notification settings - Fork 335
Description
Hello cordova-rtc users,
I have released cordova-plugin-iosrtc 6.0.0
Changelog Version 6.0.0
- Use WebRTC M69
- Use WebRTC.framework
- implement PluginRTCVideoCaptureController with MediaTrackConstraintSet
- Replace the libwebrtc static lib with the dynamic library from the WebRTC.framework build process using M69 (PR #399 by @hthetiot)
- Be able to use minAspectRatio/maxAspectRatio Be able to use minAspectRatio/maxAspectRatio #287
- webrtc/adapter breaks deviceId constraint webrtc/adapter breaks deviceId constraint #282
- Support for facingMode as a video constraint Support for facingMode as a video constraint #315
- Capturing a static image from the local MediaStream Capturing a static image from the local MediaStream #116
- Added Speakerphone funcionality Added Speakerphone funcionality #379
- Restore PluginRTCAudioController including selectAudioOutput and move EnumerateDevice. setPreferredInput| saveAudioDevice into PluginRTCAudioController
- Fix closing and re-opening local stream several times Error closing and re-opening local stream several times #247
- H264 issues H264 issues #170
- implement RTCPeerConnectionFactory(encoderFactory, decoderFactory) using getSupportedVideoEncoder to enable VP8 and VP9 implement RTCPeerConnectionFactory(encoderFactory, decoderFactory) using getSupportedVideoEncoder to enable VP8 and VP9 #416
- Add Script to manipulate WebRTC binary architectures Task/ios arch #421
- Use clean WebRTC.framework build with x86 and ARM support Use clean WebRTC.framework build with x86 and arm support #412
- Decode XML entities in project name in iosrtc-swift-support.js hook Decode XML entities in project name in iosrtc-swift-support.js hook #413
- Update travis build to use Xcode 11.0 (11A420a) and iOS 13 support update travis build to use Xcode 11.0 (11A420a) and iOS 13 support #376
- Generic RTCPeerConnection constraint handling Generic RTCPeerConnection constraint handling #119 via [Resolved] Handle RTCPeerConnection optionalConstraints and mandatoryConstraints constraints #394
- Video renders in landscape, but not portrait orientation Video renders in landscape, but not portrait orientation #360
- Adapter JS change frameRate constraints Adapter JS change frameRate constraints #286
- Regression switch camera fail (stop stream, remove stream from peer, get stream, add stream to peer, renegociate, fail on m69 but not master)
- Fix GSM call interrupts the current WebRTC call (Note: Use cordova.plugins.backgroundMode.enable(); on local media Start/Stop).
Full changelogs: https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/master/CHANGELOG.md#version-600
NPM: https://www.npmjs.com/package/cordova-plugin-iosrtc
GitHub Tag: https://github.com/cordova-rtc/cordova-plugin-iosrtc/tree/6.0.0
To upgrade
cordova plugin remove cordova-plugin-iosrtc
cordova plugin add cordova-plugin-iosrtc@6.0.0
cordova platform remove ios
cordova platform add ios
Notes
Following External libraries/Enviroment have been tested.
Tests have been made by me and other members of the community.
- WebRTC W3C v1.0.0
- WebRTC.framework => M69 (Safari/Chrome/Firefox/Opera)
- Janus => 0.7.4
- JSSip => 3.1.2
- Sip.js => 0.15.6
- OpenEasyrtc => 2.0.3
- openvidu => 2.11.0
- Ionic => v8
- Jitsi ~ 3229
About Audio input/output selection and requestPermission API
See new API documentation and example usage.
iosrtc.selectAudioOutput: https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/master/docs/iosrtc.md#iosrtcselectaudiooutput
iosrtc. turnOnSpeaker : https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/master/docs/iosrtc.md#iosrtcturnonspeaker
iosrtc.requestPermission: https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/master/docs/iosrtc.md#iosrtcrequestpermission
About Apple Store Submission
You should strip simulator (i386/x86_64) archs from WebRTC binary before submit to Apple Store.
About iOS 13+ support
iOS 13.1 is supported and have been tested.
#417 will add RTCMTLVideoView aka Apple Metal support and be released in 6.0.1 or 6.0.2 depending progress.
About libwebrtc update
The version currently used by version 6.0.0 is M69 for armv7, arm64, i386, x86_64
See #412 for details.
About Unified-Plan and remote Mutlti-stream support.
Unified-Plan will be released on 6.0.1.
See #407 for details and testing.
About deprecated WebRTC Callback API
WebRTC Callbacks API have been restored since 5.0.5 but will display but only when using iosrtc.registerGlobals to disable callbacks on use iosrtc.registerGlobals(true)
Others
-
Please do not comment on an open or closed issue out of topic problems, you will annoy me and the original reporter and confuse the resolution of the issue, this not the right way to get help. Instead create a new issue and I will help you as I have proven past weeks.
-
No we have no plan to support capacitor, if capacitor want to support cordova plugin they have to do it the right way, PR are welcome anyway.