commit | 8a006916cee3e8a6d4b1c7f05c51307509a33eb6 | [log] [tgz] |
---|---|---|
author | Steve Anton <steveanton@webrtc.org> | Mon Dec 04 23:25:56 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 05 00:04:39 2017 |
tree | ce754786d95f39cc4a70dfe79c4d3a97a231d666 | |
parent | f847081c25b33c9185a05b532c4907ccd8d59ece [diff] |
Use RTCError for internal PeerConnection methods Calls to SetLocalDescription and SetRemoteDescription in PeerConnection delegate to many different internal helper methods which can fail. The error ultimately needs to propagate to the caller and cause the SetXXXDescription to fail. Right now these methods signal errors by returning false and copying the error message into an out parameter. This changes these methods to return RTCError instead and avoid the use of the out parameter. Bug: webrtc:8587 Change-Id: Ib1d31622be742718b74780110c1bbe273d66444e Reviewed-on: https://webrtc-review.googlesource.com/27241 Commit-Queue: Steve Anton <steveanton@webrtc.org> Reviewed-by: Peter Thatcher <pthatcher@webrtc.org> Reviewed-by: Zhi Huang <zhihuang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21061}
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.
Authoritative list of directories that contain the native API header files.