|
@@ -77,6 +77,7 @@ MediaConnection.prototype.answer = function(stream) {
|
|
|
|
|
|
/** Allows user to close connection. */
|
|
/** Allows user to close connection. */
|
|
MediaConnection.prototype.close = function() {
|
|
MediaConnection.prototype.close = function() {
|
|
|
|
+ // TODO: actually close PC.
|
|
if (this.open) {
|
|
if (this.open) {
|
|
this.open = false;
|
|
this.open = false;
|
|
this.emit('close')
|
|
this.emit('close')
|