Name Description Size Coverage
ContextUtils.java Class for storing the application context and retrieving it in a static context. Similar to org.chromium.base.ContextUtils. 1497 -
Loggable.java Java interface for WebRTC logging. The default implementation uses webrtc.Logging. When injected, the Loggable will receive logging from both Java and native. 753 -
Logging.java Java wrapper for WebRTC logging. Logging defaults to java.util.logging.Logger, but a custom logger implementing the Loggable interface can be injected along with a Severity. All subsequent log messages will then be redirected to the injected Loggable, except those with a severity lower than the specified severity, which will be discarded. It is also possible to switch to native logging (webrtc::LogMessage) if one of the following static functions are called from the app: - Logging.enableLogThreads - Logging.enableLogTimeStamps - Logging.enableLogToDebugOutput The priority goes: 1. Injected loggable 2. Native logging 3. Fallback logging. Only one method will be used at a time. Injecting a Loggable or using any of the enable... methods requires that the native library is loaded, using PeerConnectionFactory.initialize. 5684 -
OWNERS 34 -
Size.java Class for representing size of an object. Very similar to android.util.Size but available on all devices. 1181 -
ThreadUtils.java Utility class to be used for checking that a method is called on the correct thread. 7131 -