| OLD | NEW |
| 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 <Foundation/Foundation.h> | 11 #import <Foundation/Foundation.h> |
| 12 #import "webrtc/api/objc/RTCPeerConnection.h" | 12 |
| 13 #import "webrtc/api/objc/RTCVideoTrack.h" | 13 #import "WebRTC/RTCPeerConnection.h" |
| 14 #import "WebRTC/RTCVideoTrack.h" |
| 14 | 15 |
| 15 typedef NS_ENUM(NSInteger, ARDAppClientState) { | 16 typedef NS_ENUM(NSInteger, ARDAppClientState) { |
| 16 // Disconnected from servers. | 17 // Disconnected from servers. |
| 17 kARDAppClientStateDisconnected, | 18 kARDAppClientStateDisconnected, |
| 18 // Connecting to servers. | 19 // Connecting to servers. |
| 19 kARDAppClientStateConnecting, | 20 kARDAppClientStateConnecting, |
| 20 // Connected to servers. | 21 // Connected to servers. |
| 21 kARDAppClientStateConnected, | 22 kARDAppClientStateConnected, |
| 22 }; | 23 }; |
| 23 | 24 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // If |isLoopback| is true, the call will connect to itself. | 65 // If |isLoopback| is true, the call will connect to itself. |
| 65 // If |isAudioOnly| is true, video will be disabled for the call. | 66 // If |isAudioOnly| is true, video will be disabled for the call. |
| 66 - (void)connectToRoomWithId:(NSString *)roomId | 67 - (void)connectToRoomWithId:(NSString *)roomId |
| 67 isLoopback:(BOOL)isLoopback | 68 isLoopback:(BOOL)isLoopback |
| 68 isAudioOnly:(BOOL)isAudioOnly; | 69 isAudioOnly:(BOOL)isAudioOnly; |
| 69 | 70 |
| 70 // Disconnects from the AppRTC servers and any connected clients. | 71 // Disconnects from the AppRTC servers and any connected clients. |
| 71 - (void)disconnect; | 72 - (void)disconnect; |
| 72 | 73 |
| 73 @end | 74 @end |
| OLD | NEW |