OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2013 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 * Send answer SDP to the other participant. | 52 * Send answer SDP to the other participant. |
53 */ | 53 */ |
54 public void sendAnswerSdp(final SessionDescription sdp); | 54 public void sendAnswerSdp(final SessionDescription sdp); |
55 | 55 |
56 /** | 56 /** |
57 * Send Ice candidate to the other participant. | 57 * Send Ice candidate to the other participant. |
58 */ | 58 */ |
59 public void sendLocalIceCandidate(final IceCandidate candidate); | 59 public void sendLocalIceCandidate(final IceCandidate candidate); |
60 | 60 |
61 /** | 61 /** |
62 * Send removed ICE candidates to the other participant. | |
63 */ | |
64 public void sendLocalIceCandidateRemovals(final IceCandidate[] candidates); | |
65 | |
66 /** | |
67 * Disconnect from room. | 62 * Disconnect from room. |
68 */ | 63 */ |
69 public void disconnectFromRoom(); | 64 public void disconnectFromRoom(); |
70 | 65 |
71 /** | 66 /** |
72 * Struct holding the signaling parameters of an AppRTC room. | 67 * Struct holding the signaling parameters of an AppRTC room. |
73 */ | 68 */ |
74 public static class SignalingParameters { | 69 public static class SignalingParameters { |
75 public final List<PeerConnection.IceServer> iceServers; | 70 public final List<PeerConnection.IceServer> iceServers; |
76 public final boolean initiator; | 71 public final boolean initiator; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 * Callback fired once remote SDP is received. | 106 * Callback fired once remote SDP is received. |
112 */ | 107 */ |
113 public void onRemoteDescription(final SessionDescription sdp); | 108 public void onRemoteDescription(final SessionDescription sdp); |
114 | 109 |
115 /** | 110 /** |
116 * Callback fired once remote Ice candidate is received. | 111 * Callback fired once remote Ice candidate is received. |
117 */ | 112 */ |
118 public void onRemoteIceCandidate(final IceCandidate candidate); | 113 public void onRemoteIceCandidate(final IceCandidate candidate); |
119 | 114 |
120 /** | 115 /** |
121 * Callback fired once remote Ice candidate removals are received. | |
122 */ | |
123 public void onRemoteIceCandidatesRemoved(final IceCandidate[] candidates); | |
124 | |
125 /** | |
126 * Callback fired once channel is closed. | 116 * Callback fired once channel is closed. |
127 */ | 117 */ |
128 public void onChannelClose(); | 118 public void onChannelClose(); |
129 | 119 |
130 /** | 120 /** |
131 * Callback fired once channel error happened. | 121 * Callback fired once channel error happened. |
132 */ | 122 */ |
133 public void onChannelError(final String description); | 123 public void onChannelError(final String description); |
134 } | 124 } |
135 } | 125 } |
OLD | NEW |