commit | 5f01bf6c8b786d7dada2547be365572d9e8b9772 | [log] [tgz] |
---|---|---|
author | Erik Språng <sprang@webrtc.org> | Wed Oct 16 17:06:34 2019 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 17 10:15:52 2019 +0000 |
tree | d507352453fc21b248a3acaec062a64d378628e0 | |
parent | a6d7b028242c38447d8dd13fe232682aceb10932 [diff] |
Refactor handling of TransportSequenceNumber in PacketRouter The use of SetTransportWideSequenceNumber() and AllocateSequenceNumber() is gone from webrtc, but some downstream code still references them. This means we can do some simplifications. The member that stores the sequence number is now always accessed while holding the modules lock, so we can just use that and don't need to add atomic operations on top. SetTransportWideSequenceNumber() is only used to set the start sequence number, it would be nice to set that in the constructor instead. AllocateSequnceNumber() is now actually only used as a getter, so this can be replace by a proper const getter method instead. Bug: webrtc:11036 Change-Id: I69b06e613ca3361cf24ef835b92dd0a894cbd27e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157167 Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29507}
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 http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.