2014-06-23 19:21:07 +00:00
|
|
|
# Copyright (c) 2014 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")
|
2014-06-23 19:21:07 +00:00
|
|
|
|
2017-09-12 09:23:24 -07:00
|
|
|
rtc_source_set("rtp_rtcp_format") {
|
2017-09-20 21:46:54 +02:00
|
|
|
public = [
|
2017-09-12 09:23:24 -07:00
|
|
|
"include/rtp_cvo.h",
|
|
|
|
|
"include/rtp_header_extension_map.h",
|
|
|
|
|
"include/rtp_rtcp_defines.h",
|
|
|
|
|
"source/byte_io.h",
|
2017-09-15 16:48:14 +02:00
|
|
|
"source/rtcp_packet.h",
|
|
|
|
|
"source/rtcp_packet/app.h",
|
|
|
|
|
"source/rtcp_packet/bye.h",
|
|
|
|
|
"source/rtcp_packet/common_header.h",
|
|
|
|
|
"source/rtcp_packet/compound_packet.h",
|
|
|
|
|
"source/rtcp_packet/dlrr.h",
|
|
|
|
|
"source/rtcp_packet/extended_jitter_report.h",
|
|
|
|
|
"source/rtcp_packet/extended_reports.h",
|
|
|
|
|
"source/rtcp_packet/fir.h",
|
|
|
|
|
"source/rtcp_packet/nack.h",
|
|
|
|
|
"source/rtcp_packet/pli.h",
|
|
|
|
|
"source/rtcp_packet/psfb.h",
|
|
|
|
|
"source/rtcp_packet/rapid_resync_request.h",
|
|
|
|
|
"source/rtcp_packet/receiver_report.h",
|
|
|
|
|
"source/rtcp_packet/remb.h",
|
|
|
|
|
"source/rtcp_packet/report_block.h",
|
|
|
|
|
"source/rtcp_packet/rrtr.h",
|
|
|
|
|
"source/rtcp_packet/rtpfb.h",
|
|
|
|
|
"source/rtcp_packet/sdes.h",
|
|
|
|
|
"source/rtcp_packet/sender_report.h",
|
|
|
|
|
"source/rtcp_packet/target_bitrate.h",
|
|
|
|
|
"source/rtcp_packet/tmmb_item.h",
|
|
|
|
|
"source/rtcp_packet/tmmbn.h",
|
|
|
|
|
"source/rtcp_packet/tmmbr.h",
|
|
|
|
|
"source/rtcp_packet/transport_feedback.h",
|
|
|
|
|
"source/rtcp_packet/voip_metric.h",
|
2018-06-13 15:51:43 +02:00
|
|
|
"source/rtp_generic_frame_descriptor.h",
|
2018-06-19 14:24:17 +02:00
|
|
|
"source/rtp_generic_frame_descriptor_extension.h",
|
2017-09-20 21:46:54 +02:00
|
|
|
"source/rtp_header_extensions.h",
|
2017-10-02 13:10:01 +02:00
|
|
|
"source/rtp_packet.h",
|
2017-09-20 21:46:54 +02:00
|
|
|
"source/rtp_packet_received.h",
|
|
|
|
|
"source/rtp_packet_to_send.h",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
2017-10-02 09:54:48 +02:00
|
|
|
"include/rtp_rtcp_defines.cc",
|
2017-09-20 21:46:54 +02:00
|
|
|
"source/rtcp_packet.cc",
|
|
|
|
|
"source/rtcp_packet/app.cc",
|
|
|
|
|
"source/rtcp_packet/bye.cc",
|
|
|
|
|
"source/rtcp_packet/common_header.cc",
|
|
|
|
|
"source/rtcp_packet/compound_packet.cc",
|
|
|
|
|
"source/rtcp_packet/dlrr.cc",
|
|
|
|
|
"source/rtcp_packet/extended_jitter_report.cc",
|
|
|
|
|
"source/rtcp_packet/extended_reports.cc",
|
|
|
|
|
"source/rtcp_packet/fir.cc",
|
|
|
|
|
"source/rtcp_packet/nack.cc",
|
|
|
|
|
"source/rtcp_packet/pli.cc",
|
|
|
|
|
"source/rtcp_packet/psfb.cc",
|
|
|
|
|
"source/rtcp_packet/rapid_resync_request.cc",
|
|
|
|
|
"source/rtcp_packet/receiver_report.cc",
|
|
|
|
|
"source/rtcp_packet/remb.cc",
|
|
|
|
|
"source/rtcp_packet/report_block.cc",
|
|
|
|
|
"source/rtcp_packet/rrtr.cc",
|
|
|
|
|
"source/rtcp_packet/rtpfb.cc",
|
|
|
|
|
"source/rtcp_packet/sdes.cc",
|
|
|
|
|
"source/rtcp_packet/sender_report.cc",
|
|
|
|
|
"source/rtcp_packet/target_bitrate.cc",
|
|
|
|
|
"source/rtcp_packet/tmmb_item.cc",
|
|
|
|
|
"source/rtcp_packet/tmmbn.cc",
|
|
|
|
|
"source/rtcp_packet/tmmbr.cc",
|
|
|
|
|
"source/rtcp_packet/transport_feedback.cc",
|
|
|
|
|
"source/rtcp_packet/voip_metric.cc",
|
2018-06-13 15:51:43 +02:00
|
|
|
"source/rtp_generic_frame_descriptor.cc",
|
2018-06-19 14:24:17 +02:00
|
|
|
"source/rtp_generic_frame_descriptor_extension.cc",
|
2017-09-12 09:23:24 -07:00
|
|
|
"source/rtp_header_extension_map.cc",
|
|
|
|
|
"source/rtp_header_extensions.cc",
|
|
|
|
|
"source/rtp_packet.cc",
|
|
|
|
|
"source/rtp_packet_received.cc",
|
2018-02-22 14:18:06 +01:00
|
|
|
"source/rtp_packet_to_send.cc",
|
2017-09-12 09:23:24 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"..:module_api",
|
|
|
|
|
"../..:webrtc_common",
|
|
|
|
|
"../../api:array_view",
|
|
|
|
|
"../../api:libjingle_peerconnection_api",
|
2017-10-04 12:38:53 +02:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2017-09-12 09:23:24 -07:00
|
|
|
"../../common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../../rtc_base:deprecation",
|
2017-09-12 09:23:24 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../system_wrappers",
|
2018-06-14 12:59:38 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-06-26 10:44:13 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
2017-09-12 09:23:24 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("rtp_rtcp") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2014-06-23 19:21:07 +00:00
|
|
|
sources = [
|
2016-10-10 16:44:57 -07:00
|
|
|
"include/flexfec_receiver.h",
|
2016-11-03 09:22:33 -07:00
|
|
|
"include/flexfec_sender.h",
|
2015-11-04 08:31:52 +01:00
|
|
|
"include/receive_statistics.h",
|
|
|
|
|
"include/remote_ntp_time_estimator.h",
|
|
|
|
|
"include/rtp_header_parser.h",
|
|
|
|
|
"include/rtp_payload_registry.h",
|
|
|
|
|
"include/rtp_receiver.h",
|
|
|
|
|
"include/rtp_rtcp.h",
|
2016-10-31 04:51:33 -07:00
|
|
|
"include/ulpfec_receiver.h",
|
2018-08-13 13:23:08 +02:00
|
|
|
"source/contributing_sources.cc",
|
|
|
|
|
"source/contributing_sources.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"source/dtmf_queue.cc",
|
|
|
|
|
"source/dtmf_queue.h",
|
2018-04-04 13:48:17 +02:00
|
|
|
"source/fec_private_tables_bursty.cc",
|
2015-05-25 12:55:39 +02:00
|
|
|
"source/fec_private_tables_bursty.h",
|
2018-04-04 13:48:17 +02:00
|
|
|
"source/fec_private_tables_random.cc",
|
2015-05-25 12:55:39 +02:00
|
|
|
"source/fec_private_tables_random.h",
|
2016-10-03 00:43:25 -07:00
|
|
|
"source/flexfec_header_reader_writer.cc",
|
|
|
|
|
"source/flexfec_header_reader_writer.h",
|
2016-11-03 08:18:27 -07:00
|
|
|
"source/flexfec_receiver.cc",
|
2016-11-03 09:22:33 -07:00
|
|
|
"source/flexfec_sender.cc",
|
2015-05-25 12:55:39 +02:00
|
|
|
"source/forward_error_correction.cc",
|
|
|
|
|
"source/forward_error_correction.h",
|
|
|
|
|
"source/forward_error_correction_internal.cc",
|
|
|
|
|
"source/forward_error_correction_internal.h",
|
2015-07-10 18:10:05 -07:00
|
|
|
"source/packet_loss_stats.cc",
|
|
|
|
|
"source/packet_loss_stats.h",
|
2016-06-08 00:24:21 -07:00
|
|
|
"source/playout_delay_oracle.cc",
|
|
|
|
|
"source/playout_delay_oracle.h",
|
2014-06-23 19:21:07 +00:00
|
|
|
"source/receive_statistics_impl.cc",
|
|
|
|
|
"source/receive_statistics_impl.h",
|
|
|
|
|
"source/remote_ntp_time_estimator.cc",
|
2017-02-09 05:21:42 -08:00
|
|
|
"source/rtcp_nack_stats.cc",
|
|
|
|
|
"source/rtcp_nack_stats.h",
|
2014-06-23 19:21:07 +00:00
|
|
|
"source/rtcp_receiver.cc",
|
|
|
|
|
"source/rtcp_receiver.h",
|
|
|
|
|
"source/rtcp_sender.cc",
|
|
|
|
|
"source/rtcp_sender.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"source/rtp_format.cc",
|
|
|
|
|
"source/rtp_format.h",
|
|
|
|
|
"source/rtp_format_h264.cc",
|
|
|
|
|
"source/rtp_format_h264.h",
|
|
|
|
|
"source/rtp_format_video_generic.cc",
|
|
|
|
|
"source/rtp_format_video_generic.h",
|
|
|
|
|
"source/rtp_format_vp8.cc",
|
|
|
|
|
"source/rtp_format_vp8.h",
|
2015-07-28 04:02:54 -07:00
|
|
|
"source/rtp_format_vp9.cc",
|
|
|
|
|
"source/rtp_format_vp9.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"source/rtp_header_parser.cc",
|
|
|
|
|
"source/rtp_packet_history.cc",
|
|
|
|
|
"source/rtp_packet_history.h",
|
|
|
|
|
"source/rtp_payload_registry.cc",
|
|
|
|
|
"source/rtp_receiver_audio.cc",
|
|
|
|
|
"source/rtp_receiver_audio.h",
|
2014-06-23 19:21:07 +00:00
|
|
|
"source/rtp_receiver_impl.cc",
|
|
|
|
|
"source/rtp_receiver_impl.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"source/rtp_receiver_strategy.cc",
|
|
|
|
|
"source/rtp_receiver_strategy.h",
|
|
|
|
|
"source/rtp_receiver_video.cc",
|
|
|
|
|
"source/rtp_receiver_video.h",
|
|
|
|
|
"source/rtp_rtcp_config.h",
|
|
|
|
|
"source/rtp_rtcp_impl.cc",
|
|
|
|
|
"source/rtp_rtcp_impl.h",
|
2014-06-23 19:21:07 +00:00
|
|
|
"source/rtp_sender.cc",
|
|
|
|
|
"source/rtp_sender.h",
|
2015-05-25 12:55:39 +02:00
|
|
|
"source/rtp_sender_audio.cc",
|
|
|
|
|
"source/rtp_sender_audio.h",
|
|
|
|
|
"source/rtp_sender_video.cc",
|
|
|
|
|
"source/rtp_sender_video.h",
|
2014-06-23 19:21:07 +00:00
|
|
|
"source/rtp_utility.cc",
|
|
|
|
|
"source/rtp_utility.h",
|
2016-03-09 15:14:35 +01:00
|
|
|
"source/time_util.cc",
|
|
|
|
|
"source/time_util.h",
|
2014-06-23 19:21:07 +00:00
|
|
|
"source/tmmbr_help.cc",
|
|
|
|
|
"source/tmmbr_help.h",
|
2016-10-31 05:27:07 -07:00
|
|
|
"source/ulpfec_generator.cc",
|
|
|
|
|
"source/ulpfec_generator.h",
|
2016-09-21 09:19:34 +02:00
|
|
|
"source/ulpfec_header_reader_writer.cc",
|
|
|
|
|
"source/ulpfec_header_reader_writer.h",
|
2016-10-31 04:51:33 -07:00
|
|
|
"source/ulpfec_receiver_impl.cc",
|
|
|
|
|
"source/ulpfec_receiver_impl.h",
|
2014-06-23 19:21:07 +00:00
|
|
|
]
|
|
|
|
|
|
2016-09-14 05:04:36 -07:00
|
|
|
if (rtc_enable_bwe_test_logging) {
|
|
|
|
|
defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
|
|
|
|
|
} else {
|
|
|
|
|
defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
|
|
|
|
|
}
|
|
|
|
|
|
2014-06-23 19:21:07 +00:00
|
|
|
deps = [
|
2017-12-06 07:51:33 +01:00
|
|
|
":rtp_rtcp_format",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2015-02-26 13:59:22 +00:00
|
|
|
"../..:webrtc_common",
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../api:array_view",
|
Reland of Implemented the GetSources() in native code. (patchset #1 id:1 of https://codereview.webrtc.org/2809613002/ )
Reason for revert:
Re-land, reverting did not fix bug.
https://bugs.chromium.org/p/webrtc/issues/detail?id=7465
Original issue's description:
> Revert of Implemented the GetSources() in native code. (patchset #11 id:510001 of https://codereview.webrtc.org/2770233003/ )
>
> Reason for revert:
> Suspected of WebRtcApprtcBrowserTest.MANUAL_WorksOnApprtc breakage, see
>
> https://bugs.chromium.org/p/webrtc/issues/detail?id=7465
>
> Original issue's description:
> > Added the GetSources() to the RtpReceiverInterface and implemented
> > it for the AudioRtpReceiver.
> >
> > This method returns a vector of RtpSource(both CSRC source and SSRC
> > source) which contains the ID of a source, the timestamp, the source
> > type (SSRC or CSRC) and the audio level.
> >
> > The RtpSource objects are buffered and maintained by the
> > RtpReceiver in webrtc/modules/rtp_rtcp/. When the method is called,
> > the info of the contributing source will be pulled along the object
> > chain:
> > AudioRtpReceiver -> VoiceChannel -> WebRtcVoiceMediaChannel ->
> > AudioReceiveStream -> voe::Channel -> RtpRtcp module
> >
> > Spec:https://w3c.github.io/webrtc-pc/archives/20151006/webrtc.html#widl-RTCRtpReceiver-getContributingSources-sequence-RTCRtpContributingSource
> >
> > BUG=chromium:703122
> > TBR=stefan@webrtc.org, danilchap@webrtc.org
> >
> > Review-Url: https://codereview.webrtc.org/2770233003
> > Cr-Commit-Position: refs/heads/master@{#17591}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/292084c3765d9f3ee406ca2ec86eae206b540053
>
> TBR=deadbeef@webrtc.org,solenberg@webrtc.org,hbos@webrtc.org,philipel@webrtc.org,stefan@webrtc.org,danilchap@webrtc.org,zhihuang@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=chromium:703122
>
> Review-Url: https://codereview.webrtc.org/2809613002
> Cr-Commit-Position: refs/heads/master@{#17616}
> Committed: https://chromium.googlesource.com/external/webrtc/+/fbcc5cb3869d1370008e40f24fc03ac8fb69c675
TBR=deadbeef@webrtc.org,solenberg@webrtc.org,philipel@webrtc.org,stefan@webrtc.org,danilchap@webrtc.org,zhihuang@webrtc.org,olka@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:703122
Review-Url: https://codereview.webrtc.org/2810623003
Cr-Commit-Position: refs/heads/master@{#17621}
2017-04-10 07:39:05 -07:00
|
|
|
"../../api:libjingle_peerconnection_api",
|
2016-11-28 07:02:13 -08:00
|
|
|
"../../api:transport_api",
|
2017-03-27 07:15:49 -07:00
|
|
|
"../../api/audio_codecs:audio_codecs_api",
|
2018-05-17 12:35:56 +02:00
|
|
|
"../../api/video:video_bitrate_allocation",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2018-08-23 17:07:29 +02:00
|
|
|
"../../api/video:video_frame",
|
2018-06-08 14:03:44 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2016-06-02 02:43:32 -07:00
|
|
|
"../../common_video",
|
2018-02-01 11:04:46 -08:00
|
|
|
"../../logging:rtc_event_audio",
|
2016-12-22 07:35:39 -08:00
|
|
|
"../../logging:rtc_event_log_api",
|
2018-02-01 11:04:46 -08:00
|
|
|
"../../logging:rtc_event_rtp_rtcp",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../../rtc_base:deprecation",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:gtest_prod",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:rate_limiter",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-11-15 16:48:04 +00:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2018-03-07 14:18:56 +01:00
|
|
|
"../../rtc_base:safe_minmax",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:sequenced_task_checker",
|
2017-12-15 14:40:10 +01:00
|
|
|
"../../rtc_base:stringutils",
|
2018-02-05 10:33:35 +01:00
|
|
|
"../../rtc_base/system:fallthrough",
|
2018-03-22 15:29:03 +01:00
|
|
|
"../../rtc_base/time:timestamp_extrapolator",
|
2014-06-23 19:21:07 +00:00
|
|
|
"../../system_wrappers",
|
2017-12-06 09:17:14 +01:00
|
|
|
"../../system_wrappers:field_trial_api",
|
|
|
|
|
"../../system_wrappers:metrics_api",
|
2017-03-27 07:15:49 -07:00
|
|
|
"../audio_coding:audio_format_conversion",
|
2014-06-23 19:21:07 +00:00
|
|
|
"../remote_bitrate_estimator",
|
2018-09-04 16:11:58 +02:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-06-14 12:59:38 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2014-06-23 19:21:07 +00:00
|
|
|
]
|
|
|
|
|
}
|
2016-08-08 08:08:53 -07:00
|
|
|
|
2017-10-24 17:07:05 +02:00
|
|
|
rtc_source_set("rtcp_transceiver") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-10-24 17:07:05 +02:00
|
|
|
public = [
|
2017-11-16 14:35:32 +01:00
|
|
|
"source/rtcp_transceiver.h",
|
2017-10-24 17:07:05 +02:00
|
|
|
"source/rtcp_transceiver_config.h",
|
|
|
|
|
"source/rtcp_transceiver_impl.h",
|
|
|
|
|
]
|
|
|
|
|
sources = [
|
2017-11-16 14:35:32 +01:00
|
|
|
"source/rtcp_transceiver.cc",
|
2017-10-24 17:07:05 +02:00
|
|
|
"source/rtcp_transceiver_config.cc",
|
|
|
|
|
"source/rtcp_transceiver_impl.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
":rtp_rtcp_format",
|
2017-12-13 12:26:17 +01:00
|
|
|
"../../:webrtc_common",
|
2017-10-24 17:07:05 +02:00
|
|
|
"../../api:array_view",
|
2018-05-17 12:35:56 +02:00
|
|
|
"../../api:libjingle_peerconnection_api",
|
2017-10-24 17:07:05 +02:00
|
|
|
"../../api:transport_api",
|
2018-05-17 12:35:56 +02:00
|
|
|
"../../api/video:video_bitrate_allocation",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-10-24 17:07:05 +02:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2018-09-05 12:24:07 +02:00
|
|
|
"../../rtc_base:rtc_cancelable_task",
|
2017-10-30 15:21:41 +01:00
|
|
|
"../../rtc_base:rtc_task_queue",
|
|
|
|
|
"../../rtc_base:weak_ptr",
|
2017-12-06 09:17:14 +01:00
|
|
|
"../../system_wrappers",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-06-14 12:59:38 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-10-24 17:07:05 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-07-09 15:52:29 +02:00
|
|
|
rtc_source_set("rtp_video_header") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"source/rtp_video_header.cc",
|
|
|
|
|
"source/rtp_video_header.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../../:webrtc_common",
|
|
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../modules/video_coding:codec_globals_headers",
|
2018-08-01 17:13:08 +02:00
|
|
|
"//third_party/abseil-cpp/absl/container:inlined_vector",
|
2018-07-09 15:52:29 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-04-25 04:04:50 -07:00
|
|
|
rtc_source_set("fec_test_helper") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"source/fec_test_helper.cc",
|
|
|
|
|
"source/fec_test_helper.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
":rtp_rtcp_format",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-04-25 04:04:50 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-01 04:47:20 -07:00
|
|
|
rtc_source_set("mock_rtp_rtcp") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2018-03-09 15:37:03 +00:00
|
|
|
"mocks/mock_recovered_packet_receiver.cc",
|
|
|
|
|
"mocks/mock_rtcp_bandwidth_observer.cc",
|
|
|
|
|
"mocks/mock_rtcp_rtt_stats.cc",
|
|
|
|
|
"mocks/mock_rtp_rtcp.cc",
|
|
|
|
|
]
|
|
|
|
|
public = [
|
2017-06-01 04:47:20 -07:00
|
|
|
"mocks/mock_recovered_packet_receiver.h",
|
2018-02-22 14:49:02 +01:00
|
|
|
"mocks/mock_rtcp_bandwidth_observer.h",
|
2017-06-01 04:47:20 -07:00
|
|
|
"mocks/mock_rtcp_rtt_stats.h",
|
|
|
|
|
"mocks/mock_rtp_rtcp.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
":rtp_rtcp_format",
|
2017-06-01 04:47:20 -07:00
|
|
|
"..:module_api",
|
2018-05-17 12:35:56 +02:00
|
|
|
"../../api/video:video_bitrate_allocation",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-06-01 04:47:20 -07:00
|
|
|
"../../test:test_support",
|
2018-06-14 12:59:38 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-06-01 04:47:20 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-08-08 08:08:53 -07:00
|
|
|
if (rtc_include_tests) {
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_executable("test_packet_masks_metrics") {
|
2016-08-08 08:08:53 -07:00
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"test/testFec/average_residual_loss_xor_codes.h",
|
|
|
|
|
"test/testFec/test_packet_masks_metrics.cc",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":rtp_rtcp",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2017-07-11 06:20:45 -07:00
|
|
|
"../../test:test_main",
|
2016-08-08 08:08:53 -07:00
|
|
|
"//testing/gtest",
|
|
|
|
|
]
|
|
|
|
|
} # test_packet_masks_metrics
|
2017-01-19 08:27:11 -08:00
|
|
|
|
2017-01-30 03:07:03 -08:00
|
|
|
rtc_source_set("rtp_rtcp_modules_tests") {
|
|
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
|
2017-01-30 03:07:03 -08:00
|
|
|
sources = [
|
|
|
|
|
"test/testFec/test_fec.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
":rtp_rtcp_format",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2017-01-30 03:07:03 -08:00
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-04-25 04:04:50 -07:00
|
|
|
rtc_source_set("rtp_rtcp_unittests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
2017-01-19 08:27:11 -08:00
|
|
|
"source/byte_io_unittest.cc",
|
2018-08-13 13:23:08 +02:00
|
|
|
"source/contributing_sources_unittest.cc",
|
2018-04-04 13:48:17 +02:00
|
|
|
"source/fec_private_tables_bursty_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"source/flexfec_header_reader_writer_unittest.cc",
|
|
|
|
|
"source/flexfec_receiver_unittest.cc",
|
|
|
|
|
"source/flexfec_sender_unittest.cc",
|
|
|
|
|
"source/nack_rtx_unittest.cc",
|
|
|
|
|
"source/packet_loss_stats_unittest.cc",
|
|
|
|
|
"source/playout_delay_oracle_unittest.cc",
|
|
|
|
|
"source/receive_statistics_unittest.cc",
|
|
|
|
|
"source/remote_ntp_time_estimator_unittest.cc",
|
2017-02-09 05:21:42 -08:00
|
|
|
"source/rtcp_nack_stats_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"source/rtcp_packet/app_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/bye_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/common_header_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/compound_packet_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/dlrr_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/extended_jitter_report_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/extended_reports_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/fir_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/nack_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/pli_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/rapid_resync_request_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/receiver_report_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/remb_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/report_block_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/rrtr_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/sdes_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/sender_report_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/target_bitrate_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/tmmbn_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/tmmbr_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/transport_feedback_unittest.cc",
|
|
|
|
|
"source/rtcp_packet/voip_metric_unittest.cc",
|
|
|
|
|
"source/rtcp_packet_unittest.cc",
|
|
|
|
|
"source/rtcp_receiver_unittest.cc",
|
|
|
|
|
"source/rtcp_sender_unittest.cc",
|
2017-10-24 17:07:05 +02:00
|
|
|
"source/rtcp_transceiver_impl_unittest.cc",
|
2017-11-16 14:35:32 +01:00
|
|
|
"source/rtcp_transceiver_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"source/rtp_fec_unittest.cc",
|
|
|
|
|
"source/rtp_format_h264_unittest.cc",
|
2018-09-04 16:11:58 +02:00
|
|
|
"source/rtp_format_unittest.cc",
|
2017-05-23 09:34:21 -07:00
|
|
|
"source/rtp_format_video_generic_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"source/rtp_format_vp8_test_helper.cc",
|
|
|
|
|
"source/rtp_format_vp8_test_helper.h",
|
|
|
|
|
"source/rtp_format_vp8_unittest.cc",
|
|
|
|
|
"source/rtp_format_vp9_unittest.cc",
|
2018-06-19 14:24:17 +02:00
|
|
|
"source/rtp_generic_frame_descriptor_extension_unittest.cc",
|
2017-06-01 17:10:51 +02:00
|
|
|
"source/rtp_header_extension_map_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"source/rtp_packet_history_unittest.cc",
|
|
|
|
|
"source/rtp_packet_unittest.cc",
|
|
|
|
|
"source/rtp_payload_registry_unittest.cc",
|
Reland of Implemented the GetSources() in native code. (patchset #1 id:1 of https://codereview.webrtc.org/2809613002/ )
Reason for revert:
Re-land, reverting did not fix bug.
https://bugs.chromium.org/p/webrtc/issues/detail?id=7465
Original issue's description:
> Revert of Implemented the GetSources() in native code. (patchset #11 id:510001 of https://codereview.webrtc.org/2770233003/ )
>
> Reason for revert:
> Suspected of WebRtcApprtcBrowserTest.MANUAL_WorksOnApprtc breakage, see
>
> https://bugs.chromium.org/p/webrtc/issues/detail?id=7465
>
> Original issue's description:
> > Added the GetSources() to the RtpReceiverInterface and implemented
> > it for the AudioRtpReceiver.
> >
> > This method returns a vector of RtpSource(both CSRC source and SSRC
> > source) which contains the ID of a source, the timestamp, the source
> > type (SSRC or CSRC) and the audio level.
> >
> > The RtpSource objects are buffered and maintained by the
> > RtpReceiver in webrtc/modules/rtp_rtcp/. When the method is called,
> > the info of the contributing source will be pulled along the object
> > chain:
> > AudioRtpReceiver -> VoiceChannel -> WebRtcVoiceMediaChannel ->
> > AudioReceiveStream -> voe::Channel -> RtpRtcp module
> >
> > Spec:https://w3c.github.io/webrtc-pc/archives/20151006/webrtc.html#widl-RTCRtpReceiver-getContributingSources-sequence-RTCRtpContributingSource
> >
> > BUG=chromium:703122
> > TBR=stefan@webrtc.org, danilchap@webrtc.org
> >
> > Review-Url: https://codereview.webrtc.org/2770233003
> > Cr-Commit-Position: refs/heads/master@{#17591}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/292084c3765d9f3ee406ca2ec86eae206b540053
>
> TBR=deadbeef@webrtc.org,solenberg@webrtc.org,hbos@webrtc.org,philipel@webrtc.org,stefan@webrtc.org,danilchap@webrtc.org,zhihuang@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=chromium:703122
>
> Review-Url: https://codereview.webrtc.org/2809613002
> Cr-Commit-Position: refs/heads/master@{#17616}
> Committed: https://chromium.googlesource.com/external/webrtc/+/fbcc5cb3869d1370008e40f24fc03ac8fb69c675
TBR=deadbeef@webrtc.org,solenberg@webrtc.org,philipel@webrtc.org,stefan@webrtc.org,danilchap@webrtc.org,zhihuang@webrtc.org,olka@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:703122
Review-Url: https://codereview.webrtc.org/2810623003
Cr-Commit-Position: refs/heads/master@{#17621}
2017-04-10 07:39:05 -07:00
|
|
|
"source/rtp_receiver_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"source/rtp_rtcp_impl_unittest.cc",
|
|
|
|
|
"source/rtp_sender_unittest.cc",
|
|
|
|
|
"source/rtp_utility_unittest.cc",
|
|
|
|
|
"source/time_util_unittest.cc",
|
|
|
|
|
"source/ulpfec_generator_unittest.cc",
|
|
|
|
|
"source/ulpfec_header_reader_writer_unittest.cc",
|
|
|
|
|
"source/ulpfec_receiver_unittest.cc",
|
|
|
|
|
"test/testAPI/test_api.cc",
|
|
|
|
|
"test/testAPI/test_api.h",
|
|
|
|
|
"test/testAPI/test_api_audio.cc",
|
|
|
|
|
"test/testAPI/test_api_rtcp.cc",
|
|
|
|
|
"test/testAPI/test_api_video.cc",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2017-04-25 04:04:50 -07:00
|
|
|
":fec_test_helper",
|
|
|
|
|
":mock_rtp_rtcp",
|
2017-10-24 17:07:05 +02:00
|
|
|
":rtcp_transceiver",
|
2017-01-19 08:27:11 -08:00
|
|
|
":rtp_rtcp",
|
2017-12-06 07:51:33 +01:00
|
|
|
":rtp_rtcp_format",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../..:webrtc_common",
|
2017-09-04 05:43:17 -07:00
|
|
|
"../../api:array_view",
|
2017-09-01 15:29:28 +02:00
|
|
|
"../../api:libjingle_peerconnection_api",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../api:transport_api",
|
2018-05-17 12:35:56 +02:00
|
|
|
"../../api/video:video_bitrate_allocation",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2018-06-08 14:03:44 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2017-09-13 07:13:57 -07:00
|
|
|
"../../call:rtp_receiver",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../common_video:common_video",
|
2018-01-03 09:08:20 +01:00
|
|
|
"../../logging:mocks",
|
2017-10-03 16:11:34 +02:00
|
|
|
"../../logging:rtc_event_log_api",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:rate_limiter",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-11-09 15:42:28 +01:00
|
|
|
"../../rtc_base:rtc_base_tests_utils",
|
2017-10-30 15:21:41 +01:00
|
|
|
"../../rtc_base:rtc_task_queue",
|
2017-12-06 09:17:14 +01:00
|
|
|
"../../system_wrappers",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../test:field_trial",
|
|
|
|
|
"../../test:rtp_test_utils",
|
|
|
|
|
"../../test:test_common",
|
|
|
|
|
"../../test:test_support",
|
2017-10-04 12:38:53 +02:00
|
|
|
"../audio_coding:audio_format_conversion",
|
2018-08-30 20:54:58 +02:00
|
|
|
"../video_coding:codec_globals_headers",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-06-14 12:59:38 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-01-19 08:27:11 -08:00
|
|
|
]
|
|
|
|
|
}
|
2016-08-08 08:08:53 -07:00
|
|
|
}
|