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

Side by Side Diff: webrtc/examples/objc/AppRTCDemo/ARDAppClient.m

Issue 1581693006: Adding "first packet received" notification to PeerConnectionObserver. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing race condition in unit test. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2014 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 ARDICECandidateMessage *message = 377 ARDICECandidateMessage *message =
378 [[ARDICECandidateMessage alloc] initWithCandidate:candidate]; 378 [[ARDICECandidateMessage alloc] initWithCandidate:candidate];
379 [self sendSignalingMessage:message]; 379 [self sendSignalingMessage:message];
380 }); 380 });
381 } 381 }
382 382
383 - (void)peerConnection:(RTCPeerConnection *)peerConnection 383 - (void)peerConnection:(RTCPeerConnection *)peerConnection
384 didOpenDataChannel:(RTCDataChannel *)dataChannel { 384 didOpenDataChannel:(RTCDataChannel *)dataChannel {
385 } 385 }
386 386
387 - (void)peerConnectionOnFirstMediaPacketReceived:
388 (RTCPeerConnection *)peerConnection {
389 RTCLog(@"Received first media packet.");
390 }
391
387 #pragma mark - RTCStatsDelegate 392 #pragma mark - RTCStatsDelegate
388 393
389 - (void)peerConnection:(RTCPeerConnection *)peerConnection 394 - (void)peerConnection:(RTCPeerConnection *)peerConnection
390 didGetStats:(NSArray *)stats { 395 didGetStats:(NSArray *)stats {
391 dispatch_async(dispatch_get_main_queue(), ^{ 396 dispatch_async(dispatch_get_main_queue(), ^{
392 [_delegate appClient:self didGetStats:stats]; 397 [_delegate appClient:self didGetStats:stats];
393 }); 398 });
394 } 399 }
395 400
396 #pragma mark - RTCSessionDescriptionDelegate 401 #pragma mark - RTCSessionDescriptionDelegate
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 code:kARDAppClientErrorInvalidRoom 729 code:kARDAppClientErrorInvalidRoom
725 userInfo:@{ 730 userInfo:@{
726 NSLocalizedDescriptionKey: @"Invalid room.", 731 NSLocalizedDescriptionKey: @"Invalid room.",
727 }]; 732 }];
728 break; 733 break;
729 } 734 }
730 return error; 735 return error;
731 } 736 }
732 737
733 @end 738 @end
OLDNEW
« no previous file with comments | « webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698