• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright(c) 2020 The WebRTC project authors.All Rights Reserved.
2#
3# Use of this source code is governed by a BSD - style license
4# that can be found in the LICENSE file in the root of the source
5# tree.An additional intellectual property rights grant can be found
6# in the file PATENTS.All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9import("../../webrtc.gni")
10
11rtc_library("voip_core") {
12  sources = [
13    "voip_core.cc",
14    "voip_core.h",
15  ]
16  deps = [
17    ":audio_channel",
18    "..:audio",
19    "../../api:scoped_refptr",
20    "../../api/audio_codecs:audio_codecs_api",
21    "../../api/task_queue",
22    "../../api/voip:voip_api",
23    "../../modules/audio_device:audio_device_api",
24    "../../modules/audio_mixer:audio_mixer_impl",
25    "../../modules/audio_processing:api",
26    "../../rtc_base:criticalsection",
27    "../../rtc_base:logging",
28    "../../rtc_base/synchronization:mutex",
29  ]
30  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
31}
32
33rtc_library("audio_channel") {
34  sources = [
35    "audio_channel.cc",
36    "audio_channel.h",
37  ]
38  deps = [
39    ":audio_egress",
40    ":audio_ingress",
41    "../../api:transport_api",
42    "../../api/audio_codecs:audio_codecs_api",
43    "../../api/task_queue",
44    "../../api/voip:voip_api",
45    "../../modules/audio_device:audio_device_api",
46    "../../modules/rtp_rtcp",
47    "../../modules/rtp_rtcp:rtp_rtcp_format",
48    "../../rtc_base:criticalsection",
49    "../../rtc_base:logging",
50    "../../rtc_base:refcount",
51  ]
52}
53
54rtc_library("audio_ingress") {
55  sources = [
56    "audio_ingress.cc",
57    "audio_ingress.h",
58  ]
59  deps = [
60    "..:audio",
61    "../../api:array_view",
62    "../../api:rtp_headers",
63    "../../api:scoped_refptr",
64    "../../api:transport_api",
65    "../../api/audio:audio_mixer_api",
66    "../../api/audio_codecs:audio_codecs_api",
67    "../../api/voip:voip_api",
68    "../../modules/audio_coding",
69    "../../modules/rtp_rtcp",
70    "../../modules/rtp_rtcp:rtp_rtcp_format",
71    "../../rtc_base:criticalsection",
72    "../../rtc_base:logging",
73    "../../rtc_base:safe_minmax",
74    "../../rtc_base:timeutils",
75    "../../rtc_base/synchronization:mutex",
76    "../utility:audio_frame_operations",
77  ]
78  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
79}
80
81rtc_library("audio_egress") {
82  sources = [
83    "audio_egress.cc",
84    "audio_egress.h",
85  ]
86  deps = [
87    "..:audio",
88    "../../api:sequence_checker",
89    "../../api/audio_codecs:audio_codecs_api",
90    "../../api/task_queue",
91    "../../call:audio_sender_interface",
92    "../../modules/audio_coding",
93    "../../modules/rtp_rtcp",
94    "../../modules/rtp_rtcp:rtp_rtcp_format",
95    "../../rtc_base:logging",
96    "../../rtc_base:rtc_task_queue",
97    "../../rtc_base:timeutils",
98    "../../rtc_base/synchronization:mutex",
99    "../../rtc_base/system:no_unique_address",
100    "../utility:audio_frame_operations",
101  ]
102}
103