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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
57 @property(nonatomic, weak) id<ARDAppClientDelegate> delegate; | 57 @property(nonatomic, weak) id<ARDAppClientDelegate> delegate; |
58 | 58 |
59 // Convenience constructor since all expected use cases will need a delegate | 59 // Convenience constructor since all expected use cases will need a delegate |
60 // in order to receive remote tracks. | 60 // in order to receive remote tracks. |
61 - (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate; | 61 - (instancetype)initWithDelegate:(id<ARDAppClientDelegate>)delegate; |
62 | 62 |
63 // Establishes a connection with the AppRTC servers for the given room id. | 63 // Establishes a connection with the AppRTC servers for the given room id. |
64 // TODO(tkchin): provide available keys/values for options. This will be used | 64 // TODO(tkchin): provide available keys/values for options. This will be used |
65 // for call configurations such as overriding server choice, specifying codecs | 65 // for call configurations such as overriding server choice, specifying codecs |
66 // and so on. | 66 // and so on. |
67 - (void)connectToRoomWithId:(NSString *)roomId | 67 - (void)connectToRoomWithId:(NSString *)roomId |
henrika_webrtc
2015/09/14 08:31:20
Should we add comments for all parameters here?
Chuck
2015/09/28 16:26:40
Done.
| |
68 isLoopback:(BOOL)isLoopback | |
69 isAudioOnly:(BOOL)isAudioOnly | |
68 options:(NSDictionary *)options; | 70 options:(NSDictionary *)options; |
tkchin_webrtc
2015/09/11 17:53:53
Use either params, or the options struct.
A new im
Chuck
2015/09/28 16:26:40
I did the simplest thing here, removed the unused
| |
69 | 71 |
70 // Disconnects from the AppRTC servers and any connected clients. | 72 // Disconnects from the AppRTC servers and any connected clients. |
71 - (void)disconnect; | 73 - (void)disconnect; |
72 | 74 |
73 @end | 75 @end |
OLD | NEW |