Removing old channel code from a few more places.
Plus adding peer connection close event. R=jiayl@webrtc.org Review URL: https://webrtc-codereview.appspot.com/37509004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7982 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
		| @@ -513,14 +513,6 @@ public class AppRTCDemoActivity extends Activity | ||||
|     }; | ||||
|     videoView.postDelayed(repeatedStatsLogger, 1000); | ||||
|  | ||||
|     logAndToast("Waiting for remote connection..."); | ||||
|   } | ||||
|  | ||||
|   @Override | ||||
|   public void onChannelOpen() { | ||||
|     if (pc == null) { | ||||
|       return; | ||||
|     } | ||||
|     if (signalingParameters.initiator) { | ||||
|       logAndToast("Creating OFFER..."); | ||||
|       // Create offer. Offer SDP will be sent to answering client in | ||||
| @@ -600,6 +592,10 @@ public class AppRTCDemoActivity extends Activity | ||||
|     disconnect(); | ||||
|   } | ||||
|  | ||||
|   @Override | ||||
|   public void onPeerConnectionClosed() { | ||||
|   } | ||||
|  | ||||
|   @Override | ||||
|   public void onPeerConnectionError(String description) { | ||||
|     if (!isError) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 glaznev@webrtc.org
					glaznev@webrtc.org