| 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   /** | 
| 62    * Disconnect from room. | 67    * Disconnect from room. | 
| 63    */ | 68    */ | 
| 64   public void disconnectFromRoom(); | 69   public void disconnectFromRoom(); | 
| 65 | 70 | 
| 66   /** | 71   /** | 
| 67    * Struct holding the signaling parameters of an AppRTC room. | 72    * Struct holding the signaling parameters of an AppRTC room. | 
| 68    */ | 73    */ | 
| 69   public static class SignalingParameters { | 74   public static class SignalingParameters { | 
| 70     public final List<PeerConnection.IceServer> iceServers; | 75     public final List<PeerConnection.IceServer> iceServers; | 
| 71     public final boolean initiator; | 76     public final boolean initiator; | 
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 106      * Callback fired once remote SDP is received. | 111      * Callback fired once remote SDP is received. | 
| 107      */ | 112      */ | 
| 108     public void onRemoteDescription(final SessionDescription sdp); | 113     public void onRemoteDescription(final SessionDescription sdp); | 
| 109 | 114 | 
| 110     /** | 115     /** | 
| 111      * Callback fired once remote Ice candidate is received. | 116      * Callback fired once remote Ice candidate is received. | 
| 112      */ | 117      */ | 
| 113     public void onRemoteIceCandidate(final IceCandidate candidate); | 118     public void onRemoteIceCandidate(final IceCandidate candidate); | 
| 114 | 119 | 
| 115     /** | 120     /** | 
|  | 121      * Callback fired once remote Ice candidate removals are received. | 
|  | 122      */ | 
|  | 123     public void onRemoteIceCandidatesRemoved(final IceCandidate[] candidates); | 
|  | 124 | 
|  | 125     /** | 
| 116      * Callback fired once channel is closed. | 126      * Callback fired once channel is closed. | 
| 117      */ | 127      */ | 
| 118     public void onChannelClose(); | 128     public void onChannelClose(); | 
| 119 | 129 | 
| 120     /** | 130     /** | 
| 121      * Callback fired once channel error happened. | 131      * Callback fired once channel error happened. | 
| 122      */ | 132      */ | 
| 123     public void onChannelError(final String description); | 133     public void onChannelError(final String description); | 
| 124   } | 134   } | 
| 125 } | 135 } | 
| OLD | NEW | 
|---|