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:
glaznev@webrtc.org
2014-12-30 18:15:43 +00:00
parent a9b1ec0247
commit b2bda67497
7 changed files with 51 additions and 97 deletions

View File

@@ -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) {