Re: [webrtc-pc] DataChannel max value for "id" before connecting? (#2158)

The code in webrtc.org's code indicates that the memory footprint of increasing channels from the current 1024 to 65535 is worrisome:
```
// It's recommended to use the maximum of 65535 in:
// https://tools.ietf.org/html/draft-ietf-rtcweb-data-channel-13#section-6.2
// However, we use 1024 in order to save memory. usrsctp allocates 104 bytes
// for each pair of incoming/outgoing streams (on a 64-bit system), so 65535
// streams would waste ~6MB.
```

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2158#issuecomment-478920442 using your GitHub account

Received on Tuesday, 2 April 2019 09:36:49 UTC