Java 类org.webrtc.PeerConnection.IceGatheringState 实例源码

项目:AndroidRTC    文件:PeerConnectionTest.java   
@Override
public synchronized void onIceGatheringChange(IceGatheringState newState) {
  // It's fine to get a variable number of GATHERING messages before
  // COMPLETE fires (depending on how long the test runs) so we don't assert
  // any particular count.
  if (newState == IceGatheringState.GATHERING) {
    return;
  }
  assertEquals(expectedIceGatheringChanges.removeFirst(), newState);
}
项目:webrtc-java    文件:Observer.java   
@Override
public synchronized void onIceGatheringChange(IceGatheringState newState) {
    //System.out.println("DEBUG: ICE Gathering state " + newState);
    if (newState == IceGatheringState.GATHERING) {
        return;
    }

}
项目:AndroidRTC    文件:PeerConnectionTest.java   
public synchronized void expectIceGatheringChange(IceGatheringState newState) {
  expectedIceGatheringChanges.add(newState);
}
项目:licodeAndroidClient    文件:LicodeConnector.java   
@Override
public void onIceGatheringChange(IceGatheringState iceGatherState) {
    if (iceGatherState == IceGatheringState.COMPLETE) {
        mSdpObserver.iceReady();
    }
}
项目:webrtc-workshop    文件:PeerConnectionWrapper.java   
public void onIceGatheringChange(IceGatheringState iceGatheringState) {}