- Fix MediaStream.create false positive "ERROR: video track not added" and "ERROR: audio track not added" cause the rtcMediaStream already has them internaly trigger by getUserMedia.
- Detect callbacks usage and throw error instead of been silent to assist 5.0.1 to 5.0.2 migration from callback based API.
- Fix MediaStream.active getter issue.
- Fix cordova.plugins.iosrtc.observeVideo MutationObserver issue with srcObject using loadstart and emptied events that does get triggered.
- Add NSBluetoothAlwaysUsageDescription to Info.plist for wireless headphones and microphone consent.
- Deprecate usage of
video.src = URL.createObjectURL(stream)
in favor ofvideo.srcObject = stream
only MediaStream are not Blob anymore. (PR #388 by @hthetiot). - Update audio input priority to Wired microphone > Wireless microphone > built-in microphone. (PR #387 by @CSantosM).
- Set default deployment target to 10.2
- Remove callback based API
- Implement RTCPeerConnection.getSenders|getReceivers|addTrack|removeTrack
- Fix webrtc-adapter external library support
- Fix Blob prototype pollution
- Extend native MediaStream instead of using Blob
- Fix RTCPeerConnection.setLocalDescription() and other methods which take SDP as input now directly accept an object
- Upgrade packages debug to ^4.1.1 and yaeti to ^1.0.2
- Add cordova.plugins.iosrtc.getUserMedia MediaTrackConstraints.(video|audio).deviceId.(exact|ideal) support (PR #374 by @CSantosM).
- Add cordova.plugins.iosrtc.getMediaDevices bluetooth and wired audio devices support (PR #374 by @CSantosM).
- fix TypeError: undefined is not an object (evaluating 'stream.id') when removing stream PR #383 by @hthetiot via @l7s).
- fix typo on iosrtcPlugin.swift
- fix README.md
- Convert syntax to Swift 4.2
- Uncomment, and fix, onGetStatsCallback closure
- Update NPM dependencies
- Add Travis build (Ionic, Cordova, Browser, Android, iOS Xcode 10.2)
- Fix gulp browserify caused by old vinyl package version
- Migrate from jscs to eslint to fix vulnerabilities reported by npm audit
getUserMedia
constraints: AllowsourceId
(rather than justdeviceId
) to make adapter.js happy (#282).
- Let
addIceCandidate()
be called with aRTCIceCandidateInit
object as argument (as per the latest WebRTC spec) rather than mandating aRTCIceCandidate
instance.
- Moved the repository over to its new home with the Basque VoIP Mafia
- Fix compatibility with "--browserify" cordova option
- Convert syntax to Swift 3
- Remove rtcninja integration
- Remove selectAudioOutput function
- Add convenience Makefile
- Update documentation
- Fix promise implementation of RTCPeerConnection.getStats
- Fix emitting "connected" stream event for local streams when using getUserMedia with promises.
-
Add support for RTCPeerConnection.getStats (PR #163 by @oNaiPs)
-
Set default deployment target to 9.0
-
Document iOS 10 specific stuff
-
Fix crash if RTCPeerConnection.close() is called twice
-
Data channel improvements
-
Updated documentation
-
Implement
RTCPeerConnection.createDTMFSender()
(PR #189 by @saghul). -
Make
ios-websocket-hack.js
more reliable.
-
Fix positioning video elements using
z-index
and allow pure HTML on top of<video>
elements (PR #179 by @saghul and @1N50MN14). -
Improve
ios-websocket-hack.js
(PR #138 by @apparition47).
-
Upgrade to
cordova-ios
4 (PR #159 by @apparition47). -
Swift: Use closure syntax for weak and unowned vars (PR #160 by @oNaiPs).
-
Swift: Sanitize arguments given to
NSLog()
(issue #157). -
MediaDeviceInfo
: Add deprecatedfacing
property ("front", "back" or "unknown") and updatekind
("audio"/"video" become "audioinput"/"videoinput") (issue #155). -
Update
libwebrtc
to revision 12558 (issue #169).
-
Fix crash (issue #144).
-
Update NPM dependencies.
-
Enable iOS native H.264 encoder/decoder.
-
RTCDataChannel
: Allow emptylabel
(issue #124). -
Update yaeti dependency (issue #123).
-
Fix retain on
pluginMediaStreamTrack
does not allow camera/mic to be freed (PR #126). Credits to @oNaiPs. -
Allow a handled video element to be removed from the DOM and added again later (PR #127). Credits to @oNaiPs.
- Update
libwebrtc
to revision 11063 soMediaStream
events (onaddtrack
andonremovetrack
) work again (issue #95).
getUserMedia()
: Fireerrback
if given video constraints are not satisfied.
- Move from
getMediaDevices()
toenumerateDevices()
. - Implement video constraints in
getUserMedia()
:deviceId
,width.min
,width.max
,height.min
,height.max
,frameRate
,frameRate.min
,frameRate.max
). - Update deps and build on Node >= 4.
- Update libwebrtc to latest revision (rev 10800).
- Enble iOS native H264 codec.
- Enable CSS padding (thanks to @saghul) (pull request #89).
- Don't crash if user or iOS settings deny access lo local audio/video devices (issue #73).
- Swift 2.0 is here! Credits to @saghul for his pull request.
extra/hooks/iosrtc-swift-support.js
: SetBUILD_VERSION
to 7.0.
- Add
cordova.plugins.iosrtc.observeVideo(video)
API for the plugin to handle<video>
elements not yet in the DOM (issue #49).
- Support CSS
border-radius
property in HTML video elements.
- Make private properties more private (issue #34).
- Use yaeti module as
EventTarget
shim.
- Release
MediaStreamRenderer
and revert<video>
properties when the attachedMediaStream
emits "inactive" (issue #27).
- Implemented some
<video>
properties such asreadyState
,videoWidth
andvideoHeight
(issue #25). - Building simplified for both Cordova CLI and Xcode by providing a single "hook" the user must add into his Cordova application (check the Building documentation for further details).
- CSS
object-fit: none
properly implemented (don't clip the video).
- CSS object-fit property implemented in
<video>
elements (issue #23).
- Stop "error" event propagation in
<video>
element when attaching aMediaStream
to it (issue #22).
- Plugin moved to NPM registry and plugin ID renamed to cordova-plugin-iosrtc.
iosrtc.registerGlobals()
also generateswindow.webkitRTCPeerConnection
andnavigator.webkitGetUserMedia()
for backwards compatibility with WebRTC JavaScript wrappers/adapters that assume browser vendor prefixes (webkit
,moz
) in the underlying WebRTC API.