commit | 2d1fa4713fe4f81a0474dd3e4ee9d75223310a52 | [log] [tgz] |
---|---|---|
author | Sergey Silkin <ssilkin@webrtc.org> | Fri Mar 24 11:44:39 2023 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 24 13:59:54 2023 |
tree | 933d77a9724458468a39bbb8a064ff1b95ba6849 | |
parent | 94b51210f8c42c8052b905bc6ba00c3e1aa1fdb8 [diff] |
Use MediaCodec API keys and values directly Replace locally-defined keys and values with constants from MediaCodec API (MediaFormat.KEY_..., etc). Value of a constant field is resolved at compile time according to 13.1.1 [1]. I.e., it is safe to reference a constant field not available in older API (MediaCodec API ignores unrecognized MediaFormat.KEY_ values). [1] https://docs.oracle.com/javase/specs/jls/se20/html/jls-13.html#jls-13.1 Bug: none Change-Id: I3c63cfd67cc22db1b957f908508b434d36d88806 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/298940 Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Reviewed-by: Linus Nilsson <lnilsson@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39668}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.