Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
0d98c5f
Set use_siso=true by default in .gn
Jwata May 27, 2025
f466fa7
Cleanup arraysize usage in modules/rtp_rtcp and video
DanilChapovalov May 26, 2025
0411de8
Roll chromium_revision 8a36d47cdc..2a9c070f15 (1465671:1465773)
May 27, 2025
203aa90
Remove system_wrappers/ GetCPUInfo() function.
May 26, 2025
335a68d
Cleanup arraysize usage in logging/
DanilChapovalov May 26, 2025
b06883b
Roll chromium_revision 2a9c070f15..c2576d4666 (1465773:1465899)
May 27, 2025
974e78b
Delete webrtc_key_value_config as no longer used
DanilChapovalov May 27, 2025
5d11f09
Introduce CreateTestFieldTrials free function
DanilChapovalov May 23, 2025
7af9fdb
Set use_fuzztest_wrapper=false in gn args
May 27, 2025
38c5a66
Cleanup arraysize usage in modules/desktop_capture
DanilChapovalov May 27, 2025
3b5d54a
Remove //base
May 27, 2025
9172b66
Roll chromium_revision c2576d4666..402d42b820 (1465899:1466044)
May 27, 2025
5833ee1
Roll chromium_revision 402d42b820..c7d34cb214 (1466044:1466177)
May 27, 2025
788e02e
IWYU modules/desktop_capture/
fippo May 27, 2025
125a760
Update unittests in media/ not to use global field trials
DanilChapovalov May 27, 2025
1e53910
Roll chromium_revision c7d34cb214..ba73e47453 (1466177:1466307)
May 28, 2025
b785aa0
Revert "Set use_siso=true by default in .gn"
Jwata May 28, 2025
88bb194
Update unittests in call/ not to use global field trials
DanilChapovalov May 27, 2025
5bed8aa
Remove GetCPUFeaturesARM()
May 28, 2025
5fcbc23
Revert "IWYU modules/desktop_capture/"
DanilChapovalov May 28, 2025
b7b30f2
Update FieldTrialsParser tests not to use global field trials
DanilChapovalov May 27, 2025
3dfa6f8
Cleanup arraysize usage in modules/audio_coding/
DanilChapovalov May 28, 2025
d551242
Add AudioMultiVector::ReadInterleavedFromIndex()
May 28, 2025
2f9c189
dtls-in-stun: tweak DTLS MTU to 900 bytes
fippo May 27, 2025
4a0c08b
Roll chromium_revision ba73e47453..547fced285 (1466307:1466514)
May 28, 2025
948f6e7
Reland "IWYU modules/desktop_capture/"
DanilChapovalov May 28, 2025
f05cbb2
Update WebRTC code version (2025-05-29T04:07:07).
May 29, 2025
e828a39
Revert "Use RunLoop::Flush instead of Sleep"
May 29, 2025
415399a
Update WebRTC code version (2025-05-30T04:04:40).
May 30, 2025
0b51f02
Update tests in congestion_controller/ not to use global field trials
DanilChapovalov May 28, 2025
c711fd5
Fix RemoveRemoteCandidate test implementation to follow production
May 30, 2025
a7e1b1b
Add dcheck for P2PTransportChannel::transport_name()
May 30, 2025
5d054dd
Propagate field trials in Scenario based tests
DanilChapovalov May 30, 2025
81d116b
Cleanup arraysize usage in rtc_base/
DanilChapovalov May 28, 2025
65615c7
ScreenCastPortal: Improve D-Bus signal unsubscription
grulja May 30, 2025
ac52da3
Update WebRTC code version (2025-05-31T04:05:42).
May 31, 2025
c40d8c2
IWYU test/pc, test/peer_scenario and test/scenario
fippo May 30, 2025
dc3b0ba
Add MB config for use_ldd=false.
Jun 2, 2025
6b724e5
Update tests in modules/pacing/ not to use global field trials
DanilChapovalov May 30, 2025
f9af201
Revert "Add dcheck for P2PTransportChannel::transport_name()"
Philipel-WebRTC Jun 2, 2025
bb3b636
Simplify JsepIceCandidate construction and state
Jun 1, 2025
9645141
IWYU test/ (manual changes)
fippo May 29, 2025
912b388
IWYU: ignore generated protobuf headers
fippo May 29, 2025
1d1e00c
IWYU modules/desktop_capture (part 2)
fippo May 29, 2025
e10dfc9
IWYU modules/audio_processing
fippo May 27, 2025
782b16d
Skip internal bots
MirkoBonadei Jun 3, 2025
d87bb0c
Try to recover the original encoder after switch codec request
mosamorosev Jun 3, 2025
92413da
Merge JsepIceCandidate and IceCandidateInterface into IceCandidate
Jun 3, 2025
e4849cc
Fix C++ style errors for CandidateAndResolver
Jun 3, 2025
a766883
Fix up IWYU output to refer to the complete third_party/ path.
Jun 2, 2025
a1070b8
Update deprecated kAudioObjectPropertyElementMaster to kAudioObjectPr…
Philipel-WebRTC Jun 2, 2025
c1d5d01
Clean up following //base dependency removal.
Jun 3, 2025
eddc465
Use ArrayView as parameter in objc nalu rewriter
DanilChapovalov May 23, 2025
52c16dc
Cleanup arraysize usage in pc/ and stats/
DanilChapovalov Jun 2, 2025
2b89a50
Propagate field trials in VideoCodecTestFixture
DanilChapovalov Jun 2, 2025
8e2442f
Remove the unused 'checkout_fuzzer' DEPS var.
Jun 3, 2025
3be3910
IWYU: apply Windows-specific desktop capture IWYU
fippo Jun 3, 2025
00b54f7
Cleanups - delete unused functions in P2PTransportChannel.
Jun 3, 2025
8b93e6d
Manual roll of result_adapter.
Jun 4, 2025
dd3768e
Add support for setting CSRCs on audio and video senders
HelmerNylen Jun 4, 2025
bf33699
Pipe CSRCs down through the audio and video send streams
HelmerNylen Jun 4, 2025
6123140
Support setting a list of CSRCs in RtpEncodingParameters
HelmerNylen Jun 4, 2025
2c586cc
Roll chromium_revision 547fced285..d472202c85 (1466514:1469337)
Jun 4, 2025
fd4a59c
windows: remove WIN32_LEAN_AND_MEAN from the code
fippo Jun 4, 2025
edb2711
Roll chromium_revision d472202c85..5c626b2033 (1469337:1469569)
Jun 4, 2025
79b50ab
Cleanup araysize usage in test/
DanilChapovalov Jun 4, 2025
a383d0c
Roll chromium_revision 5c626b2033..5321f5034e (1469569:1469699)
Jun 5, 2025
9511e49
Propagate field trials in modules/video_coding unittests
DanilChapovalov Jun 4, 2025
84f48e8
Revert "Add support for setting CSRCs on audio and video senders"
Philipel-WebRTC Jun 5, 2025
958c5f2
Roll chromium_revision 5321f5034e..65807cc543 (1469699:1469838)
Jun 5, 2025
64e1608
Reland "Add support for setting CSRCs on audio and video senders"
Philipel-WebRTC Jun 5, 2025
8d1e058
Revert "Support setting a list of CSRCs in RtpEncodingParameters"
HelmerNylen Jun 5, 2025
35f6195
Revert "Pipe CSRCs down through the audio and video send streams"
HelmerNylen Jun 5, 2025
f8f2973
Revert "Reland "Add support for setting CSRCs on audio and video send…
Philipel-WebRTC Jun 5, 2025
836300f
Add stringifiers for RtpHeaderExtension
Jun 5, 2025
9cacf93
Fill spatialLayers[] for VP9 and AV1 in codec tests.
Jun 5, 2025
fd2a2be
Log average loss rate when switching to HOLD state.
Jun 2, 2025
c8f3c68
docs: how to do stacked diffs
fippo Jun 4, 2025
f15af40
IWYU: ignore non-supported file suffices in filelist
fippo Jun 5, 2025
382cb45
Roll chromium_revision 65807cc543..72bf7f3722 (1469838:1469982)
Jun 5, 2025
2ce86c4
Revert "Skip internal bots"
MirkoBonadei Jun 5, 2025
222e348
Roll chromium_revision 72bf7f3722..d0051c9105 (1469982:1470147)
Jun 5, 2025
9211cf2
IWYU modules/utility
fippo Jun 5, 2025
e37b324
Roll chromium_revision d0051c9105..fc97874a45 (1470147:1470271)
Jun 6, 2025
3c3b891
Update WebRTC code version (2025-06-06T04:11:41).
Jun 6, 2025
72061f3
Roll chromium_revision fc97874a45..4f48c8e146 (1470271:1470395)
Jun 6, 2025
254994f
Update SyncBuffer::GetNextAudioInterleaved() to use InterleavedView
May 28, 2025
5d46b8d
Make it explicit that gtest.h requires some special treatment compare…
Jun 5, 2025
fb06484
Reland "Add dcheck for P2PTransportChannel::transport_name()"
May 30, 2025
4cbaeac
Roll chromium_revision 4f48c8e146..4c931e3d91 (1470395:1470517)
Jun 6, 2025
4b3078a
Propagate field trials in rtc_base/ unittests
DanilChapovalov Jun 6, 2025
a424cbd
Merge IceCandidateCollection and JsepIceCandidateCollection
Jun 6, 2025
1317971
Roll chromium_revision 4c931e3d91..e51b0fe664 (1470517:1470658)
Jun 6, 2025
0fe4b8d
Roll chromium_revision e51b0fe664..d148613e70 (1470658:1470807)
Jun 6, 2025
2e7a852
Roll chromium_revision d148613e70..2df86eafb7 (1470807:1470919)
Jun 7, 2025
a4e121a
Update WebRTC code version (2025-06-08T04:05:51).
Jun 8, 2025
0f2d57c
Add a picture pair creator based on webrtc software codecs.
May 30, 2025
4515c28
IWYU modules/audio_mixer
fippo Jun 5, 2025
ac4b49f
Cleanup arraysize usage in audio_device
DanilChapovalov Jun 3, 2025
8eca7e3
Propagate field trials in test::PeerScenario based tests
DanilChapovalov Jun 9, 2025
1dd69f4
Replace use of IceCandidateInterface with IceCandidate
Jun 6, 2025
ff30f04
Change AddCandidate to always set the sdp_mid property
Jun 9, 2025
7bb307e
Change how field trials are set for PCLF clients
DanilChapovalov Jun 9, 2025
732069a
Unify FieldTrials in tests in rtc_base/experiments/
DanilChapovalov Jun 9, 2025
123e168
Delete LossBasedBweV1 since LossBasedBweV2 is per default enabled
perkj Jun 10, 2025
842402f
Replace JsepIceCandidate with IceCandidate
Jun 9, 2025
8305f8c
Fix fake media engine to return header extensions when queried
Jun 10, 2025
f4b83c7
Delete deprecated variant of AudioProcessingFactory::createNative
DanilChapovalov Jun 10, 2025
6e65ae3
Propagate test field trials in pc/ unit tests
DanilChapovalov Jun 10, 2025
de3f99e
Remove fallback to global field trial string in Scenario test helper
DanilChapovalov Jun 2, 2025
80d49c0
IWYU net/dcsctp and use C++ headers
fippo May 15, 2025
b62b0b2
Cleanup arraysize usage in audio, common_audio and audio_processing
DanilChapovalov Jun 5, 2025
de2bbb3
Use std::numbers constants more
fippo Jun 3, 2025
728ad71
Roll chromium_revision 2df86eafb7..30c81c51cb (1470919:1471835)
Jun 10, 2025
bbe6aaf
Remove unused flag GoogCcFactoryConfig.feedback_only
perkj Jun 10, 2025
0292d38
Delete deprecated AudioDeviceModule::getNativeAudioDeviceModulePointer
DanilChapovalov Jun 10, 2025
7c547e1
LNA: Metrics for address type of stun/turn servers and ice candidates
Jun 6, 2025
0fe6498
Roll chromium_revision 30c81c51cb..235ad0ff5e (1471835:1472030)
Jun 10, 2025
f7bbf59
Delete arraysize macro
DanilChapovalov Jun 10, 2025
bfc607a
Update WebRTC code version (2025-06-11T04:07:29).
Jun 11, 2025
194f3ff
IWYU: ignore pipewire internals
fippo Jun 6, 2025
086c2de
Add JitterEstimator::Config::{nack_limit, nack_count_timeout}
rasmusbrandt Jun 10, 2025
a96cc82
Remove redundant webrtc:: prefixes in rtc_tools
Jun 11, 2025
7eaa388
Remove redundant webrtc:: prefixes in tools_webrtc
Jun 11, 2025
6f1452f
Remove redundant webrtc:: prefixes in ['modules/video_capture', 'syst…
Jun 11, 2025
c567040
Remove redundant webrtc:: prefixes in ['modules/utility', 'p2p']
Jun 11, 2025
062fdc0
Remove redundant webrtc:: prefixes in modules/video_coding/codecs/h264
Jun 11, 2025
6f4ca55
Remove redundant webrtc:: prefixes in modules/desktop_capture
Jun 11, 2025
c0fd2e0
Remove redundant webrtc:: prefixes in ['modules/desktop_capture/win',…
Jun 11, 2025
95b259b
Remove redundant webrtc:: prefixes in modules/congestion_controller
Jun 11, 2025
01aafe8
Remove redundant webrtc:: prefixes in modules/audio_processing
Jun 11, 2025
4022e29
Remove redundant webrtc:: prefixes in modules/audio_coding
Jun 11, 2025
4ee109b
Remove redundant webrtc:: prefixes in media
Jun 11, 2025
740d6e8
Remove redundant webrtc:: prefixes in media/sctp
Jun 11, 2025
e41913d
Roll chromium_revision 235ad0ff5e..38b534bcd4 (1472030:1472242)
Jun 11, 2025
84731ed
Remove redundant webrtc:: prefixes in api/environment
Jun 11, 2025
f59fa1a
Remove redundant webrtc:: prefixes in rtc_base
Jun 11, 2025
770d6c8
Remove redundant webrtc:: prefixes in modules/video_coding
Jun 11, 2025
911b101
Remove redundant webrtc:: prefixes in ['modules/rtp_rtcp', 'video', '.']
Jun 11, 2025
e900888
Remove redundant webrtc:: prefixes in modules/audio_device
Jun 11, 2025
dc3bb2a
Do not set global field string in neteq_rtpplay
DanilChapovalov Jun 11, 2025
cc1bc98
Remove redundant webrtc:: prefixes in ['api/video', 'api/video_codecs']
Jun 11, 2025
d7719ab
Add support for setting CSRCs on audio and video senders
HelmerNylen Jun 9, 2025
9c086c7
Pipe CSRCs down through the audio and video send streams
HelmerNylen Jun 9, 2025
d7f47b7
Support setting a list of CSRCs in RtpEncodingParameters
HelmerNylen Jun 9, 2025
ec2a871
Remove redundant webrtc:: prefixes in api/audio_codecs
Jun 11, 2025
81bf91a
IWYU: include third_party in vp8/vp9 paths (and fix the script)
fippo Jun 5, 2025
e3ef2bd
Remove redundant webrtc:: prefixes in ['api/transport', 'rtc_tools/rt…
Jun 11, 2025
35b0636
Remove redundant webrtc:: prefixes in api/test
Jun 11, 2025
3d12066
Remove redundant webrtc:: prefixes in api
Jun 11, 2025
7bc5d70
Remove redundant webrtc:: prefixes in api/audio
Jun 11, 2025
f23a834
Make RemoveIceCandidates() return false if no candidates were removed
Jun 11, 2025
88d3188
Roll chromium_revision 38b534bcd4..211d313168 (1472242:1472715)
Jun 11, 2025
ada8e63
Remove usage of global field string in pc_full_statck PCLF tests
DanilChapovalov Jun 11, 2025
3ae81ba
Add a way to remove a candidate using the IceCandidate type
Jun 11, 2025
47b9d92
Update WebRTC code version (2025-06-12T04:03:44).
Jun 12, 2025
d9b2efd
Remove usage of VideoFrameTrackingIdInjector in PeerConnectionE2EQuality
DanilChapovalov Jun 11, 2025
31ed515
Revert "Make RemoveIceCandidates() return false if no candidates were…
Jun 12, 2025
e31d27d
IWYU openssl-related files and remove Windows-specific bits
fippo Jun 11, 2025
0cbe6c0
Update WebRTC code version (2025-06-13T04:05:59).
Jun 13, 2025
868843f
Roll chromium_revision 211d313168..9f5be0af69 (1472715:1473278)
Jun 13, 2025
d303c66
Propagate field trials in audio unittests
DanilChapovalov Jun 13, 2025
e964f10
Delete deprecated members in PeerConnectionFactoryDependencies
DanilChapovalov Jun 11, 2025
cf71427
Roll chromium_revision 9f5be0af69..cb3fbb0b89 (1473278:1473486)
Jun 13, 2025
ef19cbf
Roll chromium_revision cb3fbb0b89..26d1ad0dfc (1473486:1473612)
Jun 13, 2025
9d0ec0b
Add support for field trial-based parameterization of `TimestampExtra…
rasmusbrandt Jun 13, 2025
addeff8
ssl: remove disabled test for automatic MTU reduction
fippo Apr 25, 2025
70347d9
Roll chromium_revision 26d1ad0dfc..af221c76ef (1473612:1473794)
Jun 13, 2025
3450510
Roll chromium_revision af221c76ef..48084cbdab (1473794:1473894)
Jun 14, 2025
e87281c
Roll chromium_revision 48084cbdab..e112bd136d (1473894:1474000)
Jun 15, 2025
7493242
Update WebRTC code version (2025-06-15T04:09:26).
Jun 15, 2025
da6842a
Roll chromium_revision e112bd136d..cfd11adc6a (1474000:1474100)
Jun 15, 2025
4c619d7
IWYU test/ and use C++ headers
fippo Jun 13, 2025
84dc32f
Update WebRTC code version (2025-06-16T04:07:12).
Jun 16, 2025
7b92b56
Roll chromium_revision cfd11adc6a..d7557e2c46 (1474100:1474230)
Jun 16, 2025
2f61be1
IWYU rtc_base/checks.h
fippo Jun 13, 2025
c6d7e6c
clang-tidy: modernize-use-override
fippo Jun 13, 2025
b98efd4
Repurporse field_trials_fuzzer to validing parsing of the FieldTrials
DanilChapovalov Jun 16, 2025
c280127
Roll chromium_revision d7557e2c46..1f477ea4e7 (1474230:1474371)
Jun 16, 2025
c507765
Cleanup FieldTrials unittest from mentions of the global field trials.
DanilChapovalov Jun 16, 2025
e2cfc36
LNA: Request LNA permission for local/loopback ICE candidates
Jun 13, 2025
ed4a1cd
Roll chromium_revision 1f477ea4e7..2a70894eee (1474371:1474534)
Jun 16, 2025
2eca959
clang-tidy: llvm-namespace-comment,readability-static-definition-in-a…
fippo Jun 13, 2025
55dcb4c
Update WebRTC code version (2025-06-17T04:07:16).
Jun 17, 2025
3fe6a1b
Roll chromium_revision 2a70894eee..fed5f0f083 (1474534:1474753)
Jun 17, 2025
bc3be2e
Switch video_{send,recv}_stream to StringBuilder
Jun 16, 2025
9496cc0
Change SetLocalContent / SetRemoteContent to update header extensions
Jun 16, 2025
32e68fc
Add test for transport-cc messages when CCFB is in use
Jun 17, 2025
a350cfe
Remove StableTargetRateExperiment and usage of TargetTransferRate.sta…
perkj Jun 16, 2025
beddb15
Cleanup VideoQualityTest api and usage
DanilChapovalov Jun 16, 2025
d8507ca
Enable scenario test for L4S
Jun 17, 2025
313f0c5
Roll chromium_revision fed5f0f083..2c016d8949 (1474753:1474853)
Jun 17, 2025
e654ef4
[PCLF] Cleanup field trials propagation api
DanilChapovalov Jun 16, 2025
851e9df
FrameCadenceAdapter: remove unused histograms.
Jun 17, 2025
8f7c0aa
FrameCadenceAdapter: remove unused field trials.
Jun 17, 2025
ee8473c
Remove ClearRtpHeaderExtensions
Jun 16, 2025
17eec85
Stop using stable_rate from GoogCC
perkj Jun 16, 2025
a06fd45
Roll chromium_revision 2c016d8949..9c875ed093 (1474853:1475005)
Jun 17, 2025
d095244
sdp: move functions into an anonymous namespace
fippo Jun 16, 2025
685168e
Roll chromium_revision 9c875ed093..a4d1fb2843 (1475005:1475109)
Jun 17, 2025
0530f9e
Roll chromium_revision a4d1fb2843..165df539ba (1475109:1475252)
Jun 17, 2025
ddea601
Roll chromium_revision 165df539ba..8bbe304dc1 (1475252:1475367)
Jun 18, 2025
4378a2b
Update WebRTC code version (2025-06-18T04:04:29).
Jun 18, 2025
3ff035e
Remove rtp_header_extensions_set()
Jun 17, 2025
c73a545
Propagate field trials in data_channel_benchmark tool.
DanilChapovalov Jun 17, 2025
168090b
IWYU rtc_base
fippo Jun 17, 2025
7fb6f2b
Roll chromium_revision 8bbe304dc1..24cc1d0706 (1475367:1475476)
Jun 18, 2025
45c5460
Add AbslStringify for RtpCodecParameters
Jun 18, 2025
fbf2e92
Mark EphemeralKeyExchangeCipherGroups RTC_EXPORT to allow usage in blink
palak8669 Jun 18, 2025
74fa937
Revert "Use milliseconds to covert NTP capture time in receiver frames."
Jun 5, 2025
1ab982f
[M139 merge] Revert "Change SetLocalContent / SetRemoteContent to upd…
Jul 2, 2025
b7dad11
[M139] Add chrome-cherry-picker account to bot allowlist
Jul 15, 2025
23d8e44
Use FieldTrialsView::IsEnabled for DTLS 1.3
Jul 24, 2025
71b326e
Merge branch '7258_62' into feature/jed/temp-update-to-M139
sf-jed-kyung Aug 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .gn
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ default_args = {
# let's temporarily disable it.
enable_jni_multiplexing = false

# TODO(b/42223878): use_fuzztest_wrapper adds a dependency to //base so
# let's temporarly disable it.
# use_fuzztest_wrapper adds a dependency to //base so we have to disable it.
use_fuzztest_wrapper = false

# Enable Rust in WebRTC
Expand Down
112 changes: 47 additions & 65 deletions DEPS

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,8 @@ def CommonChecks(input_api, output_api):
bot_allowlist=[
'[email protected]',
'[email protected]',
('chrome-cherry-picker'
'@chops-service-accounts.iam.gserviceaccount.com'),
]))
results.extend(
input_api.canned_checks.CheckChangeTodoHasOwner(
Expand Down
64 changes: 28 additions & 36 deletions api/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ rtc_source_set("ice_transport_interface") {
sources = [ "ice_transport_interface.h" ]
deps = [
":async_dns_resolver",
":local_network_access_permission",
":packet_socket_factory",
":ref_count",
":rtc_error",
Expand Down Expand Up @@ -323,6 +324,7 @@ rtc_library("libjingle_peerconnection_api") {
":frame_transformer_interface",
":ice_transport_interface",
":libjingle_logging_api",
":local_network_access_permission",
":make_ref_counted",
":media_stream_interface",
":network_state_predictor_api",
Expand Down Expand Up @@ -384,9 +386,11 @@ rtc_library("libjingle_peerconnection_api") {
"video_codecs:video_codecs_api",
"//third_party/abseil-cpp/absl/algorithm:container",
"//third_party/abseil-cpp/absl/base:core_headers",
"//third_party/abseil-cpp/absl/base:nullability",
"//third_party/abseil-cpp/absl/functional:any_invocable",
"//third_party/abseil-cpp/absl/memory",
"//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/strings:str_format",
"//third_party/abseil-cpp/absl/strings:string_view",

# Basically, don't add stuff here. You might break sensitive downstream
Expand Down Expand Up @@ -471,6 +475,17 @@ rtc_source_set("async_dns_resolver") {
]
}

rtc_source_set("local_network_access_permission") {
visibility = [ "*" ]
sources = [ "local_network_access_permission.h" ]
deps = [
"../rtc_base:checks",
"../rtc_base:socket_address",
"../rtc_base/system:rtc_export",
"//third_party/abseil-cpp/absl/functional:any_invocable",
]
}

rtc_source_set("ref_count") {
visibility = [ "*" ]
sources = [ "ref_count.h" ]
Expand Down Expand Up @@ -704,20 +719,6 @@ if (rtc_include_tests) {
]
}

rtc_library("test_dependency_factory") {
visibility = [ "*" ]
testonly = true
sources = [
"test/test_dependency_factory.cc",
"test/test_dependency_factory.h",
]
deps = [
":video_quality_test_fixture_api",
"../rtc_base:checks",
"../rtc_base:platform_thread_types",
]
}

rtc_library("create_video_quality_test_fixture_api") {
visibility = [ "*" ]
testonly = true
Expand All @@ -726,9 +727,6 @@ if (rtc_include_tests) {
"test/create_video_quality_test_fixture.h",
]
deps = [
":fec_controller_api",
":network_state_predictor_api",
":scoped_refptr",
":video_quality_test_fixture_api",
"../video:video_quality_test",
]
Expand Down Expand Up @@ -1108,6 +1106,7 @@ if (rtc_include_tests) {
testonly = true
sources = [ "test/videocodec_test_fixture.h" ]
deps = [
":field_trials",
":videocodec_test_stats_api",
"../modules/video_coding:codec_globals_headers",
"../modules/video_coding:video_codec_interface",
Expand Down Expand Up @@ -1394,6 +1393,18 @@ if (rtc_include_tests) {
]
}

rtc_source_set("mock_local_network_access_permission") {
visibility = [ "*" ]
testonly = true
sources = [ "test/mock_local_network_access_permission.h" ]
deps = [
":local_network_access_permission",
"../rtc_base:socket_address",
"../test:test_support",
"//third_party/abseil-cpp/absl/functional:any_invocable",
]
}

rtc_source_set("mock_rtp") {
visibility = [ "*" ]
testonly = true
Expand Down Expand Up @@ -1574,40 +1585,28 @@ if (rtc_include_tests) {
deps = [
":array_view",
":candidate",
":create_time_controller",
":field_trials",
":field_trials_view",
":function_view",
":libjingle_peerconnection_api",
":peer_connection_quality_test_fixture_api",
":rtc_error",
":rtc_event_log_output_file",
":rtp_headers",
":rtp_headers",
":rtp_packet_info",
":rtp_parameters",
":scoped_refptr",
":sequence_checker",
":time_controller",
"../p2p:p2p_constants",
"../rtc_base:buffer",
"../rtc_base:checks",
"../rtc_base:gunit_helpers",
"../rtc_base:logging",
"../rtc_base:macromagic",
"../rtc_base:platform_thread",
"../rtc_base:rtc_event",
"../rtc_base:socket_address",
"../rtc_base:ssl",
"../rtc_base:task_queue_for_test",
"../rtc_base/containers:flat_set",
"../rtc_base/synchronization:sequence_checker_internal",
"../rtc_base/task_utils:repeating_task",
"../system_wrappers",
"../system_wrappers:field_trial",
"../test:field_trial",
"../test:fileutils",
"../test:rtc_expect_death",
"../test:test_support",
"audio_codecs/opus:unittests",
"environment:environment_unittests",
Expand All @@ -1621,7 +1620,6 @@ if (rtc_include_tests) {
"video:rtp_video_frame_assembler_unittests",
"video:video_frame",
"video:video_frame_metadata_unittest",
"//testing/gtest",
"//third_party/abseil-cpp/absl/functional:any_invocable",
"//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/strings:string_view",
Expand Down Expand Up @@ -1696,12 +1694,6 @@ rtc_source_set("field_trials_view") {
]
}

rtc_source_set("webrtc_key_value_config") {
visibility = [ "*" ]
sources = [ "webrtc_key_value_config.h" ]
deps = [ ":field_trials_view" ]
}

rtc_library("field_trials") {
visibility = [ "*" ]
sources = [
Expand Down
15 changes: 10 additions & 5 deletions api/DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ specific_include_rules = {
"audio_device_defines\.h": [
"+rtc_base/strings/string_builder.h",
],

"audio_format\.h": [
"+rtc_base/strings/string_builder.h",
],
Expand Down Expand Up @@ -107,6 +107,15 @@ specific_include_rules = {
"+modules/include/module_fec_types.h",
],

"jsep\.h": [
"+absl/strings/has_absl_stringify.h",
"+absl/strings/str_format.h",
],

"local_network_access_permission\.h": [
"+rtc_base/socket_address.h",
],

"packet_socket_factory\.h": [
"+rtc_base/async_packet_socket.h",
"+rtc_base/socket_address.h",
Expand Down Expand Up @@ -198,10 +207,6 @@ specific_include_rules = {
"+rtc_base/thread_annotations.h",
],

"test_dependency_factory\.h": [
"+rtc_base/thread_checker.h",
],

"time_controller\.h": [
"+rtc_base/thread.h",
],
Expand Down
14 changes: 7 additions & 7 deletions api/array_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

namespace webrtc {

// tl;dr: webrtc::ArrayView is the same thing as gsl::span from the Guideline
// tl;dr: ArrayView is the same thing as gsl::span from the Guideline
// Support Library.
//
// Many functions read from or write to arrays. The obvious way to do this is
Expand All @@ -37,7 +37,7 @@ namespace webrtc {
// }
//
// This is flexible, since it doesn't matter how the array is stored (C array,
// std::vector, webrtc::Buffer, ...), but it's error-prone because the caller
// std::vector, Buffer, ...), but it's error-prone because the caller
// has to correctly specify the array length:
//
// Contains17(arr, std::size(arr)); // C array
Expand All @@ -48,11 +48,11 @@ namespace webrtc {
// It's also kind of messy to have two separate arguments for what is
// conceptually a single thing.
//
// Enter webrtc::ArrayView<T>. It contains a T pointer (to an array it doesn't
// Enter ArrayView<T>. It contains a T pointer (to an array it doesn't
// own) and a count, and supports the basic things you'd expect, such as
// indexing and iteration. It allows us to write our function like this:
//
// bool Contains17(webrtc::ArrayView<const int> arr) {
// bool Contains17(ArrayView<const int> arr) {
// for (auto e : arr) {
// if (e == 17)
// return true;
Expand All @@ -65,7 +65,7 @@ namespace webrtc {
//
// Contains17(arr); // C array
// Contains17(arr); // std::vector
// Contains17(webrtc::ArrayView<int>(arr, size)); // pointer + size
// Contains17(ArrayView<int>(arr, size)); // pointer + size
// Contains17(nullptr); // nullptr -> empty ArrayView
// ...
//
Expand Down Expand Up @@ -239,8 +239,8 @@ class ArrayView final : public array_view_internal::ArrayViewBase<T, Size> {
// ArrayView<T, N> to ArrayView<T> or ArrayView<const T>,
// std::vector<T> to ArrayView<T> or ArrayView<const T>,
// const std::vector<T> to ArrayView<const T>,
// webrtc::Buffer to ArrayView<uint8_t> or ArrayView<const uint8_t>, and
// const webrtc::Buffer to ArrayView<const uint8_t>.
// Buffer to ArrayView<uint8_t> or ArrayView<const uint8_t>, and
// const Buffer to ArrayView<const uint8_t>.
template <
typename U,
typename std::enable_if<Size == array_view_internal::kArrayViewVarSize &&
Expand Down
6 changes: 3 additions & 3 deletions api/async_dns_resolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,22 @@ class AsyncDnsResolverFactoryInterface {
// Creates an AsyncDnsResolver and starts resolving the name. The callback
// will be called when resolution is finished.
// The callback will be called on the sequence that the caller runs on.
virtual std::unique_ptr<webrtc::AsyncDnsResolverInterface> CreateAndResolve(
virtual std::unique_ptr<AsyncDnsResolverInterface> CreateAndResolve(
const SocketAddress& addr,
absl::AnyInvocable<void()> callback) = 0;
// Creates an AsyncDnsResolver and starts resolving the name to an address
// matching the specified family. The callback will be called when resolution
// is finished. The callback will be called on the sequence that the caller
// runs on.
virtual std::unique_ptr<webrtc::AsyncDnsResolverInterface> CreateAndResolve(
virtual std::unique_ptr<AsyncDnsResolverInterface> CreateAndResolve(
const SocketAddress& addr,
int family,
absl::AnyInvocable<void()> callback) = 0;
// Creates an AsyncDnsResolver and does not start it.
// For backwards compatibility, will be deprecated and removed.
// One has to do a separate Start() call on the
// resolver to start name resolution.
virtual std::unique_ptr<webrtc::AsyncDnsResolverInterface> Create() = 0;
virtual std::unique_ptr<AsyncDnsResolverInterface> Create() = 0;
};

} // namespace webrtc
Expand Down
2 changes: 1 addition & 1 deletion api/audio/audio_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace webrtc {

class AudioDeviceModuleForTest;

class AudioDeviceModule : public webrtc::RefCountInterface {
class AudioDeviceModule : public RefCountInterface {
public:
enum AudioLayer {
kPlatformDefaultAudio = 0,
Expand Down
2 changes: 1 addition & 1 deletion api/audio/audio_frame.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ InterleavedView<const int16_t> AudioFrame::data_view() const {
// If you get a nullptr from `data_view()`, it's likely because the
// samples_per_channel_ and/or num_channels_ members haven't been properly
// set. Since `data_view()` returns an InterleavedView<> (which internally
// uses webrtc::ArrayView<>), we inherit the behavior in InterleavedView when
// uses ArrayView<>), we inherit the behavior in InterleavedView when
// the view size is 0 that ArrayView<>::data() returns nullptr. So, even when
// an AudioFrame is muted and we want to return `zeroed_data()`, if
// samples_per_channel_ or num_channels_ is 0, the view will point to
Expand Down
2 changes: 1 addition & 1 deletion api/audio/audio_frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class AudioFrame {
// Absolute capture timestamp when this audio frame was originally captured.
// This is only valid for audio frames captured on this machine. The absolute
// capture timestamp of a received frame is found in `packet_infos_`.
// This timestamp MUST be based on the same clock as webrtc::TimeMillis().
// This timestamp MUST be based on the same clock as TimeMillis().
std::optional<int64_t> absolute_capture_timestamp_ms_;
};

Expand Down
17 changes: 5 additions & 12 deletions api/audio/audio_processing.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,11 @@
#ifndef API_AUDIO_AUDIO_PROCESSING_H_
#define API_AUDIO_AUDIO_PROCESSING_H_

// MSVC++ requires this to be set before any other includes to get M_PI.
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif

#include <math.h>
#include <stddef.h> // size_t
#include <stdio.h> // FILE
#include <string.h>

#include <array>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <memory>
#include <optional>
#include <string>
Expand Down Expand Up @@ -622,7 +615,7 @@ class RTC_EXPORT AudioProcessing : public RefCountInterface {
// with this chunk of audio.
virtual void set_stream_key_pressed(bool key_pressed) = 0;

// Creates and attaches an webrtc::AecDump for recording debugging
// Creates and attaches an AecDump for recording debugging
// information.
// The `worker_queue` may not be null and must outlive the created
// AecDump instance. |max_log_size_bytes == -1| means the log size
Expand All @@ -641,7 +634,7 @@ class RTC_EXPORT AudioProcessing : public RefCountInterface {
worker_queue) = 0;

// TODO(webrtc:5298) Deprecated variant.
// Attaches provided webrtc::AecDump for recording debugging
// Attaches provided AecDump for recording debugging
// information. Log file and maximum file size logic is supposed to
// be handled by implementing instance of AecDump. Calling this
// method when another AecDump is attached resets the active AecDump
Expand Down
2 changes: 1 addition & 1 deletion api/audio/audio_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace webrtc {
// buffer. Channels can be enumerated and accessing the individual channel
// data is done via MonoView<>.
//
// The views are comparable to and built on webrtc::ArrayView<> but add
// The views are comparable to and built on ArrayView<> but add
// audio specific properties for the dimensions of the buffer and the above
// specialized [de]interleaved support.
//
Expand Down
2 changes: 1 addition & 1 deletion api/audio/echo_detector_creator.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace webrtc {

// Returns an instance of the WebRTC implementation of a residual echo detector.
// It can be provided to the webrtc::BuiltinAudioProcessingBuilder to obtain the
// It can be provided to the BuiltinAudioProcessingBuilder to obtain the
// usual residual echo metrics.
scoped_refptr<EchoDetector> CreateEchoDetector();

Expand Down
1 change: 0 additions & 1 deletion api/audio/test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ if (rtc_include_tests) {
"../..:array_view",
"../../../modules/audio_processing:aec3_config_json",
"../../../rtc_base:checks",
"../../../rtc_base:macromagic",
"../../../test:test_support",
]
}
Expand Down
Loading