gecko-dev/third_party/libwebrtc/api
Michael Froman 9109171796 Bug 1828517 - Vendor libwebrtc from 3eceaf4669
Upstream commit: https://webrtc.googlesource.com/src/+/3eceaf46695518f25bef43f155f82ed174827197
    Migrate WebRTC documentation to new renderer

    Bug: b/258408932
    Change-Id: Ib96f39fe0c3912f9746bcc09d079097a145d6115
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/290987
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Artem Titov <titovartem@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#39205}
2023-04-24 18:00:46 -05:00
..
adaptation Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
array_view_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
audio Bug 1817024 - Vendor libwebrtc from 9707f579ae 2023-02-24 09:11:29 +01:00
audio_codecs Bug 1828517 - Vendor libwebrtc from 6e1ae443ac 2023-04-20 10:46:45 -05:00
audio_options_api_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
bitrate_allocation_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
call Bug 1812154 - Vendor libwebrtc from 9d9c2d5795 2023-02-03 08:51:41 -07:00
call_api_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
callfactory_api_gn Bug 1828517 - Vendor libwebrtc from a6b9924988 - moz.build file updates 2023-05-12 09:13:02 -05:00
crypto Bug 1828517 - Vendor libwebrtc from a6b9924988 - moz.build file updates 2023-05-12 09:13:02 -05:00
fec_controller_api_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
field_trials_registry_gn Bug 1817024 - Vendor libwebrtc from 1c8103d4db - moz.build file updates 2023-03-13 11:34:53 +01:00
field_trials_view_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
frame_transformer_interface_gn Bug 1828517 - Vendor libwebrtc from a6b9924988 - moz.build file updates 2023-05-12 09:13:02 -05:00
function_view_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
g3doc Bug 1828517 - Vendor libwebrtc from 3eceaf4669 2023-04-24 18:00:46 -05:00
libjingle_logging_api_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
libjingle_peerconnection_api_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
make_ref_counted_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
media_stream_interface_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
metronome Bug 1817024 - Vendor libwebrtc from 15a82c93d0 - moz.build file updates 2023-03-13 12:03:34 +01:00
neteq Bug 1817024 - Vendor libwebrtc from 2237eb07c3 2023-02-24 16:08:29 +01:00
network_state_predictor_api_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
numerics Bug 1828517 - Vendor libwebrtc from a6b9924988 - moz.build file updates 2023-05-12 09:13:02 -05:00
priority_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
refcountedbase_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
rtc_error_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
rtc_event_log Bug 1828517 - Vendor libwebrtc from 612872b29d 2023-04-21 10:53:07 -05:00
rtp_headers_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
rtp_packet_info_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
rtp_parameters_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
rtp_sender_interface_gn Bug 1828517 - (fix-794d599741) account for moved files in BUILD.gn that we don't want to build. - moz.build file updates 2023-05-12 08:39:57 -05:00
rtp_sender_setparameters_callback_gn Bug 1822194 - (fix-acabb3641b) Break the new SetParametersCallback stuff into stand-alone files. - moz.build file updates 2023-04-10 17:17:29 -05:00
rtp_transceiver_direction_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
scoped_refptr_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
sequence_checker_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
simulated_network_api_gn Bug 1828517 - Vendor libwebrtc from a6b9924988 - moz.build file updates 2023-05-12 09:13:02 -05:00
stats Bug 1828517 - Vendor libwebrtc from 5adc2b6969 2023-04-21 13:25:27 -05:00
task_queue Bug 1828517 - Vendor libwebrtc from 82da9324bc 2023-04-20 10:42:09 -05:00
test Bug 1828517 - Vendor libwebrtc from a6b9924988 2023-04-21 11:09:14 -05:00
transport Bug 1828517 - Vendor libwebrtc from a6b9924988 - moz.build file updates 2023-05-12 09:13:02 -05:00
transport_api_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
units Bug 1817024 - Vendor libwebrtc from f6e48bf4d1 2023-02-24 11:48:30 +01:00
video Bug 1828517 (MOZ) - add i410_buffer.cc to non-unified sources - moz.build file updates 2023-05-12 09:15:08 -05:00
video_codecs Bug 1828517 - Vendor libwebrtc from a6b9924988 - moz.build file updates 2023-05-12 09:13:02 -05:00
video_track_source_constraints_gn Bug 1817024 - Vendor libwebrtc from 6bf20cc76a - moz.build file updates 2023-03-13 11:33:23 +01:00
voip
BUILD.gn Bug 1828517 - Vendor libwebrtc from a6b9924988 2023-04-21 11:09:14 -05:00
DEPS Bug 1822194 - Vendor libwebrtc from 3e6931b183 2023-03-31 09:58:10 -05:00
OWNERS Bug 1812154 - Vendor libwebrtc from 8ad5e393c4 2023-02-02 17:46:05 -07:00
README.md Bug 1828517 - Vendor libwebrtc from 3eceaf4669 2023-04-24 18:00:46 -05:00
array_view.h
array_view_unittest.cc
async_dns_resolver.h Bug 1800920 - Vendor libwebrtc from b787e26369 2022-11-19 12:05:40 -06:00
async_resolver_factory.h
audio_options.cc Bug 1790097 - Vendor libwebrtc from 1def899931 2022-09-21 17:53:38 -05:00
audio_options.h Bug 1790097 - Vendor libwebrtc from 1def899931 2022-09-21 17:53:38 -05:00
candidate.cc Bug 1817024 - Vendor libwebrtc from 5a92577a94 2023-02-21 22:34:23 +01:00
candidate.h Bug 1822194 - Vendor libwebrtc from 41a8357170 2023-03-31 22:07:03 -05:00
create_peerconnection_factory.cc Bug 1806510 - Vendor libwebrtc from 4b6819434d 2023-01-05 15:54:19 -07:00
create_peerconnection_factory.h Bug 1766646 - Vendor libwebrtc from 6c7f98472e 2022-08-30 10:59:19 -04:00
crypto_params.h Bug 1790097 - Vendor libwebrtc from f1d822b03b 2022-09-26 18:03:17 -05:00
data_channel_interface.cc
data_channel_interface.h
dtls_transport_interface.cc Bug 1766646 - Vendor libwebrtc from 316ab128217 2022-08-30 10:50:13 -04:00
dtls_transport_interface.h Bug 1766646 - Vendor libwebrtc from 316ab128217 2022-08-30 10:50:13 -04:00
dtmf_sender_interface.h
fec_controller.h
fec_controller_override.h
field_trials.cc Bug 1817024 - Vendor libwebrtc from 1c8103d4db 2023-02-24 09:12:42 +01:00
field_trials.h Bug 1817024 - Vendor libwebrtc from 1c8103d4db 2023-02-24 09:12:42 +01:00
field_trials_registry.cc Bug 1817024 - Vendor libwebrtc from 1c8103d4db 2023-02-24 09:12:42 +01:00
field_trials_registry.h Bug 1817024 - Vendor libwebrtc from 1c8103d4db 2023-02-24 09:12:42 +01:00
field_trials_unittest.cc Bug 1822194 - Vendor libwebrtc from 2e3069bf07 2023-04-01 10:57:26 -05:00
field_trials_view.h Bug 1817024 - Vendor libwebrtc from 1c8103d4db 2023-02-24 09:12:42 +01:00
frame_transformer_factory.cc Bug 1822194 - Vendor libwebrtc from 5c4509a604 2023-03-31 19:22:21 -05:00
frame_transformer_factory.h Bug 1822194 - Vendor libwebrtc from 5c4509a604 2023-03-31 19:22:21 -05:00
frame_transformer_interface.h Bug 1828517 - Vendor libwebrtc from 3dd73ae6f4 2023-04-21 11:05:09 -05:00
function_view.h
function_view_unittest.cc
ice_transport_factory.cc Bug 1790097 - Vendor libwebrtc from 7c8c4db8ea 2022-09-27 15:07:27 -05:00
ice_transport_factory.h
ice_transport_interface.h Bug 1812154 - Vendor libwebrtc from 52dd1a566a 2023-01-31 17:28:49 -07:00
jsep.cc
jsep.h
jsep_ice_candidate.cc
jsep_ice_candidate.h Bug 1766646 - Vendor libwebrtc from c065e739e2f 2022-08-30 10:47:05 -04:00
jsep_session_description.h Bug 1766646 - Vendor libwebrtc from c065e739e2f 2022-08-30 10:47:05 -04:00
legacy_stats_types.cc Bug 1822194 - Vendor libwebrtc from 3e6931b183 2023-03-31 09:58:10 -05:00
legacy_stats_types.h Bug 1822194 - Vendor libwebrtc from 3e6931b183 2023-03-31 09:58:10 -05:00
make_ref_counted.h Bug 1790097 - Vendor libwebrtc from 105711e9ad 2022-09-28 16:53:03 -05:00
media_stream_interface.cc
media_stream_interface.h Bug 1766646 - Vendor libwebrtc from 2f7ad28a6d 2022-08-30 10:59:42 -04:00
media_stream_track.h Bug 1790097 - Vendor libwebrtc from c397fc62d8 2022-09-22 14:15:18 -05:00
media_types.cc
media_types.h
network_state_predictor.h
notifier.h Bug 1766646 - Vendor libwebrtc from b36f6896c8 2022-08-30 10:52:24 -04:00
packet_socket_factory.h
peer_connection_interface.cc Bug 1790097 - Vendor libwebrtc from 22a6253d43 2022-10-17 15:18:27 -05:00
peer_connection_interface.h Bug 1822194 - Vendor libwebrtc from a445e6a489 2023-04-01 09:02:36 -05:00
priority.h
ref_counted_base.h Bug 1766646 - Vendor libwebrtc from c065e739e2f 2022-08-30 10:47:05 -04:00
rtc_error.cc
rtc_error.h
rtc_error_unittest.cc
rtc_event_log_output.h Bug 1790097 - Vendor libwebrtc from b7821cea6b 2022-10-17 18:05:34 -05:00
rtc_event_log_output_file.cc Bug 1790097 - Vendor libwebrtc from eb91fe48fe 2022-10-17 17:16:21 -05:00
rtc_event_log_output_file.h Bug 1790097 - Vendor libwebrtc from eb91fe48fe 2022-10-17 17:16:21 -05:00
rtc_event_log_output_file_unittest.cc Bug 1790097 - Vendor libwebrtc from b7821cea6b 2022-10-17 18:05:34 -05:00
rtp_headers.cc
rtp_headers.h Bug 1828517 - Vendor libwebrtc from 4893638e72 2023-04-21 12:48:26 -05:00
rtp_packet_info.cc Bug 1812154 - Vendor libwebrtc from 8eeb9b03a8 2023-01-31 17:32:50 -07:00
rtp_packet_info.h Bug 1812154 - Vendor libwebrtc from 8eeb9b03a8 2023-01-31 17:32:50 -07:00
rtp_packet_info_unittest.cc Bug 1812154 - Vendor libwebrtc from 56b96ffe6a 2023-01-31 17:00:13 -07:00
rtp_packet_infos.h Bug 1790097 - Vendor libwebrtc from 7c8c4db8ea 2022-09-27 15:07:27 -05:00
rtp_packet_infos_unittest.cc Bug 1812154 - Vendor libwebrtc from a1d035655e 2023-01-31 16:53:33 -07:00
rtp_parameters.cc Bug 1766646 - Vendor libwebrtc from c69453d93bd 2022-08-30 10:45:34 -04:00
rtp_parameters.h Bug 1812154 - Vendor libwebrtc from 0deda15c96 2023-02-01 14:45:00 -07:00
rtp_parameters_unittest.cc Bug 1766646 - Vendor libwebrtc from c69453d93bd 2022-08-30 10:45:34 -04:00
rtp_receiver_interface.cc
rtp_receiver_interface.h
rtp_sender_interface.cc Bug 1822194 - Vendor libwebrtc from acabb3641b 2023-03-31 11:24:54 -05:00
rtp_sender_interface.h Bug 1822194 - (fix-acabb3641b) Break the new SetParametersCallback stuff into stand-alone files. 2023-03-31 16:21:41 -05:00
rtp_sender_setparameters_callback.cc Bug 1822194 - (fix-acabb3641b) Break the new SetParametersCallback stuff into stand-alone files. 2023-03-31 16:21:41 -05:00
rtp_sender_setparameters_callback.h Bug 1822194 - (fix-acabb3641b) Break the new SetParametersCallback stuff into stand-alone files. 2023-03-31 16:21:41 -05:00
rtp_transceiver_direction.h
rtp_transceiver_interface.cc Bug 1766646 - Vendor libwebrtc from 4f19950660d 2022-08-30 10:46:55 -04:00
rtp_transceiver_interface.h Bug 1766646 - Vendor libwebrtc from 4f19950660d 2022-08-30 10:46:55 -04:00
scoped_refptr.h Bug 1766646 - Vendor libwebrtc from 42a829e623 2022-08-30 11:02:56 -04:00
scoped_refptr_unittest.cc Bug 1766646 - Vendor libwebrtc from 961f3824582 2022-08-30 10:45:57 -04:00
sctp_transport_interface.cc
sctp_transport_interface.h
sequence_checker.h Bug 1800920 - Vendor libwebrtc from 07eaddf939 2022-11-18 11:44:53 -06:00
sequence_checker_unittest.cc Bug 1812154 - Vendor libwebrtc from 4086721e6a 2023-02-01 15:43:36 -07:00
set_local_description_observer_interface.h
set_remote_description_observer_interface.h
turn_customizer.h Bug 1812154 - Vendor libwebrtc from 9d9c2d5795 2023-02-03 08:51:41 -07:00
uma_metrics.h Bug 1828517 - Vendor libwebrtc from 66efab2dd2 2023-04-24 17:49:22 -05:00
video_track_source_constraints.h
video_track_source_proxy_factory.h Bug 1812154 - Vendor libwebrtc from 9d9c2d5795 2023-02-03 08:51:41 -07:00
webrtc_key_value_config.h Bug 1766646 - Vendor libwebrtc from e62c2f2c77 2022-08-30 10:56:05 -04:00
wrapping_async_dns_resolver.cc
wrapping_async_dns_resolver.h Bug 1800920 - Vendor libwebrtc from b787e26369 2022-11-19 12:05:40 -06:00

README.md

How to write code in the api/ directory

Mostly, just follow the regular style guide, but:

  • Note that api/ code is not exempt from the “.h and .cc files come in pairs” rule, so if you declare something in api/path/to/foo.h, it should be defined in api/path/to/foo.cc.
  • Headers in api/ should, if possible, not #include headers outside api/. Its not always possible to avoid this, but be aware that it adds to a small mountain of technical debt that were trying to shrink.
  • .cc files in api/, on the other hand, are free to #include headers outside api/.

That is, the preferred way for api/ code to access non-api/ code is to call it from a .cc file, so that users of our API headers wont transitively #include non-public headers.

For headers in api/ that need to refer to non-public types, forward declarations are often a lesser evil than including non-public header files. The usual rules still apply, though.

.cc files in api/ should preferably be kept reasonably small. If a substantial implementation is needed, consider putting it with our non-public code, and just call it from the api/ .cc file.