Skip to content

Commit 32193b0

Browse files
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 * cosmetic
1 parent 00920c0 commit 32193b0

22 files changed

Lines changed: 919 additions & 993 deletions

.github/workflows/mediasoup-client.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ jobs:
2121
node: 22
2222
- os: ubuntu-24.04
2323
node: 24
24+
- os: ubuntu-26.04
25+
node: 26
2426
- os: macos-14
2527
node: 22
2628
- os: macos-15
27-
node: 24
29+
node: 26
2830
- os: windows-2022
29-
node: 22
30-
- os: windows-2025
3131
node: 24
32+
- os: windows-2025
33+
node: 26
3234

3335
runs-on: ${{ matrix.ci.os }}
3436

0 commit comments

Comments
 (0)