Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Issue 2721163002: Add support for RTCConfiguration.iceCandidatePoolSize. (Closed)

Created:
3 years, 9 months ago by Taylor_Brandstetter
Modified:
3 years, 9 months ago
Reviewers:
hbos_chromium, foolip
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, haraken, feature-media-reviews_chromium.org, dglazkov+blink, darin-cc_chromium.org, blink-reviews, blink-reviews-api_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for RTCConfiguration.iceCandidatePoolSize. This is a performance optimization that will result in ICE candidates being gathered before setLocalDescription has been called. Later, when setLocalDescription *is* called, any pooled candidates will be fired in an "icecandidate" event immediately. Besides candidate gathering appearing to occur quicker, this optimization doesn't have any effects visible to JavaScript. Note that the pool size can only be changed before setLocalDescription, as described by JSEP. This pool is only intended to be used for the first offer/answer, after which an ICE restart must be used to gather new candidates. Intent to Implement and Ship thread: https://groups.google.com/a/chromium.org/d/msg/blink-dev/dWXRWoi5ueg/nFiVhj5LCAAJ BUG=chromium:673395 Review-Url: https://codereview.chromium.org/2721163002 Cr-Commit-Position: refs/heads/master@{#456998} Committed: https://chromium.googlesource.com/chromium/src/+/ff92bdcc0bed8878b0989f14993b3aec98a4769b

Patch Set 1 #

Patch Set 2 : Updating layout tests. #

Patch Set 3 : Adding back log statement for test. #

Total comments: 4

Patch Set 4 : Adding more cases to layout test. #

Patch Set 5 : Update layout test expectations. #

Total comments: 6

Patch Set 6 : Changing candidate pool size to octet (0-255). #

Patch Set 7 : Update layout test expectations due to switch from unsigned short to octet. #

Total comments: 2

Patch Set 8 : Adding tests for corner cases of candidate pool size. #

Patch Set 9 : Merge with master #

Messages

Total messages: 36 (21 generated)
Taylor_Brandstetter
foolip@chromium.org: Please review changes in WebRtcConfiguration.h. hbos@chromium.org: Please review changes everywhere else.
3 years, 9 months ago (2017-03-01 19:32:26 UTC) #9
Taylor_Brandstetter
foolip@chromium.org: Please review changes in WebRtcConfiguration.h. hbos@chromium.org: Please review changes everywhere else.
3 years, 9 months ago (2017-03-01 19:32:27 UTC) #11
foolip
https://codereview.chromium.org/2721163002/diff/40001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html File third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html (right): https://codereview.chromium.org/2721163002/diff/40001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html#newcode48 third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html:48: shouldNotThrow("new RTCPeerConnection({iceCandidatePoolSize:1});"); Also test 0? That's where an off-by-one ...
3 years, 9 months ago (2017-03-02 12:38:30 UTC) #12
Taylor_Brandstetter
https://codereview.chromium.org/2721163002/diff/40001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html File third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html (right): https://codereview.chromium.org/2721163002/diff/40001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html#newcode48 third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html:48: shouldNotThrow("new RTCPeerConnection({iceCandidatePoolSize:1});"); On 2017/03/02 12:38:30, foolip wrote: > Also ...
3 years, 9 months ago (2017-03-02 21:57:01 UTC) #13
hbos_chromium
lgtm if my question about the spec isn't a problem that requires re-review. https://codereview.chromium.org/2721163002/diff/80001/content/renderer/media/peer_connection_tracker.cc File ...
3 years, 9 months ago (2017-03-03 11:56:07 UTC) #14
foolip
If there's no particular hurry, I think we should wait for https://github.com/w3c/webrtc-pc/issues/1048 to be settled. ...
3 years, 9 months ago (2017-03-03 15:06:04 UTC) #15
Taylor_Brandstetter
Totally agree we should wait for issues to resolve before landing this. There's no rush ...
3 years, 9 months ago (2017-03-03 18:44:46 UTC) #16
Taylor_Brandstetter
Spec issues should be addressed now. We ended up making iceCandidatePoolSize an octet.
3 years, 9 months ago (2017-03-10 23:40:07 UTC) #19
hbos_chromium
lgtm
3 years, 9 months ago (2017-03-13 09:20:09 UTC) #22
foolip
lgtm. Can you link to https://groups.google.com/a/chromium.org/d/msg/blink-dev/dWXRWoi5ueg/nFiVhj5LCAAJ in the description? https://codereview.chromium.org/2721163002/diff/120001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html File third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html (right): https://codereview.chromium.org/2721163002/diff/120001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html#newcode52 third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html:52: ...
3 years, 9 months ago (2017-03-14 14:49:06 UTC) #23
Taylor_Brandstetter
https://codereview.chromium.org/2721163002/diff/120001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html File third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html (right): https://codereview.chromium.org/2721163002/diff/120001/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html#newcode52 third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection.html:52: shouldThrow("new RTCPeerConnection({iceCandidatePoolSize:99999999});"); On 2017/03/14 14:49:06, foolip wrote: > Can ...
3 years, 9 months ago (2017-03-14 22:23:11 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2721163002/140001
3 years, 9 months ago (2017-03-14 22:24:25 UTC) #28
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/LayoutTests/external/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt: While running git apply --index -p1; <stdin>:21: trailing whitespace. ...
3 years, 9 months ago (2017-03-15 01:42:20 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2721163002/160001
3 years, 9 months ago (2017-03-15 02:57:23 UTC) #33
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 05:07:57 UTC) #36
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/ff92bdcc0bed8878b0989f14993b...

Powered by Google App Engine
This is Rietveld 408576698