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

Side by Side Diff: webrtc/examples/objc/AppRTCDemo/mac/APPRTCViewController.m

Issue 1903663002: Build dynamic iOS SDK. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix test gyp Created 4 years, 7 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
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
11 #import "APPRTCViewController.h" 11 #import "APPRTCViewController.h"
12 12
13 #import <AVFoundation/AVFoundation.h> 13 #import <AVFoundation/AVFoundation.h>
14 #import "webrtc/api/objc/RTCNSGLVideoView.h" 14
15 #import "webrtc/api/objc/RTCVideoTrack.h" 15 #import "WebRTC/RTCNSGLVideoView.h"
16 #import "WebRTC/RTCVideoTrack.h"
16 17
17 #import "ARDAppClient.h" 18 #import "ARDAppClient.h"
18 19
19 static NSUInteger const kContentWidth = 1280; 20 static NSUInteger const kContentWidth = 1280;
20 static NSUInteger const kContentHeight = 720; 21 static NSUInteger const kContentHeight = 720;
21 static NSUInteger const kRoomFieldWidth = 80; 22 static NSUInteger const kRoomFieldWidth = 80;
22 static NSUInteger const kLogViewHeight = 280; 23 static NSUInteger const kLogViewHeight = 280;
23 24
24 @class APPRTCMainView; 25 @class APPRTCMainView;
25 @protocol APPRTCMainViewDelegate 26 @protocol APPRTCMainViewDelegate
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 _remoteVideoTrack = nil; 303 _remoteVideoTrack = nil;
303 [self.mainView.remoteVideoView renderFrame:nil]; 304 [self.mainView.remoteVideoView renderFrame:nil];
304 } 305 }
305 306
306 - (void)disconnect { 307 - (void)disconnect {
307 [self resetUI]; 308 [self resetUI];
308 [_client disconnect]; 309 [_client disconnect];
309 } 310 }
310 311
311 @end 312 @end
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m ('k') | webrtc/examples/objc/AppRTCDemo/tests/ARDAppClientTest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698