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

Issue 1972483002: Pass around the candidate removals events in IOS clients

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

Description

Pass around the candidate removals events in IOS clients When local candidates are removed, signal to RTCPeerConnection and eventually send to the remote client. When a candidate-removal message is received, notify the native PeerConnection. BUG= R=tkchin@webrtc.org Committed: https://crrev.com/da2ba4dcba8d0d56aac3a43a52a5c0821300fcea Cr-Commit-Position: refs/heads/master@{#12852}

Patch Set 1 : #

Patch Set 2 : Fix a type conversion in RTCPeerConnection.mm #

Total comments: 36

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Address Zeke comments #

Total comments: 5

Patch Set 5 : Address comments #

Patch Set 6 : merge with head #

Patch Set 7 : Merge with head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -1 line) Patch
M webrtc/examples/objc/AppRTCDemo/ARDAppClient.m View 1 2 3 3 chunks +17 lines, -0 lines 0 comments Download
M webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m View 1 2 3 4 3 chunks +29 lines, -1 line 0 comments Download
M webrtc/examples/objc/AppRTCDemo/ARDWebSocketChannel.m View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/examples/objc/AppRTCDemo/RTCICECandidate+JSON.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/examples/objc/AppRTCDemo/RTCICECandidate+JSON.m View 1 2 3 4 3 chunks +48 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm View 1 2 3 4 5 3 chunks +34 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCPeerConnection+Private.h View 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnection.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (20 generated)
honghaiz3
I tried to add tests for the RTCPeerConnection, but feel it is better to add ...
4 years, 7 months ago (2016-05-11 19:21:07 UTC) #6
honghaiz3
On 2016/05/11 19:21:07, honghaiz3 wrote: > I tried to add tests for the RTCPeerConnection, but ...
4 years, 7 months ago (2016-05-13 17:58:00 UTC) #7
tkchin_webrtc
https://codereview.webrtc.org/1972483002/diff/80001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h File webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h (right): https://codereview.webrtc.org/1972483002/diff/80001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h#newcode18 webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h:18: kARDSignalingMessageTypeCandidatesRemoval, nit: CandidateRemoval https://codereview.webrtc.org/1972483002/diff/80001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h#newcode41 webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h:41: @interface ARDICECandidatesRemovalMessage : ARDSignalingMessage ...
4 years, 7 months ago (2016-05-16 20:48:58 UTC) #8
honghaiz3
Thanks! PTAL. https://codereview.webrtc.org/1972483002/diff/80001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h File webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h (right): https://codereview.webrtc.org/1972483002/diff/80001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h#newcode18 webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h:18: kARDSignalingMessageTypeCandidatesRemoval, On 2016/05/16 20:48:58, tkchin_webrtc wrote: > ...
4 years, 7 months ago (2016-05-17 00:46:53 UTC) #9
tkchin_webrtc
https://codereview.webrtc.org/1972483002/diff/80001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h File webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h (right): https://codereview.webrtc.org/1972483002/diff/80001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h#newcode18 webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h:18: kARDSignalingMessageTypeCandidatesRemoval, On 2016/05/17 00:46:52, honghaiz3 wrote: > On 2016/05/16 ...
4 years, 7 months ago (2016-05-17 02:01:43 UTC) #10
honghaiz3
PTAL. https://codereview.webrtc.org/1972483002/diff/80001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h File webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h (right): https://codereview.webrtc.org/1972483002/diff/80001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h#newcode18 webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.h:18: kARDSignalingMessageTypeCandidatesRemoval, On 2016/05/17 02:01:43, tkchin_webrtc wrote: > On ...
4 years, 7 months ago (2016-05-17 06:11:24 UTC) #11
honghaiz3
https://codereview.webrtc.org/1972483002/diff/120001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m File webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m (right): https://codereview.webrtc.org/1972483002/diff/120001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m#newcode20 webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m:20: static NSString * const kARDTypeValueRemoveCandidates = @"remove-candidates"; I hope ...
4 years, 7 months ago (2016-05-17 06:14:33 UTC) #12
tkchin_webrtc
lgtm https://codereview.webrtc.org/1972483002/diff/120001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m File webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m (right): https://codereview.webrtc.org/1972483002/diff/120001/webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m#newcode20 webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m:20: static NSString * const kARDTypeValueRemoveCandidates = @"remove-candidates"; On ...
4 years, 7 months ago (2016-05-17 20:53:03 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972483002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972483002/140001
4 years, 7 months ago (2016-05-17 22:59:16 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-05-18 00:59:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972483002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972483002/160001
4 years, 7 months ago (2016-05-20 00:18:14 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972483002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972483002/160001
4 years, 7 months ago (2016-05-20 23:13:19 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-05-21 01:13:59 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972483002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972483002/160001
4 years, 7 months ago (2016-05-23 14:00:43 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 7 months ago (2016-05-23 16:01:40 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972483002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972483002/160001
4 years, 7 months ago (2016-05-23 16:19:34 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972483002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972483002/180001
4 years, 7 months ago (2016-05-23 18:04:45 UTC) #34
honghaiz3
Committed patchset #7 (id:180001) manually as da2ba4dcba8d0d56aac3a43a52a5c0821300fcea (presubmit successful).
4 years, 7 months ago (2016-05-23 18:53:33 UTC) #37
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/da2ba4dcba8d0d56aac3a43a52a5c0821300fcea Cr-Commit-Position: refs/heads/master@{#12852}
4 years, 7 months ago (2016-05-23 18:53:33 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 7 months ago (2016-05-23 20:05:15 UTC) #40
honghaiz3
4 years, 5 months ago (2016-07-15 19:49:30 UTC) #41
Just respond to the comment so it will go away from my outgoing CL list.

https://codereview.webrtc.org/1972483002/diff/120001/webrtc/examples/objc/App...
File webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m (right):

https://codereview.webrtc.org/1972483002/diff/120001/webrtc/examples/objc/App...
webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m:20: static NSString *
const kARDTypeValueRemoveCandidates = @"remove-candidates";
On 2016/05/17 20:53:02, tkchin_webrtc wrote:
> On 2016/05/17 06:14:33, honghaiz3 wrote:
> > I hope to use a longer variable name like
> > kARDSignalingMessageTyupeValueRemoveCandidates, 
> > but this makes the formatting (when it is used) extremely hard, so I
shortened
> > it a little. 
> 
> That's fine. We really need to make 100 char happen for objc bits of our repo
> heh.

Acknowledged.

https://codereview.webrtc.org/1972483002/diff/120001/webrtc/examples/objc/App...
webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m:109: [RTCIceCandidate
JSONDataFromIceCandidates:_candidates
On 2016/05/17 20:53:02, tkchin_webrtc wrote:
> nit JSONDatForIceCandidates

Done.

Powered by Google App Engine
This is Rietveld 408576698