commit | c2128738a8c660886a35560844d8ba871d5b6d9d | [log] [tgz] |
---|---|---|
author | Taylor Brandstetter <deadbeef@webrtc.org> | Fri Jul 03 23:37:57 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 07 03:06:24 2020 |
tree | 43b2297b812276f4ee18572684a7a584dd9ebaef | |
parent | 48f20f849f5fe63486eaa03df010a5316d137d38 [diff] |
Relanding: Fix data channel message integrity violation Patch originally submitted by Lennart Grahl: https://webrtc-review.googlesource.com/c/src/+/177527 SCTP message chunks and notifications are being delivered interleaved. However, the way the code was structured previously, a notification would interrupt reassembly of a message chunk and hand out the partial message, thereby violating message integrity. This patch separates the handling of notifications and reassembly of messages. Additional changes: - Remove illegal cast from non-validated u32 to enum (PPID) - Drop partial messages if the SID has been changed but EOR not yet received instead of delivering them. (This should never happen anyway.) - Don't treat TSN as timestamp (wat) - Replace "usrsctplib/usrsctp.h" with <usrsctp.h>, allowing a hack to be removed from media/BUILD.gn Bug: webrtc:11708 Change-Id: I29733b03f67a3d840104b8608a7f0083466c2d0f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/178469 Commit-Queue: Taylor <deadbeef@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31641}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.