2015-09-25 13:58:30 +02:00
|
|
|
# Copyright (c) 2015 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.
|
|
|
|
|
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../webrtc.gni")
|
2015-09-25 13:58:30 +02:00
|
|
|
|
2016-12-07 04:52:58 -08:00
|
|
|
rtc_source_set("call_interfaces") {
|
|
|
|
|
sources = [
|
|
|
|
|
"audio_receive_stream.h",
|
|
|
|
|
"audio_send_stream.cc",
|
|
|
|
|
"audio_send_stream.h",
|
|
|
|
|
"audio_state.h",
|
|
|
|
|
"call.h",
|
2016-12-19 01:13:46 -08:00
|
|
|
"flexfec_receive_stream.h",
|
2017-03-27 05:36:15 -07:00
|
|
|
"rtp_transport_controller_send.h",
|
2017-01-31 03:58:40 -08:00
|
|
|
"syncable.cc",
|
|
|
|
|
"syncable.h",
|
2016-12-07 04:52:58 -08:00
|
|
|
]
|
2017-02-27 15:57:45 -08:00
|
|
|
deps = [
|
|
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../api:audio_mixer_api",
|
|
|
|
|
"../api:transport_api",
|
|
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../base:rtc_base",
|
|
|
|
|
"../base:rtc_base_approved",
|
|
|
|
|
"../modules/audio_coding:audio_encoder_interface",
|
|
|
|
|
]
|
2016-12-07 04:52:58 -08:00
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("call") {
|
2015-09-25 13:58:30 +02:00
|
|
|
sources = [
|
2015-11-12 21:02:42 -08:00
|
|
|
"bitrate_allocator.cc",
|
2015-09-25 13:58:30 +02:00
|
|
|
"call.cc",
|
2016-12-19 01:13:46 -08:00
|
|
|
"flexfec_receive_stream_impl.cc",
|
|
|
|
|
"flexfec_receive_stream_impl.h",
|
2015-09-25 13:58:30 +02:00
|
|
|
]
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2015-09-25 13:58:30 +02:00
|
|
|
}
|
|
|
|
|
|
2016-11-17 06:28:59 -08:00
|
|
|
public_deps = [
|
2016-12-07 04:52:58 -08:00
|
|
|
":call_interfaces",
|
2016-11-17 06:28:59 -08:00
|
|
|
"../api:call_api",
|
|
|
|
|
]
|
|
|
|
|
|
2015-09-25 13:58:30 +02:00
|
|
|
deps = [
|
2016-12-07 04:52:58 -08:00
|
|
|
":call_interfaces",
|
2015-09-25 13:58:30 +02:00
|
|
|
"..:webrtc_common",
|
2016-11-28 07:02:13 -08:00
|
|
|
"../api:transport_api",
|
2016-06-03 13:14:28 -07:00
|
|
|
"../audio",
|
2016-09-01 01:17:40 -07:00
|
|
|
"../base:rtc_task_queue",
|
2017-02-27 15:57:45 -08:00
|
|
|
"../logging:rtc_event_log_api",
|
Moved RtcEventLog files from call/ to logging/
The RtcEventLog headers need to be accessible from any place which needs
logging, and the implementation needs access to data structures that are
logged.
After a discussion in the code review, we all agreed to move the RtcEventLog implementation into its own top level directory - which I called "logging/" in expectation that other types of logging may have similar requirements. The directory contains two main build targets - "rtc_event_log_api", which is just rtc_event_log.h, that has no external dependencies and can be used from anywhere, and "rtc_event_log_impl" which contains the rest of the implementation and has many dependencies (more in the future).
The "api" target can be referenced from anywhere, while the "impl" target is only needed at the place of instantiation (currently Call, soon to be moved to PeerConnection by https://codereview.webrtc.org/2353033005/).
This change allows using RtcEventLog in the p2p/ directory, so that we
can log STUN pings and ICE state transitions.
BUG=webrtc:6393
R=kjellander@webrtc.org, kwiberg@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, terelius@webrtc.org
Review URL: https://codereview.webrtc.org/2380683005 .
Cr-Commit-Position: refs/heads/master@{#14485}
2016-10-03 18:31:22 -07:00
|
|
|
"../logging:rtc_event_log_impl",
|
2017-02-27 15:57:45 -08:00
|
|
|
"../modules/bitrate_controller",
|
2016-02-23 13:30:42 +01:00
|
|
|
"../modules/congestion_controller",
|
2017-02-27 15:57:45 -08:00
|
|
|
"../modules/pacing",
|
2015-09-25 13:58:30 +02:00
|
|
|
"../modules/rtp_rtcp",
|
2017-02-27 15:57:45 -08:00
|
|
|
"../modules/utility",
|
2015-09-25 13:58:30 +02:00
|
|
|
"../system_wrappers",
|
2016-06-03 13:14:28 -07:00
|
|
|
"../video",
|
2015-09-25 13:58:30 +02:00
|
|
|
]
|
|
|
|
|
}
|
2016-06-14 12:52:54 +02:00
|
|
|
|
|
|
|
|
if (rtc_include_tests) {
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_source_set("call_tests") {
|
2016-06-14 12:52:54 +02:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"bitrate_allocator_unittest.cc",
|
|
|
|
|
"bitrate_estimator_tests.cc",
|
|
|
|
|
"call_unittest.cc",
|
2016-10-20 04:54:48 -07:00
|
|
|
"flexfec_receive_stream_unittest.cc",
|
2016-06-14 12:52:54 +02:00
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":call",
|
2016-11-17 06:48:48 -08:00
|
|
|
"../base:rtc_base_approved",
|
2017-02-27 15:57:45 -08:00
|
|
|
"../logging:rtc_event_log_api",
|
2016-11-17 06:28:59 -08:00
|
|
|
"../modules/audio_device:mock_audio_device",
|
2016-11-17 06:48:48 -08:00
|
|
|
"../modules/audio_mixer",
|
2017-02-27 15:57:45 -08:00
|
|
|
"../modules/bitrate_controller",
|
|
|
|
|
"../modules/pacing",
|
|
|
|
|
"../modules/rtp_rtcp",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
"../test:direct_transport",
|
2016-11-17 06:48:48 -08:00
|
|
|
"../test:test_common",
|
2017-02-27 15:57:45 -08:00
|
|
|
"../test:test_support",
|
|
|
|
|
"../test:video_test_common",
|
2016-06-14 12:52:54 +02:00
|
|
|
"//testing/gmock",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2016-06-14 12:52:54 +02:00
|
|
|
}
|
|
|
|
|
}
|
2017-01-05 07:09:50 -08:00
|
|
|
|
|
|
|
|
rtc_source_set("call_perf_tests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"call_perf_tests.cc",
|
|
|
|
|
"rampup_tests.cc",
|
|
|
|
|
"rampup_tests.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-02-27 15:57:45 -08:00
|
|
|
":call_interfaces",
|
|
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../base:rtc_base_approved",
|
|
|
|
|
"../logging:rtc_event_log_api",
|
|
|
|
|
"../modules/audio_coding",
|
|
|
|
|
"../modules/audio_mixer:audio_mixer_impl",
|
|
|
|
|
"../modules/rtp_rtcp",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
"../system_wrappers:metrics_default",
|
|
|
|
|
"../test:direct_transport",
|
2017-02-28 14:41:05 -08:00
|
|
|
"../test:fake_audio_device",
|
2017-02-27 15:57:45 -08:00
|
|
|
"../test:test_support",
|
|
|
|
|
"../test:video_test_common",
|
|
|
|
|
"../video",
|
|
|
|
|
"../voice_engine",
|
2017-01-05 07:09:50 -08:00
|
|
|
"//testing/gtest",
|
Reland of Add framerate to VideoSinkWants and ability to signal on overuse (patchset #1 id:1 of https://codereview.webrtc.org/2783183003/ )
Reason for revert:
Seem to be a flaky test rather than an issue with this cl. Creating reland, will add code to reduce flakiness to that test.
Original issue's description:
> Revert of Add framerate to VideoSinkWants and ability to signal on overuse (patchset #8 id:410001 of https://codereview.webrtc.org/2781433002/ )
>
> Reason for revert:
> This has resulted in failure of CallPerfTest.ReceivesCpuOveruseAndUnderuse test on the Win7 build bot https://build.chromium.org/p/client.webrtc.perf/builders/Win7/builds/1780
>
> Original issue's description:
> > Reland of Add framerate to VideoSinkWants and ability to signal on overuse (patchset #1 id:1 of https://codereview.webrtc.org/2764133002/ )
> >
> > Reason for revert:
> > Found issue with test case, will add fix to reland cl.
> >
> > Original issue's description:
> > > Revert of Add framerate to VideoSinkWants and ability to signal on overuse (patchset #14 id:250001 of https://codereview.webrtc.org/2716643002/ )
> > >
> > > Reason for revert:
> > > Breaks perf tests:
> > > https://build.chromium.org/p/client.webrtc.perf/builders/Win7/builds/1679
> > > https://build.chromium.org/p/client.webrtc.perf/builders/Android32%20Tests%20%28L%20Nexus5%29/builds/2325
> > >
> > > Original issue's description:
> > > > Add framerate to VideoSinkWants and ability to signal on overuse
> > > >
> > > > In ViEEncoder, try to reduce framerate instead of resolution if the
> > > > current degradation preference is maintain-resolution rather than
> > > > balanced.
> > > >
> > > > BUG=webrtc:4172
> > > >
> > > > Review-Url: https://codereview.webrtc.org/2716643002
> > > > Cr-Commit-Position: refs/heads/master@{#17327}
> > > > Committed: https://chromium.googlesource.com/external/webrtc/+/72acf2526177bb4dbb5103cd6e165eb4361a5ae6
> > >
> > > TBR=nisse@webrtc.org,magjed@webrtc.org,kthelgason@webrtc.org,ilnik@webrtc.org,stefan@webrtc.org,sprang@webrtc.org
> > > # Skipping CQ checks because original CL landed less than 1 days ago.
> > > NOPRESUBMIT=true
> > > NOTREECHECKS=true
> > > NOTRY=true
> > > BUG=webrtc:4172
> > >
> > > Review-Url: https://codereview.webrtc.org/2764133002
> > > Cr-Commit-Position: refs/heads/master@{#17331}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/8b45b11144c968b4173215c76f78c710c9a2ed0b
> >
> > TBR=nisse@webrtc.org,magjed@webrtc.org,kthelgason@webrtc.org,ilnik@webrtc.org,stefan@webrtc.org,skvlad@webrtc.org
> > # Not skipping CQ checks because original CL landed more than 1 days ago.
> > BUG=webrtc:4172
> >
> > Review-Url: https://codereview.webrtc.org/2781433002
> > Cr-Commit-Position: refs/heads/master@{#17474}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/3ea3c77e93121b1ab9d5e46641e6764f2cca0d51
>
> TBR=ilnik@webrtc.org,stefan@webrtc.org,asapersson@webrtc.org,sprang@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4172
>
> Review-Url: https://codereview.webrtc.org/2783183003
> Cr-Commit-Position: refs/heads/master@{#17477}
> Committed: https://chromium.googlesource.com/external/webrtc/+/f9ed235c9b7248694edcb46feb1f29ce7456ab59
R=ilnik@webrtc.org,stefan@webrtc.org
BUG=webrtc:4172
Review-Url: https://codereview.webrtc.org/2789823002
Cr-Commit-Position: refs/heads/master@{#17498}
2017-04-02 23:53:04 -07:00
|
|
|
"//webrtc/test:field_trial",
|
2017-01-05 07:09:50 -08:00
|
|
|
"//webrtc/test:test_common",
|
|
|
|
|
]
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-06-14 12:52:54 +02:00
|
|
|
}
|