Java Code Examples for org.webrtc.PeerConnection.IceGatheringState

The following examples show how to use org.webrtc.PeerConnection.IceGatheringState. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may want to check out the right sidebar which shows the related API usage.
Example 1
Source Project: webrtc-java   Source File: Observer.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public synchronized void onIceGatheringChange(IceGatheringState newState) {
    //System.out.println("DEBUG: ICE Gathering state " + newState);
    if (newState == IceGatheringState.GATHERING) {
        return;
    }

}
 
Example 2
Source Project: appinventor-extensions   Source File: WebRTCNativeMgr.java    License: Apache License 2.0 4 votes vote down vote up
public void onIceGatheringChange(IceGatheringState iceGatheringState) {
  if (DEBUG) {
    Log.d(LOG_TAG, "onIceGatheringChange: iceGatheringState = " + iceGatheringState);
  }
}
 
Example 3
Source Project: licodeAndroidClient   Source File: LicodeConnector.java    License: MIT License 4 votes vote down vote up
@Override
public void onIceGatheringChange(IceGatheringState iceGatherState) {
	if (iceGatherState == IceGatheringState.COMPLETE) {
		mSdpObserver.iceReady();
	}
}