Bläddra i källkod

remove last of TODOs

Michelle Bu 11 år sedan
förälder
incheckning
4457e2031b
2 ändrade filer med 0 tillägg och 6 borttagningar
  1. 0 3
      dist/peer.js
  2. 0 3
      lib/mediaconnection.js

+ 0 - 3
dist/peer.js

@@ -1897,13 +1897,10 @@ MediaConnection.prototype.handleMessage = function(message) {
 
   switch (message.type) {
     case 'ANSWER':
-      // TODO: assert sdp exists.
-      // Should we pass `this`?
       // Forward to negotiator
       Negotiator.handleSDP(message.type, this, payload.sdp);
       break;
     case 'CANDIDATE':
-      // TODO
       Negotiator.handleCandidate(this, payload.candidate);
       break;
     default:

+ 0 - 3
lib/mediaconnection.js

@@ -41,13 +41,10 @@ MediaConnection.prototype.handleMessage = function(message) {
 
   switch (message.type) {
     case 'ANSWER':
-      // TODO: assert sdp exists.
-      // Should we pass `this`?
       // Forward to negotiator
       Negotiator.handleSDP(message.type, this, payload.sdp);
       break;
     case 'CANDIDATE':
-      // TODO
       Negotiator.handleCandidate(this, payload.candidate);
       break;
     default: