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

Issue 1963053002: Direct IP connect functionality for AppRTC Android demo. (Closed)

Created:
4 years, 7 months ago by sakal
Modified:
4 years, 7 months ago
Reviewers:
magjed_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Direct IP connect functionality for AppRTC Android demo. This allows connecting between clients without using external servers, which is useful to OEMs if they are working in a network without internet connection. Implementation uses custom AppRTCClient that replaces WebSocketRTCClient if roomId looks like an IP. Instead of a web socket, this class uses direct TCP connection between peers as a signaling channel. Committed: https://crrev.com/299ccdee0c08b520961025ef7945ca204e378b49 Cr-Commit-Position: refs/heads/master@{#12789}

Patch Set 1 #

Total comments: 37

Patch Set 2 : Fixes according to reviewer comments. #

Patch Set 3 : Fixed one more 8 space indent to 4 space. #

Patch Set 4 : Removed empty param description since they are not allowed according to the style guide. #

Total comments: 4

Patch Set 5 : Fixes according to the comments. #

Patch Set 6 : Rebase #

Patch Set 7 : Add test for TCPChanneClient #

Patch Set 8 : Added a few missing spaces #

Patch Set 9 : Reorder field modifiers #

Total comments: 10

Patch Set 10 : Fixes according to comments #

Patch Set 11 : Remove unused imports #

Patch Set 12 : Moved RobolectricLooperExecutor implementation to a separate class #

Patch Set 13 : Made running boolean volatile #

Total comments: 1

Patch Set 14 : Typo fix #

Patch Set 15 : Add Override to checkOnLooperThread #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1038 lines, -3 lines) Patch
M webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java View 1 2 3 4 5 2 chunks +9 lines, -3 lines 0 comments Download
A webrtc/examples/androidapp/src/org/appspot/apprtc/DirectRTCClient.java View 1 2 3 4 1 chunk +354 lines, -0 lines 0 comments Download
A webrtc/examples/androidapp/src/org/appspot/apprtc/TCPChannelClient.java View 1 2 3 4 5 6 1 chunk +362 lines, -0 lines 0 comments Download
A webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +195 lines, -0 lines 0 comments Download
A webrtc/examples/androidjunit/src/org/appspot/apprtc/util/RobolectricLooperExecutor.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +118 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
sakal
Magnus, please take a look.
4 years, 7 months ago (2016-05-10 08:45:59 UTC) #3
magjed_webrtc
Looks great overall! I mostly have some nit comments. Also, you should use 4 space ...
4 years, 7 months ago (2016-05-10 14:50:03 UTC) #4
sakal
Fixed the issues. https://codereview.webrtc.org/1963053002/diff/1/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java File webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java (right): https://codereview.webrtc.org/1963053002/diff/1/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java#newcode244 webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java:244: if(loopback || !DirectRTCClient.IP_PATTERN.matcher(roomId).matches()) { On 2016/05/10 ...
4 years, 7 months ago (2016-05-11 08:38:50 UTC) #5
magjed_webrtc
This is a rather big change, so please add a rationale in the CL description, ...
4 years, 7 months ago (2016-05-11 11:22:56 UTC) #6
sakal
https://codereview.webrtc.org/1963053002/diff/60001/webrtc/examples/androidapp/src/org/appspot/apprtc/DirectRTCClient.java File webrtc/examples/androidapp/src/org/appspot/apprtc/DirectRTCClient.java (right): https://codereview.webrtc.org/1963053002/diff/60001/webrtc/examples/androidapp/src/org/appspot/apprtc/DirectRTCClient.java#newcode117 webrtc/examples/androidapp/src/org/appspot/apprtc/DirectRTCClient.java:117: if(!matcher.matches()) { On 2016/05/11 11:22:56, magjed_webrtc wrote: > nit: ...
4 years, 7 months ago (2016-05-11 12:19:43 UTC) #7
sakal
AlexG, can you take a look at this changelist, please?
4 years, 7 months ago (2016-05-11 12:58:50 UTC) #10
magjed_webrtc
On 2016/05/11 12:58:50, sakal wrote: > AlexG, can you take a look at this changelist, ...
4 years, 7 months ago (2016-05-12 12:38:59 UTC) #12
magjed_webrtc
This is a lot of new code so you should probably try to add a ...
4 years, 7 months ago (2016-05-12 12:42:12 UTC) #14
sakal
On 2016/05/12 12:42:12, magjed_webrtc wrote: > This is a lot of new code so you ...
4 years, 7 months ago (2016-05-17 11:03:18 UTC) #16
magjed_webrtc
https://codereview.webrtc.org/1963053002/diff/180001/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java File webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java (right): https://codereview.webrtc.org/1963053002/diff/180001/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java#newcode56 webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java:56: private final Queue<Runnable> executorQueue = new ArrayDeque<Runnable>(); If you ...
4 years, 7 months ago (2016-05-17 12:54:38 UTC) #18
sakal
https://codereview.webrtc.org/1963053002/diff/180001/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java File webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java (right): https://codereview.webrtc.org/1963053002/diff/180001/webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java#newcode56 webrtc/examples/androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java:56: private final Queue<Runnable> executorQueue = new ArrayDeque<Runnable>(); On 2016/05/17 ...
4 years, 7 months ago (2016-05-17 13:46:26 UTC) #19
magjed_webrtc
lgtm https://codereview.webrtc.org/1963053002/diff/280001/webrtc/examples/androidjunit/src/org/appspot/apprtc/util/RobolectricLooperExecutor.java File webrtc/examples/androidjunit/src/org/appspot/apprtc/util/RobolectricLooperExecutor.java (right): https://codereview.webrtc.org/1963053002/diff/280001/webrtc/examples/androidjunit/src/org/appspot/apprtc/util/RobolectricLooperExecutor.java#newcode114 webrtc/examples/androidjunit/src/org/appspot/apprtc/util/RobolectricLooperExecutor.java:114: public boolean checkOnLooperThread() { nit: Add @Override
4 years, 7 months ago (2016-05-18 09:35:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1963053002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1963053002/320001
4 years, 7 months ago (2016-05-18 09:37:13 UTC) #23
commit-bot: I haz the power
Committed patchset #15 (id:320001)
4 years, 7 months ago (2016-05-18 10:36:46 UTC) #25
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 10:36:59 UTC) #27
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/299ccdee0c08b520961025ef7945ca204e378b49
Cr-Commit-Position: refs/heads/master@{#12789}

Powered by Google App Engine
This is Rietveld 408576698