commit | 4c14009e83bd147b440a785d7fb492da3355576c | [log] [tgz] |
---|---|---|
author | philipel <philipel@webrtc.org> | Thu Aug 31 08:31:45 2017 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 31 15:31:45 2017 +0000 |
tree | 0611bf582ca467fe1eb3a96f0fc5c537f31d3e5b | |
parent | 85d7650ab6a84477e807d458ea835154cf5138da [diff] |
Avoid calling RtpFrameObject::GetCodecHeader twice in the RtpFrameReferenceFinder. This is good for a few reasons: - We avoid grabing a lock twice. - We avoid an unnecessary copy. - We avoid a race where a packet could potentially be removed before the second time we call GetCodecHeader. BUG=None Review-Url: https://codereview.webrtc.org/3009833002 Cr-Commit-Position: refs/heads/master@{#19635}
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.