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

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

Issue 1640173004: Revert of Adding "first packet received" notification to PeerConnectionObserver. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 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
392 #pragma mark - RTCStatsDelegate 387 #pragma mark - RTCStatsDelegate
393 388
394 - (void)peerConnection:(RTCPeerConnection *)peerConnection 389 - (void)peerConnection:(RTCPeerConnection *)peerConnection
395 didGetStats:(NSArray *)stats { 390 didGetStats:(NSArray *)stats {
396 dispatch_async(dispatch_get_main_queue(), ^{ 391 dispatch_async(dispatch_get_main_queue(), ^{
397 [_delegate appClient:self didGetStats:stats]; 392 [_delegate appClient:self didGetStats:stats];
398 }); 393 });
399 } 394 }
400 395
401 #pragma mark - RTCSessionDescriptionDelegate 396 #pragma mark - RTCSessionDescriptionDelegate
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 code:kARDAppClientErrorInvalidRoom 724 code:kARDAppClientErrorInvalidRoom
730 userInfo:@{ 725 userInfo:@{
731 NSLocalizedDescriptionKey: @"Invalid room.", 726 NSLocalizedDescriptionKey: @"Invalid room.",
732 }]; 727 }];
733 break; 728 break;
734 } 729 }
735 return error; 730 return error;
736 } 731 }
737 732
738 @end 733 @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