commit | b5db1ec0e5760e370c2afe7e4171a9128039ae53 | [log] [tgz] |
---|---|---|
author | Honghai Zhang <honghaiz@webrtc.org> | Thu Jul 28 20:23:05 2016 |
committer | Honghai Zhang <honghaiz@webrtc.org> | Thu Jul 28 20:23:13 2016 |
tree | a936832e0232105b8dac84c821f7216139518c5d | |
parent | 8eeecabd3345c0f5bd86d7a32d0b57268179bebf [diff] |
Delay destroying a port if new connections are created and destroyed. If all connections on a port is destroyed, it will schedule an event to check if it is dead after a timeout. Previously if a new connection is created but destroyed before the event is fired, it will destroy the port. With this change, we will not destoy it until it times out again after the last created connection is destroyed. BUG= R=pthatcher@webrtc.org, zhihuang@webrtc.org Review URL: https://codereview.webrtc.org/2184013003 . Cr-Commit-Position: refs/heads/master@{#13563}
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.