Commit Graph

7 Commits

Author SHA1 Message Date
sukun
1e76a83d1a Fix SCTPTransport OnClose test 2024-08-13 20:48:56 +05:30
sukun
6cfa00f1bc Provide SCTP Association OnClose callback 2024-08-12 22:15:39 +05:30
sukun
835ac3b08e Drop reference to detached datachannels
This allows users of detached datachannels to garbage collect
resources associated with the datachannel and the sctp stream.
There is no functional change here.
2024-03-24 22:21:35 -04:00
Steffen Vogel
683fc837d0 Make repo REUSE compliant 2023-05-05 11:58:49 -04:00
Sean DuBois
157220e800 Run gofmt to add new build constraints
Also remove some 1.13 specific WASM code
2022-01-17 22:36:01 -05:00
Atsushi Watanabe
58338965b2 Fix DataChannel open race
Concurrent call of generateDataChannelID caused data race.
2020-03-28 15:15:21 -07:00
Sean DuBois
721b342e2e Properly generate DataChannel streamId
Before we computed DataChannel IDs before signaling, this
is incorrect because IDs must take into account if we are
running an DTLS Client or Server.

This updates the DataChannel ID generation code to take this
into account before generating a streamId.

Resolves #908
2019-11-14 10:51:05 -08:00