This reverts commit 0f78c6b28dbc0c9caa555ce89ce91b0f08c510ea. Reason for revert: Breaks downstream tests. Original change's description: > Delete NO_MAIN_THREAD_WRAPPING preprocessor define. > > Since many tests rely on rtc::Thread::Current(), add an > explicit rtc::AutoThread in the main() function used by tests. > > Bug: webrtc:9714 > Change-Id: Id82121967c9621fe1c2945846009c48139fa57da > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/39680 > Reviewed-by: Kári Helgason <kthelgason@webrtc.org> > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > Commit-Queue: Niels Moller <nisse@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#28000} TBR=kwiberg@webrtc.org,nisse@webrtc.org,kthelgason@webrtc.org Change-Id: Iff939bb0d5ad0ea01b953321993733bb56c9070b No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:9714 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/137512 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28001}
WebRTC Obj-C SDK
This directory contains the Obj-C SDK for WebRTC. This includes wrappers for the C++ PeerConnection API and some platform specific components for iOS and macOS.
Organization
-
api/
Wrappers around classes and functions in the C++ API for creating and configuring peer connections, etc.
-
base/
This directory contains some base protocols and classes that are used by both the platform specific components and the SDK wrappers.
-
components/
These are the platform specific components. Contains components for handling audio, capturing and rendering video, encoding and decoding using the platform's hardware codec implementation and for representing video frames in the platform's native format.
-
helpers/
These files are not WebRTC specific, but are general helper classes and utilities for the Cocoa platforms.
-
native/
APIs for wrapping the platform specific components and using them with the C++ API.
-
unittests/
This directory contains the tests.