webrtc_m130/native-api.md
Mirko Bonadei a4eeeffec2 Fixing API list in native-api.md (adding media/base and media/engine).
Bug: None
Change-Id: I956a08b6a3127f41eb8d115dadc325331f1ae7db
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/39000
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21576}
2018-01-11 12:42:41 +00:00

3.0 KiB
Raw Blame History

API header files

As a user of the WebRTC library, you may use headers and build files in the following directories:

API directory Including subdirectories?
api Yes

For now, you may also use headers and build files in the following legacy API directories—but see the disclaimer below.

Legacy API directory Including subdirectories?
common_audio/include No
media/base No
media/engine No
modules/audio_coding/include No
modules/audio_device/include No
modules/audio_processing/include No
modules/bitrate_controller/include No
modules/congestion_controller/include No
modules/include No
modules/remote_bitrate_estimator/include No
modules/rtp_rtcp/include No
modules/rtp_rtcp/source No
modules/utility/include No
modules/video_coding/codecs/h264/include No
modules/video_coding/codecs/i420/include No
modules/video_coding/codecs/vp8/include No
modules/video_coding/codecs/vp9/include No
modules/video_coding/include No
pc No
rtc_base No
system_wrappers/include No
voice_engine/include No

While the files, types, functions, macros, build targets, etc. in the API and legacy API directories will sometimes undergo incompatible changes, such changes will be announced in advance to discuss-webrtc@googlegroups.com, and a migration path will be provided.

In the directories not listed in the tables above, incompatible changes may happen at any time, and are not announced.

The legacy API directories contain some things you shouldnt use

The legacy API directories, in addition to things that genuinely should be part of the API, also contain things that should not be part of the API. We are in the process of moving the good stuff to the api directory tree, and will remove directories from the legacy list once they no longer contain anything that should be in the API.

In other words, if you find things in the legacy API directories that dont seem like they belong in the WebRTC native API, dont grow too attached to them.

All these worlds are yours—except Europa

In the API headers, or in files included by the API headers, there are types, functions, namespaces, etc. that have impl or internal in their names (in various styles, such as CamelCaseImpl, snake_case_impl). They are not part of the API, and may change incompatibly at any time; do not use them.