Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
import("//build/config/linux/pkg_config.gni")
|
2022-05-24 10:32:32 +02:00
|
|
|
import("//third_party/libaom/options.gni")
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../webrtc.gni")
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
|
|
|
|
|
group("media") {
|
2018-01-15 10:20:00 -05:00
|
|
|
deps = []
|
|
|
|
|
if (!build_with_mozilla) {
|
|
|
|
|
deps += [
|
|
|
|
|
":rtc_media",
|
|
|
|
|
":rtc_media_base",
|
|
|
|
|
]
|
|
|
|
|
}
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
config("rtc_media_defines_config") {
|
2019-02-05 12:43:03 +01:00
|
|
|
defines = [ "HAVE_WEBRTC_VIDEO" ]
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
}
|
|
|
|
|
|
2018-01-23 10:37:42 +01:00
|
|
|
rtc_source_set("rtc_media_config") {
|
|
|
|
|
visibility = [ "*" ]
|
2020-01-21 12:10:10 +01:00
|
|
|
sources = [ "base/media_config.h" ]
|
2018-01-23 10:37:42 +01:00
|
|
|
}
|
|
|
|
|
|
2021-04-19 09:09:26 +02:00
|
|
|
rtc_library("rtc_sdp_video_format_utils") {
|
2019-12-19 15:05:20 +01:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
2021-04-19 09:09:26 +02:00
|
|
|
"base/sdp_video_format_utils.cc",
|
|
|
|
|
"base/sdp_video_format_utils.h",
|
2019-12-19 15:05:20 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
2024-02-20 15:28:14 +01:00
|
|
|
":media_constants",
|
2019-12-19 15:05:20 +01:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2021-04-19 09:09:26 +02:00
|
|
|
"../rtc_base:checks",
|
2019-12-19 15:05:20 +01:00
|
|
|
"../rtc_base:stringutils",
|
2024-02-20 15:28:14 +01:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
]
|
2019-12-19 15:05:20 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_media_base") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
defines = []
|
|
|
|
|
libs = []
|
2024-02-28 11:01:25 +00:00
|
|
|
sources = [
|
|
|
|
|
"base/adapted_video_track_source.h", # Used downstream
|
|
|
|
|
"base/video_adapter.h", # Used once downstream
|
|
|
|
|
"base/video_broadcaster.h", # Used downstream
|
|
|
|
|
"base/video_common.h", # Used downstream
|
|
|
|
|
]
|
2017-12-13 16:05:42 +01:00
|
|
|
deps = [
|
2024-03-12 12:06:16 +00:00
|
|
|
":adapted_video_track_source",
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
|
|
|
|
":media_channel",
|
|
|
|
|
":media_channel_impl",
|
|
|
|
|
":rid_description",
|
2019-04-10 12:50:24 +02:00
|
|
|
":rtc_media_config",
|
2022-12-16 09:54:57 +00:00
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
2024-03-12 12:06:16 +00:00
|
|
|
":video_adapter",
|
|
|
|
|
":video_broadcaster",
|
|
|
|
|
":video_common",
|
2024-02-28 11:01:25 +00:00
|
|
|
":video_source_base",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api:array_view",
|
2018-01-19 11:28:54 +01:00
|
|
|
"../api:audio_options_api",
|
2022-12-15 16:49:13 +00:00
|
|
|
"../api:call_api",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../api:field_trials_view",
|
2020-02-27 16:16:55 +01:00
|
|
|
"../api:frame_transformer_interface",
|
2019-09-17 14:30:41 +02:00
|
|
|
"../api:media_stream_interface",
|
2019-09-10 10:51:23 +02:00
|
|
|
"../api:rtc_error",
|
2019-08-26 10:45:28 +02:00
|
|
|
"../api:rtp_parameters",
|
2022-10-18 17:05:16 +02:00
|
|
|
"../api:rtp_sender_interface",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../api:sequence_checker",
|
2022-12-13 12:57:24 +00:00
|
|
|
"../api:transport_api",
|
2020-09-30 18:27:39 +02:00
|
|
|
"../api/audio:audio_frame_processor",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2019-09-13 14:42:15 +02:00
|
|
|
"../api/crypto:frame_decryptor_interface",
|
|
|
|
|
"../api/crypto:frame_encryptor_interface",
|
|
|
|
|
"../api/crypto:options",
|
2022-12-13 12:57:24 +00:00
|
|
|
"../api/task_queue",
|
2022-06-16 21:27:45 +02:00
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
2021-05-10 11:29:56 +02:00
|
|
|
"../api/transport:datagram_transport_interface",
|
2019-11-18 15:53:32 +01:00
|
|
|
"../api/transport:stun_types",
|
2019-09-02 15:16:49 +02:00
|
|
|
"../api/transport/rtp:rtp_source",
|
2021-09-03 14:51:22 +00:00
|
|
|
"../api/units:time_delta",
|
2022-12-15 16:49:13 +00:00
|
|
|
"../api/video:recordable_encoded_frame",
|
2024-09-17 15:13:36 +02:00
|
|
|
"../api/video:resolution",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video:video_bitrate_allocation",
|
2019-04-17 07:38:40 +02:00
|
|
|
"../api/video:video_bitrate_allocator_factory",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2022-12-06 10:09:10 +00:00
|
|
|
"../api/video_codecs:scalability_mode",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../call:call_interfaces",
|
|
|
|
|
"../common_video",
|
2020-09-30 18:27:39 +02:00
|
|
|
"../modules/async_audio_processing",
|
2023-01-13 16:42:36 +01:00
|
|
|
"../modules/audio_device",
|
2019-05-27 10:44:24 +02:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../rtc_base:buffer",
|
2022-04-19 17:18:36 +02:00
|
|
|
"../rtc_base:byte_order",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:dscp",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../rtc_base:macromagic",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:sanitizer",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:socket",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../rtc_base:stringutils",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../rtc_base:timeutils",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:unique_id_generator",
|
2022-12-13 12:57:24 +00:00
|
|
|
"../rtc_base/network:sent_packet",
|
2020-07-07 15:43:11 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2019-06-11 14:04:16 +02:00
|
|
|
"../rtc_base/system:file_wrapper",
|
2021-05-24 16:54:41 +02:00
|
|
|
"../rtc_base/system:no_unique_address",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
"../rtc_base/third_party/sigslot",
|
2022-09-29 10:28:24 +02:00
|
|
|
"../video/config:encoder_config",
|
2024-11-06 15:14:40 +00:00
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
2017-12-13 16:05:42 +01:00
|
|
|
]
|
2024-02-28 11:01:25 +00:00
|
|
|
}
|
|
|
|
|
|
2024-03-12 12:06:16 +00:00
|
|
|
rtc_library("adapted_video_track_source") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/adapted_video_track_source.cc",
|
|
|
|
|
"base/adapted_video_track_source.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":video_adapter",
|
|
|
|
|
":video_broadcaster",
|
|
|
|
|
"../api:media_stream_interface",
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base:timeutils",
|
|
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-28 11:01:25 +00:00
|
|
|
rtc_source_set("audio_source") {
|
|
|
|
|
sources = [ "base/audio_source.h" ]
|
2024-03-12 12:06:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("video_adapter") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/video_adapter.cc",
|
|
|
|
|
"base/video_adapter.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":video_common",
|
2024-09-17 15:13:36 +02:00
|
|
|
"../api/video:resolution",
|
2024-03-12 12:06:16 +00:00
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
"../rtc_base:timeutils",
|
|
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
"../system_wrappers:field_trial",
|
|
|
|
|
]
|
2024-02-28 11:01:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("video_source_base") {
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
sources = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"base/video_source_base.cc",
|
|
|
|
|
"base/video_source_base.h",
|
2016-11-25 00:40:18 -08:00
|
|
|
]
|
2024-02-28 11:01:25 +00:00
|
|
|
deps = [
|
|
|
|
|
"../api:sequence_checker",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base/system:no_unique_address",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2024-02-28 11:01:25 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-12 12:06:16 +00:00
|
|
|
rtc_library("video_broadcaster") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/video_broadcaster.cc",
|
|
|
|
|
"base/video_broadcaster.h", # Used downstream
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":video_common",
|
|
|
|
|
":video_source_base",
|
|
|
|
|
"../api:media_stream_interface",
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api:sequence_checker",
|
2024-11-06 15:14:40 +00:00
|
|
|
"../api:video_track_source_constraints",
|
2024-03-12 12:06:16 +00:00
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("video_common") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/video_common.cc",
|
|
|
|
|
"base/video_common.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api:array_view",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:macromagic",
|
|
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
"../rtc_base:timeutils",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
2024-11-06 15:14:40 +00:00
|
|
|
"//third_party/abseil-cpp/absl/base:core_headers",
|
2024-03-12 12:06:16 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-28 11:01:25 +00:00
|
|
|
rtc_library("media_engine") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/media_engine.cc",
|
|
|
|
|
"base/media_engine.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":codec",
|
|
|
|
|
":media_channel",
|
|
|
|
|
":media_channel_impl",
|
|
|
|
|
":rtc_media_config",
|
2024-09-03 11:20:36 +00:00
|
|
|
":stream_params",
|
2024-03-12 12:06:16 +00:00
|
|
|
":video_common",
|
2024-09-03 11:20:36 +00:00
|
|
|
"../api:array_view",
|
|
|
|
|
"../api:audio_options_api",
|
2024-02-28 11:01:25 +00:00
|
|
|
"../api:field_trials_view",
|
2024-09-03 11:20:36 +00:00
|
|
|
"../api:rtc_error",
|
2024-02-28 11:01:25 +00:00
|
|
|
"../api:rtp_parameters",
|
2024-09-03 11:20:36 +00:00
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api/audio:audio_device",
|
2024-02-28 11:01:25 +00:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../api/crypto:options",
|
|
|
|
|
"../api/video:video_bitrate_allocation",
|
|
|
|
|
"../api/video:video_bitrate_allocator_factory",
|
|
|
|
|
"../call:call_interfaces",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
"../rtc_base/system:file_wrapper",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2024-02-28 11:01:25 +00:00
|
|
|
]
|
2016-11-25 00:40:18 -08:00
|
|
|
}
|
|
|
|
|
|
2022-12-16 09:54:57 +00:00
|
|
|
rtc_library("media_channel_impl") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/media_channel_impl.cc",
|
|
|
|
|
"base/media_channel_impl.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":codec",
|
|
|
|
|
":media_channel",
|
|
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
|
|
|
|
"../api:audio_options_api",
|
|
|
|
|
"../api:call_api",
|
|
|
|
|
"../api:frame_transformer_interface",
|
|
|
|
|
"../api:media_stream_interface",
|
|
|
|
|
"../api:rtc_error",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api:rtp_headers",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../api:rtp_parameters",
|
|
|
|
|
"../api:rtp_sender_interface",
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api:sequence_checker",
|
|
|
|
|
"../api:transport_api",
|
|
|
|
|
"../api/crypto:frame_decryptor_interface",
|
|
|
|
|
"../api/crypto:frame_encryptor_interface",
|
|
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
|
|
|
|
"../api/transport/rtp:rtp_source",
|
|
|
|
|
"../api/units:time_delta",
|
|
|
|
|
"../api/video:recordable_encoded_frame",
|
|
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
|
|
|
|
"../api/video_codecs:scalability_mode",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:dscp",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:macromagic",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:socket",
|
|
|
|
|
"../rtc_base/network:sent_packet",
|
|
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-12-16 09:54:57 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("media_channel") {
|
|
|
|
|
sources = [ "base/media_channel.h" ]
|
|
|
|
|
deps = [
|
|
|
|
|
":codec",
|
|
|
|
|
":media_constants",
|
|
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
|
|
|
|
"../api:audio_options_api",
|
|
|
|
|
"../api:call_api",
|
|
|
|
|
"../api:frame_transformer_interface",
|
|
|
|
|
"../api:media_stream_interface",
|
|
|
|
|
"../api:rtc_error",
|
2023-05-30 04:04:07 +00:00
|
|
|
"../api:rtp_headers",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../api:rtp_parameters",
|
|
|
|
|
"../api:rtp_sender_interface",
|
2023-05-30 04:04:07 +00:00
|
|
|
"../api:scoped_refptr",
|
2024-04-19 15:07:08 +00:00
|
|
|
"../api/audio:audio_processing_statistics",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../api/crypto:frame_decryptor_interface",
|
|
|
|
|
"../api/crypto:frame_encryptor_interface",
|
|
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
|
|
|
|
"../api/transport:datagram_transport_interface",
|
|
|
|
|
"../api/transport/rtp:rtp_source",
|
2025-02-06 16:36:51 +01:00
|
|
|
"../api/units:data_rate",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../api/units:time_delta",
|
2023-06-02 14:54:45 +02:00
|
|
|
"../api/units:timestamp",
|
2023-05-30 04:04:07 +00:00
|
|
|
"../api/video:recordable_encoded_frame",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
|
|
|
|
"../api/video_codecs:scalability_mode",
|
|
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../common_video",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:buffer",
|
2023-05-30 04:04:07 +00:00
|
|
|
"../rtc_base:checks",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:dscp",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:logging",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:socket",
|
|
|
|
|
"../rtc_base:stringutils",
|
2023-05-30 04:04:07 +00:00
|
|
|
"../rtc_base/network:sent_packet",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../video/config:encoder_config",
|
2024-09-07 20:38:29 +00:00
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2023-05-30 04:04:07 +00:00
|
|
|
]
|
2022-12-16 09:54:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("codec") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/codec.cc",
|
|
|
|
|
"base/codec.h",
|
2024-10-09 14:05:51 +00:00
|
|
|
|
|
|
|
|
# Because Codec::Matches uses a function from codec_comparators,
|
|
|
|
|
# there's a mutual dependency between these two files.
|
|
|
|
|
"base/codec_comparators.cc",
|
|
|
|
|
"base/codec_comparators.h",
|
2022-12-16 09:54:57 +00:00
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":media_constants",
|
|
|
|
|
"../api:rtp_parameters",
|
2023-06-20 17:12:57 +00:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2024-06-04 21:29:14 +00:00
|
|
|
"../api/video_codecs:scalability_mode",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../rtc_base:checks",
|
|
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
|
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2024-10-11 09:59:01 +00:00
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
2022-12-16 09:54:57 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2024-10-10 12:31:47 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:str_format",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-12-16 09:54:57 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-16 21:48:06 +00:00
|
|
|
rtc_library("codec_list") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/codec_list.cc",
|
|
|
|
|
"base/codec_list.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":codec",
|
2024-12-18 23:06:33 +00:00
|
|
|
":media_constants",
|
2024-12-16 21:48:06 +00:00
|
|
|
"../rtc_base:checks",
|
2024-12-18 23:06:33 +00:00
|
|
|
"../rtc_base:logging",
|
|
|
|
|
"../rtc_base:stringutils",
|
2024-12-16 21:48:06 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-16 09:54:57 +00:00
|
|
|
rtc_library("rtp_utils") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/rtp_utils.cc",
|
|
|
|
|
"base/rtp_utils.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":turn_utils",
|
|
|
|
|
"../api:array_view",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base:byte_order",
|
|
|
|
|
"../rtc_base:checks",
|
2024-05-14 08:35:24 -07:00
|
|
|
"../rtc_base:digest",
|
2022-12-16 09:54:57 +00:00
|
|
|
"../rtc_base/system:rtc_export",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2022-12-16 09:54:57 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("stream_params") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/stream_params.cc",
|
|
|
|
|
"base/stream_params.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rid_description",
|
|
|
|
|
"../api:array_view",
|
|
|
|
|
"../rtc_base:stringutils",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:unique_id_generator",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2022-12-16 09:54:57 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("media_constants") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/media_constants.cc",
|
|
|
|
|
"base/media_constants.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [ "../rtc_base/system:rtc_export" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("turn_utils") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/turn_utils.cc",
|
|
|
|
|
"base/turn_utils.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../api/transport:stun_types",
|
|
|
|
|
"../rtc_base:byte_order",
|
|
|
|
|
"../rtc_base/system:rtc_export",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_library("rid_description") {
|
|
|
|
|
sources = [
|
|
|
|
|
"base/rid_description.cc",
|
|
|
|
|
"base/rid_description.h",
|
|
|
|
|
]
|
|
|
|
|
deps = []
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_simulcast_encoder_adapter") {
|
2018-10-19 00:51:18 -07:00
|
|
|
visibility = [ "*" ]
|
|
|
|
|
defines = []
|
|
|
|
|
libs = []
|
|
|
|
|
sources = [
|
|
|
|
|
"engine/simulcast_encoder_adapter.cc",
|
|
|
|
|
"engine/simulcast_encoder_adapter.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2024-02-20 15:28:14 +01:00
|
|
|
":rtc_sdp_video_format_utils",
|
2024-03-12 12:06:16 +00:00
|
|
|
":video_common",
|
2024-06-25 13:54:45 +00:00
|
|
|
"../api:array_view",
|
2019-06-28 15:19:43 +02:00
|
|
|
"../api:fec_controller_api",
|
2023-10-10 15:21:29 +02:00
|
|
|
"../api:field_trials_view",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../api:sequence_checker",
|
2024-03-12 16:58:18 +01:00
|
|
|
"../api/environment",
|
2024-06-25 13:54:45 +00:00
|
|
|
"../api/units:data_rate",
|
|
|
|
|
"../api/units:timestamp",
|
|
|
|
|
"../api/video:encoded_image",
|
|
|
|
|
"../api/video:video_bitrate_allocation",
|
|
|
|
|
"../api/video:video_bitrate_allocator",
|
2019-01-16 17:10:57 +01:00
|
|
|
"../api/video:video_codec_constants",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api/video:video_frame",
|
2024-06-25 13:54:45 +00:00
|
|
|
"../api/video:video_frame_type",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2019-10-01 18:50:03 +02:00
|
|
|
"../api/video_codecs:rtc_software_fallback_wrappers",
|
2024-06-25 13:54:45 +00:00
|
|
|
"../api/video_codecs:scalability_mode",
|
2018-10-19 00:51:18 -07:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2021-08-26 12:04:27 +02:00
|
|
|
"../common_video",
|
2023-10-23 17:11:21 +02:00
|
|
|
"../media:media_constants",
|
2018-10-19 00:51:18 -07:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../modules/video_coding:video_coding_utility",
|
|
|
|
|
"../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2024-11-06 13:33:21 +00:00
|
|
|
"../rtc_base:stringutils",
|
2021-01-20 15:36:13 +01:00
|
|
|
"../rtc_base/experiments:encoder_info_settings",
|
2019-02-13 10:49:37 +01:00
|
|
|
"../rtc_base/experiments:rate_control_settings",
|
2020-11-23 11:07:42 +01:00
|
|
|
"../rtc_base/system:no_unique_address",
|
2019-04-02 11:33:59 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2018-10-19 00:51:18 -07:00
|
|
|
"../system_wrappers",
|
2021-01-14 16:37:26 +01:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2024-03-12 16:58:18 +01:00
|
|
|
"//third_party/abseil-cpp/absl/base:nullability",
|
2021-01-14 16:37:26 +01:00
|
|
|
]
|
2018-10-19 00:51:18 -07:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_internal_video_codecs") {
|
2018-01-10 15:57:32 +00:00
|
|
|
visibility = [ "*" ]
|
2018-04-27 04:31:53 +02:00
|
|
|
allow_poison = [ "software_video_codecs" ]
|
2018-01-04 15:10:22 +01:00
|
|
|
defines = []
|
|
|
|
|
libs = []
|
2018-01-08 11:05:10 +01:00
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
|
|
|
|
":media_constants",
|
2018-10-19 00:51:18 -07:00
|
|
|
":rtc_simulcast_encoder_adapter",
|
2024-02-09 12:43:15 +01:00
|
|
|
"../api/environment",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api/video:encoded_image",
|
2018-05-22 15:37:23 +02:00
|
|
|
"../api/video:video_bitrate_allocation",
|
2018-11-20 11:06:58 +01:00
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2018-06-12 11:15:56 +02:00
|
|
|
"../api/video_codecs:rtc_software_fallback_wrappers",
|
2024-11-14 20:51:07 +08:00
|
|
|
"../api/video_codecs:scalability_mode",
|
2018-01-04 15:10:22 +01:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2022-05-24 10:32:32 +02:00
|
|
|
"../api/video_codecs:video_encoder_factory_template",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_libvpx_vp8_adapter",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_libvpx_vp9_adapter",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
2018-01-04 15:10:22 +01:00
|
|
|
"../call:call_interfaces",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
2018-01-04 15:10:22 +01:00
|
|
|
"../modules/video_coding:webrtc_h264",
|
|
|
|
|
"../modules/video_coding:webrtc_vp8",
|
|
|
|
|
"../modules/video_coding:webrtc_vp9",
|
|
|
|
|
"../rtc_base:checks",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2018-10-16 14:13:50 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2021-11-23 11:00:24 +01:00
|
|
|
"../system_wrappers:field_trial",
|
2019-01-16 15:07:56 -05:00
|
|
|
"../test:fake_video_codecs",
|
2024-11-14 20:51:07 +08:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2018-01-04 15:10:22 +01:00
|
|
|
]
|
2022-05-24 10:32:32 +02:00
|
|
|
|
|
|
|
|
if (enable_libaom) {
|
|
|
|
|
defines += [ "RTC_USE_LIBAOM_AV1_ENCODER" ]
|
|
|
|
|
deps += [
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_libaom_av1_adapter",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-23 11:00:24 +01:00
|
|
|
if (rtc_include_dav1d_in_internal_decoder_factory) {
|
|
|
|
|
deps += [ "../modules/video_coding/codecs/av1:dav1d_decoder" ]
|
|
|
|
|
}
|
2019-04-10 12:50:24 +02:00
|
|
|
sources = [
|
|
|
|
|
"engine/fake_video_codec_factory.cc",
|
|
|
|
|
"engine/fake_video_codec_factory.h",
|
|
|
|
|
"engine/internal_decoder_factory.cc",
|
|
|
|
|
"engine/internal_decoder_factory.h",
|
|
|
|
|
"engine/internal_encoder_factory.cc",
|
|
|
|
|
"engine/internal_encoder_factory.h",
|
|
|
|
|
]
|
2018-01-04 15:10:22 +01:00
|
|
|
}
|
|
|
|
|
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_audio_video") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2019-01-14 14:23:23 +01:00
|
|
|
allow_poison = [ "audio_codecs" ] # TODO(bugs.webrtc.org/8396): Remove.
|
2018-01-04 15:10:22 +01:00
|
|
|
defines = []
|
|
|
|
|
libs = []
|
|
|
|
|
deps = [
|
2024-02-28 11:01:25 +00:00
|
|
|
":audio_source",
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
|
|
|
|
":media_channel",
|
2022-12-16 14:46:31 +00:00
|
|
|
":media_channel_impl",
|
2022-12-16 09:54:57 +00:00
|
|
|
":media_constants",
|
2024-02-28 11:01:25 +00:00
|
|
|
":media_engine",
|
2023-05-22 12:49:05 +00:00
|
|
|
":rid_description",
|
|
|
|
|
":rtc_media_config",
|
2022-12-16 09:54:57 +00:00
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
2022-10-26 13:51:35 +00:00
|
|
|
"../api:array_view",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api:audio_options_api",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api:call_api",
|
2022-03-29 11:04:48 +02:00
|
|
|
"../api:field_trials_view",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api:frame_transformer_interface",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api:make_ref_counted",
|
2020-03-05 13:39:55 +01:00
|
|
|
"../api:media_stream_interface",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api:priority",
|
|
|
|
|
"../api:rtc_error",
|
|
|
|
|
"../api:rtp_headers",
|
2019-08-26 10:45:28 +02:00
|
|
|
"../api:rtp_parameters",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api:rtp_transceiver_direction",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2021-02-10 14:31:24 +01:00
|
|
|
"../api:sequence_checker",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api:transport_api",
|
2024-04-19 19:46:03 +00:00
|
|
|
"../api/audio:audio_device",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api/audio:audio_frame_api",
|
2020-09-30 18:27:39 +02:00
|
|
|
"../api/audio:audio_frame_processor",
|
2019-05-31 15:51:04 +02:00
|
|
|
"../api/audio:audio_mixer_api",
|
2024-04-19 15:07:08 +00:00
|
|
|
"../api/audio:audio_processing",
|
|
|
|
|
"../api/audio:audio_processing_statistics",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api/crypto:frame_decryptor_interface",
|
|
|
|
|
"../api/crypto:frame_encryptor_interface",
|
|
|
|
|
"../api/crypto:options",
|
2019-03-27 18:51:45 +01:00
|
|
|
"../api/task_queue",
|
2022-06-16 21:27:45 +02:00
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
2019-09-17 14:47:38 +02:00
|
|
|
"../api/transport:bitrate_settings",
|
2020-09-22 11:36:35 +02:00
|
|
|
"../api/transport:field_trial_based_config",
|
2019-09-02 15:16:49 +02:00
|
|
|
"../api/transport/rtp:rtp_source",
|
2019-10-11 16:19:43 +02:00
|
|
|
"../api/units:data_rate",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api/units:time_delta",
|
|
|
|
|
"../api/units:timestamp",
|
|
|
|
|
"../api/video:recordable_encoded_frame",
|
|
|
|
|
"../api/video:resolution",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api/video:video_bitrate_allocation",
|
2018-11-08 10:02:56 -08:00
|
|
|
"../api/video:video_bitrate_allocator_factory",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video:video_codec_constants",
|
|
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api/video:video_stream_encoder",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video_codecs:rtc_software_fallback_wrappers",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../api/video_codecs:scalability_mode",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../call",
|
|
|
|
|
"../call:call_interfaces",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../call:payload_type",
|
|
|
|
|
"../call:payload_type_picker",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../call:receive_stream_interface",
|
|
|
|
|
"../call:rtp_interfaces",
|
2024-10-13 21:08:30 +00:00
|
|
|
"../call:video_receive_stream_api",
|
|
|
|
|
"../call:video_send_stream_api",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../common_video",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../common_video:frame_counts",
|
2020-09-30 18:27:39 +02:00
|
|
|
"../modules/async_audio_processing:async_audio_processing",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../modules/audio_device",
|
|
|
|
|
"../modules/audio_device:audio_device_impl",
|
|
|
|
|
"../modules/audio_mixer:audio_mixer_impl",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../modules/audio_processing/aec_dump",
|
2019-10-15 10:10:26 +02:00
|
|
|
"../modules/audio_processing/agc:gain_control_interface",
|
2023-06-21 13:53:41 +02:00
|
|
|
"../modules/rtp_rtcp",
|
2021-07-19 13:20:46 +00:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../modules/video_coding",
|
2018-01-16 10:11:40 +01:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
2018-06-21 16:16:38 +02:00
|
|
|
"../modules/video_coding:video_coding_utility",
|
2022-07-05 13:02:28 +02:00
|
|
|
"../modules/video_coding:webrtc_vp9_helpers",
|
2022-04-29 11:03:13 +02:00
|
|
|
"../modules/video_coding/svc:scalability_mode_util",
|
2018-04-03 13:40:05 +02:00
|
|
|
"../rtc_base:audio_format_to_string",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../rtc_base:buffer",
|
2022-04-19 17:18:36 +02:00
|
|
|
"../rtc_base:byte_order",
|
2018-01-04 15:10:22 +01:00
|
|
|
"../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../rtc_base:dscp",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../rtc_base:event_tracer",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../rtc_base:macromagic",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2022-04-14 13:38:05 +02:00
|
|
|
"../rtc_base:race_checker",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../rtc_base:safe_conversions",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../rtc_base:socket",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:ssl",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base:stringutils",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../rtc_base:timeutils",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base/experiments:field_trial_parser",
|
2019-10-11 16:19:43 +02:00
|
|
|
"../rtc_base/experiments:min_video_bitrate_experiment",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base/experiments:normalize_simulcast_size_experiment",
|
2019-10-30 13:01:46 +01:00
|
|
|
"../rtc_base/experiments:rate_control_settings",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../rtc_base/network:sent_packet",
|
2020-07-07 15:43:11 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../rtc_base/system:file_wrapper",
|
2022-08-16 10:23:47 +02:00
|
|
|
"../rtc_base/system:no_unique_address",
|
2018-10-16 14:13:50 +02:00
|
|
|
"../rtc_base/system:rtc_export",
|
2018-07-23 17:38:12 +02:00
|
|
|
"../rtc_base/third_party/base64",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../system_wrappers:metrics",
|
2023-05-22 12:49:05 +00:00
|
|
|
"../video/config:encoder_config",
|
|
|
|
|
"//third_party/abseil-cpp/absl/algorithm",
|
2019-04-10 12:50:24 +02:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2024-12-12 22:15:39 +00:00
|
|
|
"//third_party/abseil-cpp/absl/container:flat_hash_map",
|
2023-05-22 12:49:05 +00:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
|
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
2023-01-10 14:28:25 +01:00
|
|
|
"//third_party/abseil-cpp/absl/functional:bind_front",
|
2019-04-10 12:50:24 +02:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2018-01-04 15:10:22 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"engine/adm_helpers.cc",
|
|
|
|
|
"engine/adm_helpers.h",
|
2019-01-11 09:11:00 -08:00
|
|
|
"engine/webrtc_media_engine.cc",
|
|
|
|
|
"engine/webrtc_media_engine.h",
|
|
|
|
|
"engine/webrtc_video_engine.cc",
|
|
|
|
|
"engine/webrtc_video_engine.h",
|
|
|
|
|
"engine/webrtc_voice_engine.cc",
|
|
|
|
|
"engine/webrtc_voice_engine.h",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
]
|
|
|
|
|
|
2016-09-05 06:10:18 -07:00
|
|
|
public_configs = []
|
2019-04-09 08:24:58 +02:00
|
|
|
if (!build_with_chromium) {
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
public_configs += [ ":rtc_media_defines_config" ]
|
|
|
|
|
deps += [ "../modules/video_capture:video_capture_internal_impl" ]
|
|
|
|
|
}
|
Reland of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2910633002/ )
Reason for revert:
Revert of revert of revert of revert of 'Activating..'. Or "reland of reland of 'Activate..'".
*Now* the internal projects are fixed and the fix is verified.
Original issue's description:
> Revert of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2903153005/ )
>
> Reason for revert:
> Reverting again: internal project issues were apparently not completely fixed.
>
> Original issue's description:
> > Reland of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2904893002/ )
> >
> > Reason for revert:
> > Revert the revert now that internal projects are updated.
> >
> > Original issue's description:
> > > Revert of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #4 id:160001 of https://codereview.webrtc.org/2896813002/ )
> > >
> > > Reason for revert:
> > > Breaks internal project.
> > >
> > > Original issue's description:
> > > > Activate 'offload debug dump recordings from audio thread to TaskQueue'.
> > > >
> > > > A low priority task queue is added to WebRTCVoiceEngine. The
> > > > start/stop debug calls make file logging happen on the task queue.
> > > >
> > > > In a dependent CL (https://codereview.webrtc.org/2888303003), the task queue is moved to PeerConnectionFactory,
> > > > so that it can be shared for low priority tasks between different
> > > > subcomponents. It will require some changes to MediaEngine,
> > > > CompositeMediaEngine, WebRTCVoiceEngine, and changes in internal
> > > > projects.
> > > >
> > > > A task queue must be created and destroyed from the same thread. With
> > > > this CL that will be the worker thread, which creates and destroys
> > > > WebRTCVoiceEngine. With the dependent CL, it will probably change to
> > > > the signaling thread.
> > > >
> > > > NOTRY=True # tests just passed
> > > >
> > > > BUG=webrtc:7404
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2896813002
> > > > Cr-Commit-Position: refs/heads/master@{#18252}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/c61bf947b4ac31f3500858ffcae6fee39d799930
> > >
> > > TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:7404
> > >
> > > Review-Url: https://codereview.webrtc.org/2904893002
> > > Cr-Commit-Position: refs/heads/master@{#18255}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/be68b72cfad0686dcd892bba1368b199a7ee16ca
> >
> > TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:7404
> >
> > Review-Url: https://codereview.webrtc.org/2903153005
> > Cr-Commit-Position: refs/heads/master@{#18270}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/d2303a2338106feab684860f1c133877b46bdd4f
>
> TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7404
>
> Review-Url: https://codereview.webrtc.org/2910633002
> Cr-Commit-Position: refs/heads/master@{#18272}
> Committed: https://chromium.googlesource.com/external/webrtc/+/fe9ecb07ea8254d8a09605f25203a4d045b3ffee
TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7404
Review-Url: https://codereview.webrtc.org/2904423002
Cr-Commit-Position: refs/heads/master@{#18300}
2017-05-29 02:56:27 -07:00
|
|
|
if (rtc_enable_protobuf) {
|
2020-06-25 14:09:58 +02:00
|
|
|
deps += [
|
|
|
|
|
"../modules/audio_coding:ana_config_proto",
|
|
|
|
|
"../modules/audio_processing/aec_dump:aec_dump_impl",
|
|
|
|
|
]
|
Reland of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2910633002/ )
Reason for revert:
Revert of revert of revert of revert of 'Activating..'. Or "reland of reland of 'Activate..'".
*Now* the internal projects are fixed and the fix is verified.
Original issue's description:
> Revert of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2903153005/ )
>
> Reason for revert:
> Reverting again: internal project issues were apparently not completely fixed.
>
> Original issue's description:
> > Reland of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #1 id:1 of https://codereview.webrtc.org/2904893002/ )
> >
> > Reason for revert:
> > Revert the revert now that internal projects are updated.
> >
> > Original issue's description:
> > > Revert of Activate 'offload debug dump recordings from audio thread to TaskQueue'. (patchset #4 id:160001 of https://codereview.webrtc.org/2896813002/ )
> > >
> > > Reason for revert:
> > > Breaks internal project.
> > >
> > > Original issue's description:
> > > > Activate 'offload debug dump recordings from audio thread to TaskQueue'.
> > > >
> > > > A low priority task queue is added to WebRTCVoiceEngine. The
> > > > start/stop debug calls make file logging happen on the task queue.
> > > >
> > > > In a dependent CL (https://codereview.webrtc.org/2888303003), the task queue is moved to PeerConnectionFactory,
> > > > so that it can be shared for low priority tasks between different
> > > > subcomponents. It will require some changes to MediaEngine,
> > > > CompositeMediaEngine, WebRTCVoiceEngine, and changes in internal
> > > > projects.
> > > >
> > > > A task queue must be created and destroyed from the same thread. With
> > > > this CL that will be the worker thread, which creates and destroys
> > > > WebRTCVoiceEngine. With the dependent CL, it will probably change to
> > > > the signaling thread.
> > > >
> > > > NOTRY=True # tests just passed
> > > >
> > > > BUG=webrtc:7404
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2896813002
> > > > Cr-Commit-Position: refs/heads/master@{#18252}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/c61bf947b4ac31f3500858ffcae6fee39d799930
> > >
> > > TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:7404
> > >
> > > Review-Url: https://codereview.webrtc.org/2904893002
> > > Cr-Commit-Position: refs/heads/master@{#18255}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/be68b72cfad0686dcd892bba1368b199a7ee16ca
> >
> > TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:7404
> >
> > Review-Url: https://codereview.webrtc.org/2903153005
> > Cr-Commit-Position: refs/heads/master@{#18270}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/d2303a2338106feab684860f1c133877b46bdd4f
>
> TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7404
>
> Review-Url: https://codereview.webrtc.org/2910633002
> Cr-Commit-Position: refs/heads/master@{#18272}
> Committed: https://chromium.googlesource.com/external/webrtc/+/fe9ecb07ea8254d8a09605f25203a4d045b3ffee
TBR=solenberg@webrtc.org,tommi@webrtc.org,perkj@webrtc.org,danilchap@webrtc.org,tommi@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7404
Review-Url: https://codereview.webrtc.org/2904423002
Cr-Commit-Position: refs/heads/master@{#18300}
2017-05-29 02:56:27 -07:00
|
|
|
} else {
|
|
|
|
|
deps += [ "../modules/audio_processing/aec_dump:null_aec_dump_factory" ]
|
|
|
|
|
}
|
2019-04-10 12:50:24 +02:00
|
|
|
}
|
|
|
|
|
|
2021-04-15 15:02:56 +02:00
|
|
|
rtc_source_set("rtc_data_sctp_transport_internal") {
|
|
|
|
|
sources = [ "sctp/sctp_transport_internal.h" ]
|
2019-04-10 12:50:24 +02:00
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":media_channel",
|
2024-07-26 16:16:41 +00:00
|
|
|
"../api:priority",
|
2023-03-21 14:48:51 +01:00
|
|
|
"../api:rtc_error",
|
2021-05-10 11:29:56 +02:00
|
|
|
"../api/transport:datagram_transport_interface",
|
2024-12-12 09:12:56 +01:00
|
|
|
"../p2p:dtls_transport_internal",
|
2024-01-25 12:27:18 +00:00
|
|
|
"../p2p:packet_transport_internal",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc}
The only thing that differs from the previous attempt in
https://codereview.webrtc.org/1979933002/ is that none of
the new targets are not hooked up to the webrtc target in
webrtc/BUILD.gn, which should make it not break the
chromium.webrtc.fyi bots.
Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} in
preparation for removing src/third_party/libjingle in Chromium.
Changes between previous attempt and the one before that
(https://codereview.webrtc.org/1973313002) are:
* Added libstunprober target
* Adjusted warnings for Chromium's clang plugins
* webrtc/pc/externalhmac.{h,cc} added for Chromium builds.
BUG=webrtc:4256
NOTRY=True
NOPRESUBMIT=True
TBR=perkj@webrtc.org, tommi@webrtc.org
Review-Url: https://codereview.webrtc.org/2037983002
Cr-Commit-Position: refs/heads/master@{#13030}
2016-06-03 03:09:32 -07:00
|
|
|
]
|
2021-04-15 15:02:56 +02:00
|
|
|
}
|
2017-06-15 12:52:32 -07:00
|
|
|
|
2021-05-06 10:50:07 +02:00
|
|
|
if (rtc_build_dcsctp) {
|
|
|
|
|
rtc_library("rtc_data_dcsctp_transport") {
|
|
|
|
|
sources = [
|
|
|
|
|
"sctp/dcsctp_transport.cc",
|
|
|
|
|
"sctp/dcsctp_transport.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":media_channel",
|
2021-05-06 10:50:07 +02:00
|
|
|
":rtc_data_sctp_transport_internal",
|
|
|
|
|
"../api:array_view",
|
2024-12-12 09:12:56 +01:00
|
|
|
"../api:dtls_transport_interface",
|
pc: Remove additional buffering in SctpDataChannel
This CL removes the send buffers (but not the receive buffer) from
SctpDataChannel and increases the send buffer in DcSctpSocket instead.
The reasons are:
1) Simplify the code. This additional buffering was strictly needed
before we migrated away from usrsctp, as that send buffer was very
limited in size (by design). But with the migration to dcSCTP, it's
no longer needed, so it just adds complexity.
2) Make `RTCDataChannel::bufferedAmount` correct. Before this CL, it
represented just the data buffered in SctpDataChannel, and not the
data accepted by the SCTP socket, but not yet put on the wire. This
makes it hard for clients to know when a message has ever been sent.
3) Better handle draining data on data channel close. While this is not
implemented in dcSCTP, having a single buffer makes this easier to
add.
While most of this CL is straightforward, the handling of bufferedAmount
in the signaling thread (in RTCDataChannel in Blink), is a bit special.
The number returned by `RTCDataChannel::bufferedAmount` is not what the
true value is inside the SCTP socket, but an eventual consistent view
of that value. When a message is sent, the value is incremented and:
- Before this change: When a message was put on the SCTP socket, the
view's value was decremented. Which made the view reflect what was
buffered outside the SCTP socket, and that buffering is now gone.
- After this change: SctpDataChannel will track what RTCDataChannel
will think it is, and provide updates to that number as we are
notified that it's reduced - by setting a "low threshold" callback
trigger.
A bonus with the new behavior is that it will be eventually consistent
and auto-heal also in error conditions - when messages are dropped due
to errors (bad input, bad state, etc). Previously, the bufferedAmount
value could drift away from the correct value on errors.
Note that a big chunk of unit tests were removed with this CL, as those
tested how the buffering behaved. Now, there is no buffering, so the
removed test cases represent a simpler interface.
This CL has been extensively tested with data channel benchmarks that
use the bufferedAmount thresholds (in Javascript).
Bug: chromium:40072842
Change-Id: I1a6a4af6b6e1116832f5028f989ce9f44683d229
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/343361
Commit-Queue: Victor Boivie <boivie@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41945}
2024-03-18 13:51:40 +01:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2024-07-26 16:16:41 +00:00
|
|
|
"../api:priority",
|
2024-12-12 09:12:56 +01:00
|
|
|
"../api:rtc_error",
|
|
|
|
|
"../api:sequence_checker",
|
2024-04-08 18:35:40 +02:00
|
|
|
"../api/environment",
|
2022-06-16 21:27:45 +02:00
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
2022-01-26 18:38:13 +01:00
|
|
|
"../api/task_queue:task_queue",
|
2024-12-12 09:12:56 +01:00
|
|
|
"../api/transport:datagram_transport_interface",
|
2021-06-01 18:39:49 +02:00
|
|
|
"../net/dcsctp/public:factory",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../net/dcsctp/public:socket",
|
|
|
|
|
"../net/dcsctp/public:types",
|
2021-06-19 07:59:01 +02:00
|
|
|
"../net/dcsctp/public:utils",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../net/dcsctp/timer:task_queue_timeout",
|
2024-12-12 09:12:56 +01:00
|
|
|
"../p2p:dtls_transport_internal",
|
2024-01-25 12:27:18 +00:00
|
|
|
"../p2p:packet_transport_internal",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2022-04-19 17:47:13 +02:00
|
|
|
"../rtc_base:event_tracer",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2022-08-22 11:34:29 +02:00
|
|
|
"../rtc_base:macromagic",
|
2022-04-14 12:41:26 +02:00
|
|
|
"../rtc_base:random",
|
2021-08-12 15:21:25 +02:00
|
|
|
"../rtc_base:socket",
|
2022-04-04 17:14:02 +02:00
|
|
|
"../rtc_base:stringutils",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../rtc_base:threading",
|
2022-05-05 23:43:44 +02:00
|
|
|
"../rtc_base/containers:flat_map",
|
2024-02-27 09:01:15 +01:00
|
|
|
"../rtc_base/network:received_packet",
|
2021-05-06 10:50:07 +02:00
|
|
|
"../rtc_base/third_party/sigslot:sigslot",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings:strings",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-15 15:02:56 +02:00
|
|
|
rtc_library("rtc_data_sctp_transport_factory") {
|
|
|
|
|
defines = []
|
|
|
|
|
sources = [
|
|
|
|
|
"sctp/sctp_transport_factory.cc",
|
|
|
|
|
"sctp/sctp_transport_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rtc_data_sctp_transport_internal",
|
2024-02-28 12:16:15 +01:00
|
|
|
"../api/environment",
|
2021-04-15 15:02:56 +02:00
|
|
|
"../api/transport:sctp_transport_factory_interface",
|
2024-12-12 09:12:56 +01:00
|
|
|
"../p2p:dtls_transport_internal",
|
2021-04-15 15:02:56 +02:00
|
|
|
"../rtc_base:threading",
|
|
|
|
|
"../rtc_base/system:unused",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (rtc_enable_sctp) {
|
2022-03-31 19:15:10 +02:00
|
|
|
assert(rtc_build_dcsctp, "An SCTP backend is required to enable SCTP")
|
2021-05-06 10:50:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (rtc_build_dcsctp) {
|
|
|
|
|
defines += [ "WEBRTC_HAVE_DCSCTP" ]
|
|
|
|
|
deps += [
|
|
|
|
|
":rtc_data_dcsctp_transport",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
"../system_wrappers:field_trial",
|
|
|
|
|
]
|
2021-04-15 15:02:56 +02:00
|
|
|
}
|
2017-06-15 12:52:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("rtc_media") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2019-01-14 14:23:23 +01:00
|
|
|
allow_poison = [ "audio_codecs" ] # TODO(bugs.webrtc.org/8396): Remove.
|
2021-04-15 15:02:56 +02:00
|
|
|
deps = [ ":rtc_audio_video" ]
|
2017-06-15 12:52:32 -07:00
|
|
|
}
|
|
|
|
|
|
2016-06-12 22:12:01 -07:00
|
|
|
if (rtc_include_tests) {
|
2019-10-17 21:32:04 +02:00
|
|
|
rtc_library("rtc_media_tests_utils") {
|
2016-06-12 22:12:01 -07:00
|
|
|
testonly = true
|
|
|
|
|
|
2018-05-14 09:48:06 +02:00
|
|
|
defines = []
|
2017-03-06 06:04:55 -08:00
|
|
|
deps = [
|
2024-02-28 11:01:25 +00:00
|
|
|
":audio_source",
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
|
|
|
|
":media_channel",
|
2023-06-26 00:26:07 +00:00
|
|
|
":media_channel_impl",
|
2022-12-16 09:54:57 +00:00
|
|
|
":media_constants",
|
2024-02-28 11:01:25 +00:00
|
|
|
":media_engine",
|
2018-01-11 17:07:30 +01:00
|
|
|
":rtc_audio_video",
|
2019-04-10 12:50:24 +02:00
|
|
|
":rtc_internal_video_codecs",
|
|
|
|
|
":rtc_media",
|
2018-10-19 00:51:18 -07:00
|
|
|
":rtc_simulcast_encoder_adapter",
|
2022-12-16 09:54:57 +00:00
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
2024-03-12 12:06:16 +00:00
|
|
|
":video_common",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api:call_api",
|
2019-06-28 15:19:43 +02:00
|
|
|
"../api:fec_controller_api",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api:frame_transformer_interface",
|
|
|
|
|
"../api:rtc_error",
|
|
|
|
|
"../api:rtp_headers",
|
2023-06-26 00:26:07 +00:00
|
|
|
"../api:rtp_parameters",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api:rtp_sender_interface",
|
2019-01-25 20:26:48 +01:00
|
|
|
"../api:scoped_refptr",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api/adaptation:resource_adaptation_api",
|
|
|
|
|
"../api/audio:audio_frame_api",
|
2024-04-19 15:07:08 +00:00
|
|
|
"../api/audio:audio_processing",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../api/crypto:frame_decryptor_interface",
|
2024-03-12 16:58:18 +01:00
|
|
|
"../api/environment",
|
2022-08-17 10:24:02 +02:00
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/task_queue:pending_task_safety_flag",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api/transport:bitrate_settings",
|
|
|
|
|
"../api/transport/rtp:rtp_source",
|
|
|
|
|
"../api/units:time_delta",
|
2023-01-05 15:20:33 +01:00
|
|
|
"../api/units:timestamp",
|
2018-11-28 16:47:49 +01:00
|
|
|
"../api/video:encoded_image",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video:video_bitrate_allocation",
|
|
|
|
|
"../api/video:video_frame",
|
2019-06-10 12:59:38 +02:00
|
|
|
"../api/video:video_rtp_headers",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../call:call_interfaces",
|
2024-12-12 22:15:39 +00:00
|
|
|
"../call:fake_payload_type_suggester",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../call:mock_rtp_interfaces",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../call:payload_type",
|
|
|
|
|
"../call:payload_type_picker",
|
|
|
|
|
"../call:rtp_interfaces",
|
2024-10-13 21:08:30 +00:00
|
|
|
"../call:video_receive_stream_api",
|
|
|
|
|
"../call:video_send_stream_api",
|
2019-03-21 13:35:10 +01:00
|
|
|
"../common_video",
|
|
|
|
|
"../modules/audio_processing",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../modules/rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2018-01-08 11:05:10 +01:00
|
|
|
"../modules/video_coding:video_codec_interface",
|
2017-09-18 03:08:08 -07:00
|
|
|
"../modules/video_coding:video_coding_utility",
|
2023-01-11 15:50:58 +01:00
|
|
|
"../modules/video_coding/svc:scalability_mode_util",
|
2022-04-19 17:07:23 +02:00
|
|
|
"../rtc_base:buffer",
|
2022-04-19 17:18:36 +02:00
|
|
|
"../rtc_base:byte_order",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../rtc_base:checks",
|
2022-04-19 17:40:46 +02:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:dscp",
|
2018-11-23 13:15:08 +01:00
|
|
|
"../rtc_base:gunit_helpers",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../rtc_base:macromagic",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:network_route",
|
2022-04-04 16:57:52 +02:00
|
|
|
"../rtc_base:rtc_event",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../rtc_base:stringutils",
|
2021-01-15 10:41:01 +01:00
|
|
|
"../rtc_base:threading",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../rtc_base:timeutils",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../rtc_base/network:sent_packet",
|
2020-07-07 15:43:11 +02:00
|
|
|
"../rtc_base/synchronization:mutex",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../rtc_base/third_party/sigslot",
|
2024-09-03 09:13:23 +00:00
|
|
|
"../test:explicit_key_value_config",
|
|
|
|
|
"../test:scoped_key_value_config",
|
2019-04-10 12:50:24 +02:00
|
|
|
"../test:test_support",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../video/config:encoder_config",
|
2022-09-28 16:28:42 +02:00
|
|
|
"../video/config:streams_config",
|
2019-04-10 12:50:24 +02:00
|
|
|
"//testing/gtest",
|
2019-01-28 17:27:58 -08:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2023-06-26 00:26:07 +00:00
|
|
|
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
2018-10-30 22:23:02 +01:00
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2017-03-06 06:04:55 -08:00
|
|
|
]
|
2016-06-12 22:12:01 -07:00
|
|
|
sources = [
|
2019-01-11 09:11:00 -08:00
|
|
|
"base/fake_frame_source.cc",
|
|
|
|
|
"base/fake_frame_source.h",
|
|
|
|
|
"base/fake_media_engine.cc",
|
|
|
|
|
"base/fake_media_engine.h",
|
|
|
|
|
"base/fake_network_interface.h",
|
|
|
|
|
"base/fake_rtp.cc",
|
|
|
|
|
"base/fake_rtp.h",
|
|
|
|
|
"base/fake_video_renderer.cc",
|
|
|
|
|
"base/fake_video_renderer.h",
|
|
|
|
|
"base/test_utils.cc",
|
|
|
|
|
"base/test_utils.h",
|
|
|
|
|
"engine/fake_webrtc_call.cc",
|
|
|
|
|
"engine/fake_webrtc_call.h",
|
|
|
|
|
"engine/fake_webrtc_video_engine.cc",
|
|
|
|
|
"engine/fake_webrtc_video_engine.h",
|
2016-06-12 22:12:01 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
if (!build_with_chromium) {
|
2025-02-21 00:00:32 -08:00
|
|
|
rtc_media_unittests_resources = [
|
|
|
|
|
"../resources/media/captured-320x240-2s-48.frames",
|
|
|
|
|
"../resources/media/faces.1280x720_P420.yuv",
|
|
|
|
|
"../resources/media/faces_I400.jpg",
|
|
|
|
|
"../resources/media/faces_I411.jpg",
|
|
|
|
|
"../resources/media/faces_I420.jpg",
|
|
|
|
|
"../resources/media/faces_I422.jpg",
|
|
|
|
|
"../resources/media/faces_I444.jpg",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (is_ios) {
|
|
|
|
|
bundle_data("rtc_media_unittests_bundle_data") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = rtc_media_unittests_resources
|
|
|
|
|
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
rtc_test("rtc_media_unittests") {
|
|
|
|
|
testonly = true
|
2016-08-30 02:53:49 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
defines = []
|
|
|
|
|
deps = [
|
2022-12-16 09:54:57 +00:00
|
|
|
":codec",
|
2023-06-21 12:36:06 +00:00
|
|
|
":media_channel",
|
2022-12-16 09:54:57 +00:00
|
|
|
":media_constants",
|
2024-02-28 11:01:25 +00:00
|
|
|
":media_engine",
|
2024-09-12 14:02:21 +00:00
|
|
|
":rid_description",
|
2021-02-01 09:56:37 +00:00
|
|
|
":rtc_audio_video",
|
|
|
|
|
":rtc_internal_video_codecs",
|
|
|
|
|
":rtc_media",
|
2024-09-07 20:38:29 +00:00
|
|
|
":rtc_media_config",
|
2021-02-01 09:56:37 +00:00
|
|
|
":rtc_media_tests_utils",
|
2021-04-19 09:09:26 +02:00
|
|
|
":rtc_sdp_video_format_utils",
|
2021-02-01 09:56:37 +00:00
|
|
|
":rtc_simulcast_encoder_adapter",
|
2022-12-16 09:54:57 +00:00
|
|
|
":rtp_utils",
|
|
|
|
|
":stream_params",
|
|
|
|
|
":turn_utils",
|
2024-03-12 12:06:16 +00:00
|
|
|
":video_adapter",
|
|
|
|
|
":video_broadcaster",
|
|
|
|
|
":video_common",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api:audio_options_api",
|
|
|
|
|
"../api:call_api",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api:create_simulcast_test_fixture_api",
|
2023-10-10 15:21:29 +02:00
|
|
|
"../api:field_trials_view",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api:make_ref_counted",
|
2022-06-08 11:25:46 +02:00
|
|
|
"../api:mock_encoder_selector",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api:mock_video_bitrate_allocator",
|
|
|
|
|
"../api:mock_video_bitrate_allocator_factory",
|
|
|
|
|
"../api:mock_video_codec_factory",
|
|
|
|
|
"../api:mock_video_encoder",
|
2024-07-26 16:16:41 +00:00
|
|
|
"../api:priority",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api:ref_count",
|
|
|
|
|
"../api:rtc_error",
|
|
|
|
|
"../api:rtp_headers",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api:rtp_parameters",
|
|
|
|
|
"../api:scoped_refptr",
|
|
|
|
|
"../api:simulcast_test_fixture_api",
|
2024-09-12 14:02:21 +00:00
|
|
|
"../api:transport_api",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api/audio:audio_processing",
|
2024-10-31 13:57:50 +01:00
|
|
|
"../api/audio:builtin_audio_processing_builder",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_encoder_factory",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api/crypto:options",
|
2023-11-28 17:30:07 +01:00
|
|
|
"../api/environment",
|
|
|
|
|
"../api/environment:environment_factory",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/rtc_event_log",
|
|
|
|
|
"../api/task_queue",
|
|
|
|
|
"../api/test/video:function_video_factory",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api/transport:bitrate_settings",
|
2024-12-12 09:12:56 +01:00
|
|
|
"../api/transport:datagram_transport_interface",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/transport:field_trial_based_config",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../api/transport/rtp:rtp_source",
|
2024-11-06 13:33:21 +00:00
|
|
|
"../api/units:data_rate",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/units:time_delta",
|
2021-11-05 15:02:03 +01:00
|
|
|
"../api/units:timestamp",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/video:builtin_video_bitrate_allocator_factory",
|
2024-09-12 14:02:21 +00:00
|
|
|
"../api/video:recordable_encoded_frame",
|
2022-10-07 15:37:17 +02:00
|
|
|
"../api/video:resolution",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/video:video_bitrate_allocation",
|
2024-11-06 13:33:21 +00:00
|
|
|
"../api/video:video_bitrate_allocator",
|
2024-09-12 14:02:21 +00:00
|
|
|
"../api/video:video_bitrate_allocator_factory",
|
2021-02-02 18:23:40 +01:00
|
|
|
"../api/video:video_codec_constants",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/video:video_frame",
|
|
|
|
|
"../api/video:video_rtp_headers",
|
2024-09-12 14:02:21 +00:00
|
|
|
"../api/video_codecs:scalability_mode",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../api/video_codecs:video_codecs_api",
|
2023-03-31 16:36:12 +02:00
|
|
|
"../api/video_codecs:video_decoder_factory_template",
|
|
|
|
|
"../api/video_codecs:video_decoder_factory_template_dav1d_adapter",
|
|
|
|
|
"../api/video_codecs:video_decoder_factory_template_libvpx_vp8_adapter",
|
|
|
|
|
"../api/video_codecs:video_decoder_factory_template_libvpx_vp9_adapter",
|
|
|
|
|
"../api/video_codecs:video_decoder_factory_template_open_h264_adapter",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_libaom_av1_adapter",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_libvpx_vp8_adapter",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_libvpx_vp9_adapter",
|
|
|
|
|
"../api/video_codecs:video_encoder_factory_template_open_h264_adapter",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../audio",
|
|
|
|
|
"../call:call_interfaces",
|
2024-11-18 07:18:35 +00:00
|
|
|
"../call:payload_type_picker",
|
2024-10-13 21:08:30 +00:00
|
|
|
"../call:video_receive_stream_api",
|
|
|
|
|
"../call:video_send_stream_api",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../common_video",
|
|
|
|
|
"../modules/audio_device:mock_audio_device",
|
2022-11-23 16:48:49 +01:00
|
|
|
"../modules/audio_mixer:audio_mixer_impl",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../modules/audio_processing:mocks",
|
|
|
|
|
"../modules/rtp_rtcp",
|
2021-06-03 12:27:12 +02:00
|
|
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../modules/video_coding:simulcast_test_fixture_impl",
|
|
|
|
|
"../modules/video_coding:video_codec_interface",
|
|
|
|
|
"../modules/video_coding:webrtc_h264",
|
|
|
|
|
"../modules/video_coding:webrtc_vp8",
|
2023-01-11 15:50:58 +01:00
|
|
|
"../modules/video_coding/svc:scalability_mode_util",
|
2024-07-26 16:16:41 +00:00
|
|
|
"../net/dcsctp/public:types",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../p2p:p2p_test_utils",
|
2023-01-04 12:01:09 +01:00
|
|
|
"../rtc_base:async_packet_socket",
|
2022-04-19 17:18:36 +02:00
|
|
|
"../rtc_base:byte_order",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base:checks",
|
2024-09-07 20:38:29 +00:00
|
|
|
"../rtc_base:copy_on_write_buffer",
|
|
|
|
|
"../rtc_base:dscp",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base:gunit_helpers",
|
2022-04-04 15:06:30 +02:00
|
|
|
"../rtc_base:logging",
|
2022-04-04 15:18:46 +02:00
|
|
|
"../rtc_base:macromagic",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base:rtc_base_tests_utils",
|
2022-04-04 16:57:52 +02:00
|
|
|
"../rtc_base:rtc_event",
|
2022-04-04 17:04:37 +02:00
|
|
|
"../rtc_base:safe_conversions",
|
2024-09-12 14:02:21 +00:00
|
|
|
"../rtc_base:socket",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base:stringutils",
|
|
|
|
|
"../rtc_base:threading",
|
2022-04-04 17:16:15 +02:00
|
|
|
"../rtc_base:timeutils",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../rtc_base/experiments:min_video_bitrate_experiment",
|
|
|
|
|
"../rtc_base/synchronization:mutex",
|
|
|
|
|
"../rtc_base/third_party/sigslot",
|
2021-06-04 12:50:01 +02:00
|
|
|
"../system_wrappers:field_trial",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../test:audio_codec_mocks",
|
|
|
|
|
"../test:fake_video_codecs",
|
|
|
|
|
"../test:field_trial",
|
|
|
|
|
"../test:rtp_test_utils",
|
2022-03-10 15:21:28 +01:00
|
|
|
"../test:scoped_key_value_config",
|
2021-02-01 09:56:37 +00:00
|
|
|
"../test:test_main",
|
|
|
|
|
"../test:test_support",
|
|
|
|
|
"../test:video_test_common",
|
2021-11-05 15:02:03 +01:00
|
|
|
"../test/time_controller",
|
2024-09-12 14:02:21 +00:00
|
|
|
"../video/config:encoder_config",
|
2022-09-27 16:53:04 +02:00
|
|
|
"../video/config:streams_config",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/algorithm:container",
|
2024-09-12 14:02:21 +00:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2024-05-23 11:21:53 +00:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings",
|
|
|
|
|
"//third_party/abseil-cpp/absl/strings:string_view",
|
2021-02-01 09:56:37 +00:00
|
|
|
]
|
2022-05-24 10:32:32 +02:00
|
|
|
|
|
|
|
|
if (enable_libaom) {
|
|
|
|
|
defines += [ "RTC_USE_LIBAOM_AV1_ENCODER" ]
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
sources = [
|
2024-10-10 12:40:57 +00:00
|
|
|
"base/codec_comparators_unittest.cc",
|
2021-02-01 09:56:37 +00:00
|
|
|
"base/codec_unittest.cc",
|
|
|
|
|
"base/media_engine_unittest.cc",
|
|
|
|
|
"base/rtp_utils_unittest.cc",
|
2021-04-19 09:09:26 +02:00
|
|
|
"base/sdp_video_format_utils_unittest.cc",
|
2021-02-01 09:56:37 +00:00
|
|
|
"base/stream_params_unittest.cc",
|
|
|
|
|
"base/turn_utils_unittest.cc",
|
|
|
|
|
"base/video_adapter_unittest.cc",
|
|
|
|
|
"base/video_broadcaster_unittest.cc",
|
|
|
|
|
"base/video_common_unittest.cc",
|
|
|
|
|
"engine/internal_decoder_factory_unittest.cc",
|
2021-09-15 10:56:04 +00:00
|
|
|
"engine/internal_encoder_factory_unittest.cc",
|
2021-02-01 09:56:37 +00:00
|
|
|
"engine/simulcast_encoder_adapter_unittest.cc",
|
|
|
|
|
"engine/webrtc_media_engine_unittest.cc",
|
|
|
|
|
"engine/webrtc_video_engine_unittest.cc",
|
|
|
|
|
]
|
2020-07-03 16:37:57 -07:00
|
|
|
|
2021-02-01 09:56:37 +00:00
|
|
|
# TODO(kthelgason): Reenable this test on iOS.
|
|
|
|
|
# See bugs.webrtc.org/5569
|
|
|
|
|
if (!is_ios) {
|
|
|
|
|
sources += [ "engine/webrtc_voice_engine_unittest.cc" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (rtc_opus_support_120ms_ptime) {
|
|
|
|
|
defines += [ "WEBRTC_OPUS_SUPPORT_120MS_PTIME=1" ]
|
|
|
|
|
} else {
|
|
|
|
|
defines += [ "WEBRTC_OPUS_SUPPORT_120MS_PTIME=0" ]
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-21 00:00:32 -08:00
|
|
|
data = rtc_media_unittests_resources
|
2021-02-01 09:56:37 +00:00
|
|
|
|
|
|
|
|
if (is_android) {
|
|
|
|
|
shard_timeout = 900
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_ios) {
|
2025-02-21 00:00:32 -08:00
|
|
|
deps += [ ":rtc_media_unittests_bundle_data" ]
|
2021-02-01 09:56:37 +00:00
|
|
|
}
|
2022-05-03 00:24:15 +02:00
|
|
|
|
|
|
|
|
if (rtc_build_dcsctp) {
|
|
|
|
|
sources += [ "sctp/dcsctp_transport_unittest.cc" ]
|
|
|
|
|
deps += [
|
|
|
|
|
":rtc_data_dcsctp_transport",
|
|
|
|
|
"../net/dcsctp/public:factory",
|
|
|
|
|
"../net/dcsctp/public:mocks",
|
|
|
|
|
"../net/dcsctp/public:socket",
|
|
|
|
|
]
|
|
|
|
|
}
|
2020-07-03 16:37:57 -07:00
|
|
|
}
|
2016-06-12 22:12:01 -07:00
|
|
|
}
|
|
|
|
|
}
|