Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Conversation

@stuqdog
Copy link
Contributor

@stuqdog stuqdog commented Jul 12, 2022

(implements pion commit pion/datachannel@9710006. An associated PR for the webrtc repo will follow)

This allows negotiated channels to be fetched when created out of band of SDP by providing SCTP with a list of already created channels. This also includes a fix to Dial which will return a stream if already exists under the given stream id.

Copy link
Contributor

@melekes melekes left a comment

Choose a reason for hiding this comment

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

👍

@codecov
Copy link

codecov bot commented Jul 13, 2022

Codecov Report

Merging #14 (937159a) into main (f630dcd) will increase coverage by 0.09%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   14.96%   15.06%   +0.09%     
==========================================
  Files           7        7              
  Lines        3307     3299       -8     
  Branches      960      960              
==========================================
+ Hits          495      497       +2     
+ Misses       2528     2518      -10     
  Partials      284      284              
Impacted Files Coverage Δ
src/data_channel/data_channel_test.rs 44.71% <0.00%> (ø)
src/lib.rs 6.90% <0.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f630dcd...937159a. Read the comment docs.

@melekes melekes merged commit 6123610 into webrtc-rs:main Jul 13, 2022
melekes added a commit to melekes/webrtc that referenced this pull request Jul 20, 2022
Allows for acceptance of already created data channels. Duplicates logic
already existing in pion at
https://github.com/pion/webrtc/blob/master/sctptransport.go#L162.

Refs webrtc-rs/data#14
Replaces webrtc-rs#219

Co-authored-by: stuqdog <ethanrodkin@protonmail.com>
melekes added a commit to webrtc-rs/webrtc that referenced this pull request Jul 21, 2022
* update call to DataChannel::accept as per data pr #14

Allows for acceptance of already created data channels. Duplicates logic
already existing in pion at
https://github.com/pion/webrtc/blob/master/sctptransport.go#L162.

Refs webrtc-rs/data#14
Replaces #219

Co-authored-by: stuqdog <ethanrodkin@protonmail.com>

* bump data and sctp crates versions

Co-authored-by: stuqdog <ethanrodkin@protonmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants