소스 검색

Set maxRetransmits to 0 when reliable false

ericz 11 년 전
부모
커밋
79e10688c5
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      dist/peer.js
  2. 0 0
      dist/peer.min.js
  3. 1 1
      lib/negotiator.js

+ 2 - 2
dist/peer.js

@@ -1,4 +1,4 @@
-/*! peerjs.js build:0.3.0, development. Copyright(c) 2013 Michelle Bu <michelle@michellebu.com> */
+/*! peerjs.js build:0.3.1, development. Copyright(c) 2013 Michelle Bu <michelle@michellebu.com> */
 (function(exports){
 var binaryFeatures = {};
 binaryFeatures.useBlobBuilder = (function(){
@@ -1970,7 +1970,7 @@ Negotiator.startConnection = function(connection, options) {
       var config = {};
       if (util.supports.reliable && !options.reliable) {
         // If we have canonical reliable support...
-        config = {maxRetransmits: false}
+        config = {maxRetransmits: 0}
       } else if (!util.supports.reliable) {
         config = {reliable: options.reliable};
       }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/peer.min.js


+ 1 - 1
lib/negotiator.js

@@ -30,7 +30,7 @@ Negotiator.startConnection = function(connection, options) {
       var config = {};
       if (util.supports.reliable && !options.reliable) {
         // If we have canonical reliable support...
-        config = {maxRetransmits: false}
+        config = {maxRetransmits: 0}
       } else if (!util.supports.reliable) {
         config = {reliable: options.reliable};
       }

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.