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 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 @property(nonatomic, weak) id<ARDAppClientDelegate> delegate; | 58 @property(nonatomic, weak) id<ARDAppClientDelegate> delegate; |
59 | 59 |
60 // Convenience constructor since all expected use cases will need a delegate | 60 // Convenience constructor since all expected use cases will need a delegate |
61 // in order to receive remote tracks. | 61 // in order to receive remote tracks. |
62 - (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate; | 62 - (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate; |
63 | 63 |
64 // Establishes a connection with the AppRTC servers for the given room id. | 64 // Establishes a connection with the AppRTC servers for the given room id. |
65 // If |isLoopback| is true, the call will connect to itself. | 65 // If |isLoopback| is true, the call will connect to itself. |
66 // If |isAudioOnly| is true, video will be disabled for the call. | 66 // If |isAudioOnly| is true, video will be disabled for the call. |
67 // If |shouldMakeAecDump| is true, an aecdump will be created for the call. | 67 // If |shouldMakeAecDump| is true, an aecdump will be created for the call. |
| 68 // If |shouldUseLevelControl| is true, the level controller will be used |
| 69 // in the call. |
68 - (void)connectToRoomWithId:(NSString *)roomId | 70 - (void)connectToRoomWithId:(NSString *)roomId |
69 isLoopback:(BOOL)isLoopback | 71 isLoopback:(BOOL)isLoopback |
70 isAudioOnly:(BOOL)isAudioOnly | 72 isAudioOnly:(BOOL)isAudioOnly |
71 shouldMakeAecDump:(BOOL)shouldMakeAecDump; | 73 shouldMakeAecDump:(BOOL)shouldMakeAecDump |
| 74 shouldUseLevelControl:(BOOL)shouldUseLevelControl; |
72 | 75 |
73 // Disconnects from the AppRTC servers and any connected clients. | 76 // Disconnects from the AppRTC servers and any connected clients. |
74 - (void)disconnect; | 77 - (void)disconnect; |
75 | 78 |
76 @end | 79 @end |
OLD | NEW |