소스 검색

don't buffer more than required

Gil Pedersen 12 년 전
부모
커밋
fdbbde3f8c
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      lib/tssmooth.js

+ 1 - 3
lib/tssmooth.js

@@ -106,9 +106,7 @@ function TsSmooth(options) {
     return pcrtime;
   }
 
-  Transform.call(this);
-//  Transform.call(this, {bufferSize:5*this.packetSize, highWaterMark:5*this.packetSize});
-//  Transform.call(this, {bufferSize:188*7, highWaterMark:64*1024});
+  Transform.call(this, {highWaterMark:this.packetSize});
 }
 util.inherits(TsSmooth, Transform);