augnitorecorder
Advanced tools
Comparing version 1.0.17 to 1.0.18
@@ -458,3 +458,3 @@ function _regeneratorRuntime() { | ||
// Write '@BSR' as string | ||
for (var i = 0; i < 3; i++) { | ||
for (var i = 0; i < 4; i++) { | ||
view.setUint8(i, "@BSR".charCodeAt(i)); | ||
@@ -464,7 +464,6 @@ } | ||
// Write packet ID (int64) | ||
view.setBigInt64(3, BigInt(this.packetSeqId), false); // false for big endian | ||
view.setBigInt64(4, BigInt(this.packetSeqId), false); // false for big endian | ||
// Write boolean value | ||
view.setUint8(11, isLastPacket ? 1 : 0); | ||
console.log(buffer); | ||
view.setUint8(12, isLastPacket ? 1 : 0); | ||
return buffer; | ||
@@ -471,0 +470,0 @@ } |
{ | ||
"name": "augnitorecorder", | ||
"version": "1.0.17", | ||
"version": "1.0.18", | ||
"description": "Audio recorder and streamer compatible with any browser", | ||
@@ -5,0 +5,0 @@ "main": "dist/augnitoRecorder.js", |
@@ -79,2 +79,3 @@ # Async JS Client for Voice Backend | ||
socketTimeoutInterval: 10000, | ||
shouldSendAudioDataSequence: false, | ||
}, | ||
@@ -95,2 +96,3 @@ heavyOp | ||
- `socketTimeoutInterval` is set to any socket timeout interval as desired, default value is 10000 | ||
- `shouldSendAudioDataSequence` is set to true if you want the audio packet sequence sent with every packet as header else set to false | ||
@@ -97,0 +99,0 @@ ```js |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119768
180
1348