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

@@ -106,7 +106,6 @@ public class WebSocketRTCClient implements AppRTCClient,
// Fire connection and signaling parameters events.
events.onConnectedToRoom(params);
events.onChannelOpen();
if (!params.initiator) {
// For call receiver get sdp offer and ice candidates
// from room parameters.
@@ -212,7 +211,7 @@ public class WebSocketRTCClient implements AppRTCClient,
wsClient = new WebSocketChannelClient(this);
// Get room parameters.
roomState = ConnectionState.NEW;
fetcher = new RoomParametersFetcher(this, true, loopback);
fetcher = new RoomParametersFetcher(this, loopback);
fetcher.execute(url);
}