commit | a865519e174aabd521397daa72ed0b35a13c4d67 | [log] [tgz] |
---|---|---|
author | Victor Boivie <boivie@webrtc.org> | Thu Apr 01 06:23:54 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 02 21:38:13 2021 |
tree | 7870cd0b936dd547a599cfcb4ec3726158b28184 | |
parent | 3e2decc8e69cdd2a525c81472e950d0f6c499aac [diff] |
dcsctp: Add strong typed identifiers There are numerous identifiers and sequences in SCTP, all of them being unsigned 16 or 32-bit integers. * Stream identifiers * Payload Protocol Identifier (PPID) * Stream Sequence Numbers (SSN) * Message Identifiers (MID) * Fragment Sequence Numbers (FSN) * Transmission Sequence Numbers (TSN) The first two of these are publicly exposed in the API, and the remaining ones are never exposed to the client and are all part of SCTP protocol. Then there are some more not as common sequence numbers, and some booleans. Not all will be in internal_types.h - it depends on if they can be scoped to a specific component instead. And not all types will likely become strong types. The unwrapped sequence numbers have been renamed to not cause conflicts and the current UnwrappedSequenceNumber class doesn't support wrapping strongly typed integers as it can't reach into the type of the underlying integer. That's something to explore later. Bug: webrtc:12614 Change-Id: I4e0016be26d5d4826783d6e0962044f56cbfa97d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/213422 Commit-Queue: Victor Boivie <boivie@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33620}
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.