
This reverts commit 86e0ea5711cfef95960ffcc8b6d918c67576e5c9. Reason for revert: The reasons for removing bitratePriority are unclear. Aside from the fact that you can't yet use it for the relative bitrate of simulcast streams, only the relative bitrate of entire tracks, it's working as intended. It differs from the standard, but only in that it's more flexible; the web standard only allows values of 0.5, 1.0, 2.0, and 4.0 while for the native API we allow any ratio. Original change's description: > Remove bitratePriority from the Obj-C RTCRtpEncodingParameters wrapper. > > This was added in CL 135122, but the bitratePriority parameter is not > standard and not implemented in a way users would expect. So it should > actually not be exposed in the Obj-C SDK. > > Bug: webrtc:10438 > Change-Id: I801ce940a32701d2703e951ef2b601c606aa2111 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/135287 > Reviewed-by: Kári Helgason <kthelgason@webrtc.org> > Commit-Queue: Anders Carlsson <andersc@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#27861} TBR=andersc@webrtc.org,kthelgason@webrtc.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: webrtc:10438 Change-Id: Ibc16b6054a1583de43a868d98683ea114bd89435 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171140 Reviewed-by: Taylor <deadbeef@webrtc.org> Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30863}
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.