Update wrtc to the latest version 🚀 #267
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.
Version 0.1.0 of wrtc was just published.
The version 0.1.0 is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of wrtc.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
v0.1.0This project will begin to follow SemVer in preparation for a 1.0.0 release.
New Features
Besides updating to WebRTC M60 (using mayeut/libwebrtc), this release adds a number of features that bring node-webrtc closer to standards-compliance. We still have a ways to go, but we're now testing against w3c/web-platform-tests.
RTCConfiguration
RTCPeerConnection's constructor now accepts the following standard properties:
bundlePolicy
iceCandidatePoolSize
iceServers
(no support for OAuth yet)iceTransportPolicy
rtcpMuxPolicy
RTCConfiguration also accepts a non-standard property,
portRange
. This property constrains the port range used by the RTCPeerConnection's ICE transports. For example,RTCPeerConnection
RTCPeerConnection now supports two new methods:
getConfiguration
setConfiguration
RTCPeerConnection now supports the following properties:
canTrickleIceCandidates
(always returnsnull
for now)connectionState
(derived fromiceConnectionState
)currentLocalDescription
currentRemoteDescription
pendingLocalDescription
pendingRemoteDescription
RTCPeerConnection now supports the following events:
RTCOfferOptions and RTCAnswerOptions
RTCPeerConnection's
createOffer
method now accepts RTCOfferOptions, and RTCPeerConnection'screateAnswer
method now accepts RTCAnswerOptions. RTCOfferOptions supportsiceRestart
offerToReceiveAudio
offerToReceiveVideo
Both RTCOfferOptions and RTCAnswerOptions support
voiceActivityDetection
.RTCDataChannelInit
RTCPeerConnection's
createDataChannel
method now acceptsid
maxPacketLifeTime
maxRetransmits
negotiated
ordered
protocol
RTCDataChannel
RTCDataChannel supports the following properties:
id
maxRetransmits
ordered
priority
(always returns "high")protocol
RTCDataChannel's
send
method now supports sending Blobs provided by jsdom; however, there is no support for receiving Blobs.Top-level Exports
Added top-level exports for
Bug Fixes
Breaking Changes
lib/browser.js
. This means that, when bundling JavaScript that depends on node-webrtc for the browser, the resulting bundle will no longer depend on these APIs (#369).url
attribute in RTCIceServer.RTCIceConnectionStates
,RTCIceGatheringStates
, andRTCSignalingStates
properties on the RTCPeerConnection prototype. These were an implementation detail that some libraries used for detecting node-webrtc.RTCDataStates
andBinaryTypes
properties on the RTCDataChannel prototype. This, too, was an implementation detail.Commits
The new version differs by 72 commits.
1c6493f
Update CHANGELOG.md and README.md (#380)
202e919
[publish binary] wrtc@0.1.0
35f5ced
Prepare for 0.1.0 (#379)
b0cc60c
Run make format
ced77ae
Add support for onnegotiationneeded
68cb07c
Address make check feedback
4a6d751
Make progress on RTCDataChannel-send.html
002c50f
Pass RTCPeerConnection-setRemoteDescription-pranswer.html
7cb6a89
Pass RTCPeerConnection-setRemoteDescription-answer.html
ff57143
Pass RTCPeerConnection-setLocalDescription-answer.html
6d25bb5
Try to fix Windows
a27cfdd
Pass RTCPeerConnection-setLocalDescription.html
6f789cd
Pass promises-call.html
1e361c3
Pass no-media-call.html
3c95725
Pass RTCPeerConnection-ondatachannel.html
There are 72 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴