Skip to content

Commit

Permalink
add sctp Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
murat-dogan committed Apr 14, 2021
1 parent febe1fc commit b2974b3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,19 @@ Please check [libdatachannel](https://github.com/paullouisageneau/libdatachannel
```js
const nodeDataChannel = require('node-datachannel');

// Log Level
nodeDataChannel.initLogger("Debug");

// SCTP Settings ( use of nodeDataChannel.setSctpSettings() )
// export interface SctpSettings {
// recvBufferSize?: number;
// sendBufferSize?: number;
// maxChunksOnQueue?: number;
// initialCongestionWindow?: number;
// congestionControlModule?: number;
// delayedSackTime?: number;
// }

let dc1 = null;
let dc2 = null;

Expand Down

0 comments on commit b2974b3

Please sign in to comment.