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

Side by Side Diff: webrtc/examples/objc/AppRTCDemo/ARDAppClient+Internal.h

Issue 1690313002: Update iOS AppRTCDemo to use the updated Objective-C API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master Created 4 years, 9 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 "ARDAppClient.h" 11 #import "ARDAppClient.h"
12 12
13 #import "webrtc/api/objc/RTCPeerConnection.h"
14
13 #import "ARDRoomServerClient.h" 15 #import "ARDRoomServerClient.h"
14 #import "ARDSignalingChannel.h" 16 #import "ARDSignalingChannel.h"
15 #import "ARDTURNClient.h" 17 #import "ARDTURNClient.h"
16 #import "RTCPeerConnection.h" 18
17 #import "RTCPeerConnectionDelegate.h" 19 @class RTCPeerConnectionFactory;
18 #import "RTCPeerConnectionFactory.h"
19 #import "RTCSessionDescriptionDelegate.h"
20 #import "RTCStatsDelegate.h"
21 20
22 @interface ARDAppClient () <ARDSignalingChannelDelegate, 21 @interface ARDAppClient () <ARDSignalingChannelDelegate,
23 RTCPeerConnectionDelegate, RTCSessionDescriptionDelegate, RTCStatsDelegate> 22 RTCPeerConnectionDelegate>
24 23
25 // All properties should only be mutated from the main queue. 24 // All properties should only be mutated from the main queue.
26 @property(nonatomic, strong) id<ARDRoomServerClient> roomServerClient; 25 @property(nonatomic, strong) id<ARDRoomServerClient> roomServerClient;
27 @property(nonatomic, strong) id<ARDSignalingChannel> channel; 26 @property(nonatomic, strong) id<ARDSignalingChannel> channel;
28 @property(nonatomic, strong) id<ARDSignalingChannel> loopbackChannel; 27 @property(nonatomic, strong) id<ARDSignalingChannel> loopbackChannel;
29 @property(nonatomic, strong) id<ARDTURNClient> turnClient; 28 @property(nonatomic, strong) id<ARDTURNClient> turnClient;
30 29
31 @property(nonatomic, strong) RTCPeerConnection *peerConnection; 30 @property(nonatomic, strong) RTCPeerConnection *peerConnection;
32 @property(nonatomic, strong) RTCPeerConnectionFactory *factory; 31 @property(nonatomic, strong) RTCPeerConnectionFactory *factory;
33 @property(nonatomic, strong) NSMutableArray *messageQueue; 32 @property(nonatomic, strong) NSMutableArray *messageQueue;
(...skipping 13 matching lines...) Expand all
47 46
48 @property(nonatomic, strong) 47 @property(nonatomic, strong)
49 RTCMediaConstraints *defaultPeerConnectionConstraints; 48 RTCMediaConstraints *defaultPeerConnectionConstraints;
50 49
51 - (instancetype)initWithRoomServerClient:(id<ARDRoomServerClient>)rsClient 50 - (instancetype)initWithRoomServerClient:(id<ARDRoomServerClient>)rsClient
52 signalingChannel:(id<ARDSignalingChannel>)channel 51 signalingChannel:(id<ARDSignalingChannel>)channel
53 turnClient:(id<ARDTURNClient>)turnClient 52 turnClient:(id<ARDTURNClient>)turnClient
54 delegate:(id<ARDAppClientDelegate>)delegate; 53 delegate:(id<ARDAppClientDelegate>)delegate;
55 54
56 @end 55 @end
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/ARDAppClient.m ('k') | webrtc/examples/objc/AppRTCDemo/ARDAppEngineClient.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698