commit | 17fa67214caf066887bf429cf95ecaf895b0688c | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <sergeyu@chromium.org> | Tue May 10 17:20:47 2016 |
committer | Sergey Ulanov <sergeyu@chromium.org> | Tue May 10 17:20:54 2016 |
tree | 2ea880f73df9aa312087e27a43ab050b342c05b8 | |
parent | d28db7fd652bc1eb2cf7c10c948fb06cd9536398 [diff] |
Fix AllocationSequence to handle the case when TurnPort stops using shared socket. AllocationSequence is responsible for receiving incoming packets on a shared UDP socket and passing them to the Port objects. TurnPort may stop sharing UDP socket in which case it allocates a new socket. AllocationSequence::OnReadPacket() wasn't handling that case properly which was causing an assert in TurnPort::OnReadPacket(). BUG=webrtc:5757 R=honghaiz@webrtc.org, jiayl@chromium.org, pthatcher@webrtc.org Review URL: https://codereview.webrtc.org/1871693004 . Cr-Commit-Position: refs/heads/master@{#12675}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.