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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user