|
@@ -272,7 +272,6 @@ ConnectionManager.prototype.handleSDP = function(sdp, type, call) {
|
|
util.log('Set remoteDescription: ' + type);
|
|
util.log('Set remoteDescription: ' + type);
|
|
if (type === 'OFFER') {
|
|
if (type === 'OFFER') {
|
|
if (call && !self._call) {
|
|
if (call && !self._call) {
|
|
- window.g = self.pc;
|
|
|
|
self._call = new MediaConnection(self.peer);
|
|
self._call = new MediaConnection(self.peer);
|
|
self._call.on('answer', function(stream){
|
|
self._call.on('answer', function(stream){
|
|
if (stream) {
|
|
if (stream) {
|