|
|
|
|
@ -132,9 +132,8 @@ define(['jquery', 'underscore', 'mediastream/utils', 'mediastream/peerconnection
@@ -132,9 +132,8 @@ define(['jquery', 'underscore', 'mediastream/utils', 'mediastream/peerconnection
|
|
|
|
|
// after the remote SDP was set successfully.
|
|
|
|
|
_.defer(_.bind(function() { |
|
|
|
|
_.each(peerconnection.getRemoteStreams(), _.bind(function(stream) { |
|
|
|
|
console.log("got stream after remote sdp", stream); |
|
|
|
|
if (!this.streams.hasOwnProperty(stream)) { |
|
|
|
|
console.log("adding stream", stream); |
|
|
|
|
console.log("Adding stream after remote SDP success.", stream); |
|
|
|
|
this.onRemoteStreamAdded(stream); |
|
|
|
|
} |
|
|
|
|
}, this)); |
|
|
|
|
|