commit | 5ada7acf603e90e71990e9d4ff8f49389f24958c | [log] [tgz] |
---|---|---|
author | deadbeef <deadbeef@webrtc.org> | Fri Sep 15 17:52:36 2017 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Sep 16 00:52:36 2017 +0000 |
tree | 05243bee05cdccb202dd6c0a7fa8bab770e032f8 | |
parent | 1c5e6d0a3f6f7ca2f20bbce354fdf4ee92b2ce93 [diff] |
If SRTP sessions exist, don't create new ones when applying answer. Instead, call the "Update" methods of SrtpSession, which will just call srtp_update, instead of wiping out the session state completely. This was causing decryption to stop working when subsequent offers/answers are applied. We don't know enough about SRTP to understand the root cause, and I wasn't able to write an integration test that reproduces the issue... But at least this fixes the bug that can be reproduced reliably using Hangouts. BUG=webrtc:8251 Review-Url: https://codereview.webrtc.org/3019443002 Cr-Commit-Position: refs/heads/master@{#19874}
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.