Commit 32193b0
authored
Adapt SCTP/DataChannels API to latest changes in mediasoup (#376)
* Adapt SCTP/DataChannels API to latest changes in mediasoup
# Details
- **[BREAKING CHANGE]** Remove `device.sctpCapabilities`. Why? See next bullet.
- **[BREAKING CHANGE]** Remove `SctpCapabilities` type because it only contains `OS` and `MIS` which are hardcoded max number of outgoing and incoming SCTP streams, which means nothing because those values are later negotiated during the SCTP association handshake with the peer.
- Improve the way next sendong DataChannel `id` is computed by using the real negotiated max number of outgoing SCTP streams.
- Update deps.
## TODO
* [ ] Update docs.
* CI: add ubuntu-26.04
* cosmetic1 parent 00920c0 commit 32193b0
22 files changed
Lines changed: 919 additions & 993 deletions
File tree
- .github/workflows
- src
- handlers
- sdp
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
30 | | - | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments