| commit | 884e49f9d69968c124f082999a57bab4019230de | [log] [tgz] |
|---|---|---|
| author | Karl Wiberg <kwiberg@webrtc.org> | Mon Oct 02 07:54:48 2017 |
| committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 02 08:53:30 2017 |
| tree | f3d79151baf3d174a96beaea5f97e796ceff7ed1 | |
| parent | 440216fcf38522f52c82d2cc4f7c46b0e98fc521 [diff] |
Convert PayloadUnion from a union to a class, step 3 Remove PayloadUnion's public member variables, so that the outside world has to go through the accessors. This is good code hygiene in general. For example, it makes it possible to make the audio and video states Optional, so that exactly one of them can be live at any one time. BUG=webrtc:8159 Change-Id: Ie617b9038f961b329bd67b45478ff33d97148447 Reviewed-on: https://webrtc-review.googlesource.com/4428 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20064}
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.