commit | fc309750a9cb7014f4504c67761cc6fca7256780 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersc@webrtc.org> | Mon Jun 12 14:16:20 2017 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 13 09:37:47 2017 +0000 |
tree | c3677dbbd5b4749351e044d04ecf1e8c1b14f219 | |
parent | 5b383c0ebd586b973d6bf14624cece61d2fc590c [diff] |
Access UIApplication on main thread Track UIApplication applicationState changes from a C++ class. Uses NSNotificationCenter to access changes on the main thread and exposes a local variable that can be checked from any thread. This fixes a runtime warning on iOS 11 beta. My Objective-C++ is a little rusty so please check if this follows the conventions for C++ code in the project. It also changes the interface exposed by RTCUIApplication.h, not sure if that has impact on any public APIs that needs to be documented somewhere? Bug: webrtc:7773 Change-Id: I9c8ba090ef9f28d812114026a906cef742192c39 Reviewed-on: https://chromium-review.googlesource.com/527442 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Reviewed-by: Kári Tristan Helgason <kthelgason@webrtc.org> Commit-Queue: Anders Carlsson <andersc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#18558}
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.