-
-
Notifications
You must be signed in to change notification settings - Fork 8
add PollDataChannel - impl AsyncRead & AsyncWrite #4
add PollDataChannel - impl AsyncRead & AsyncWrite #4
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4 +/- ##
==========================================
+ Coverage 14.68% 15.01% +0.33%
==========================================
Files 7 7
Lines 3269 3310 +41
Branches 940 958 +18
==========================================
+ Hits 480 497 +17
- Misses 2524 2530 +6
- Partials 265 283 +18
Continue to review full report at Codecov.
|
c7b6f47
to
1dbe2a4
Compare
tests sometimes hang without them on CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, small comment about the tests
let mut poll_dc0 = PollDataChannel::new(dc0.clone()); | ||
let mut poll_dc1 = PollDataChannel::new(dc1.clone()); | ||
|
||
sbuf[0..4].copy_from_slice(&1u32.to_be_bytes()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps using a more "tricky" value than 1
here would be more robust. e.g. a random value with bits set in all octets such as 961666284
Closes webrtc-rs/webrtc#110