commit | dc4eb8c5b3c996389046694d3b4fdb2ab315376f | [log] [tgz] |
---|---|---|
author | Taylor Brandstetter <deadbeef@webrtc.org> | Thu May 12 15:14:50 2016 |
committer | Taylor Brandstetter <deadbeef@webrtc.org> | Thu May 12 15:14:54 2016 |
tree | 927332567c4e8bd4c60a9c814ffe722570c6362e | |
parent | d8b0109327b83ee329ebdca46bfc0bb91b8d943d [diff] |
Refactoring some tests in peerconnectioninterface_unittest.cc. Some tests were passing in a local description created from hard-coded SDP strings, which won't work in the future (since some attributes such as the fingerprint and ICE ufrag/pwd are non-modifiable). These tests now do the typical approach of calling CreateOffer and modifying the result if necessary. Also added some non-const versions of the SessionDescription accessor helper functions, since that makes it much easier to modify a SessionDescription. Previous alternatives were re-implementing the helper methods from scratch, or converting the description to SDP, modifying it, and converting it back. R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1966333002 . Cr-Commit-Position: refs/heads/master@{#12704}
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.