Skip to content

sctp: implement SNAP / sctp-init#3327

Merged
fippo merged 11 commits intopion:masterfrom
fippo:snap
Mar 25, 2026
Merged

sctp: implement SNAP / sctp-init#3327
fippo merged 11 commits intopion:masterfrom
fippo:snap

Conversation

@fippo
Copy link
Copy Markdown
Contributor

@fippo fippo commented Dec 28, 2025

implements draft-hancke-tsvwg-snap.html, i.e. moving the sctp handshake to out-of-band negotiation as a=sctp-init in the SDP which saves two network round-trips.

(based on #3326, sctp changes in pion/sctp#449)

Comment thread sctpcapabilities.go Outdated
@fippo fippo force-pushed the snap branch 3 times, most recently from 2fb117d to b8e8c3d Compare March 21, 2026 20:14
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 21, 2026

Codecov Report

❌ Patch coverage is 96.36364% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.51%. Comparing base (fc0a368) to head (f91905a).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
sctptransport.go 88.88% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3327      +/-   ##
==========================================
+ Coverage   85.41%   85.51%   +0.10%     
==========================================
  Files          81       81              
  Lines        9771     9820      +49     
==========================================
+ Hits         8346     8398      +52     
+ Misses       1004     1002       -2     
+ Partials      421      420       -1     
Flag Coverage Δ
go 85.51% <96.36%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fippo fippo marked this pull request as ready for review March 21, 2026 20:19
@fippo
Copy link
Copy Markdown
Contributor Author

fippo commented Mar 21, 2026

Close enough, what do I need to do to disable the WASM test?

@JoTurk
Copy link
Copy Markdown
Member

JoTurk commented Mar 21, 2026

@fippo peerconnection_test.go is shared, peerconnection_js_test.go is wasm only, and peerconnection_go_test.go is "go native" only.

@fippo
Copy link
Copy Markdown
Contributor Author

fippo commented Mar 23, 2026

(updated accordingly)

Comment thread settingengine.go
Comment thread peerconnection.go
Comment thread sctptransport.go Outdated
Comment thread sctpcapabilities.go
fippo added 4 commits March 25, 2026 08:46
implements draft-hancke-tsvwg-snap.html
i.e. moving the sctp handshake to out-of-band negotiation
as `a=sctp-init` in the SDP which saves two network round-trips.
and use it in the WARP demo
Copy link
Copy Markdown
Member

@JoTurk JoTurk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you :)

@fippo
Copy link
Copy Markdown
Contributor Author

fippo commented Mar 25, 2026

Thank you for the feedback!

@fippo fippo merged commit f3879ae into pion:master Mar 25, 2026
21 checks passed
@fippo fippo deleted the snap branch March 25, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants