mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Finish resolving merge conflicts
This commit is contained in:
parent
797e6aed77
commit
2e9c66e1b1
570 changed files with 111 additions and 24628 deletions
|
@ -56,15 +56,12 @@ wheel: <
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
# GRPC used by iOS test.
|
# GRPC used by iOS test.
|
||||||
wheel: <
|
wheel: <
|
||||||
name: "infra/python/wheels/grpcio/${vpython_platform}"
|
name: "infra/python/wheels/grpcio/${vpython_platform}"
|
||||||
version: "version:1.44.0"
|
version: "version:1.44.0"
|
||||||
>
|
>
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
wheel: <
|
wheel: <
|
||||||
name: "infra/python/wheels/six-py2_py3"
|
name: "infra/python/wheels/six-py2_py3"
|
||||||
version: "version:1.15.0"
|
version: "version:1.15.0"
|
||||||
|
@ -82,13 +79,8 @@ wheel: <
|
||||||
version: "version:2.0.0"
|
version: "version:2.0.0"
|
||||||
>
|
>
|
||||||
wheel: <
|
wheel: <
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "infra/python/wheels/protobuf-py2_py3"
|
|
||||||
version: "version:3.13.0"
|
|
||||||
=======
|
|
||||||
name: "infra/python/wheels/protobuf-py3"
|
name: "infra/python/wheels/protobuf-py3"
|
||||||
version: "version:3.20.0"
|
version: "version:3.20.0"
|
||||||
>>>>>>> m108
|
|
||||||
>
|
>
|
||||||
wheel: <
|
wheel: <
|
||||||
name: "infra/python/wheels/requests-py2_py3"
|
name: "infra/python/wheels/requests-py2_py3"
|
||||||
|
|
6
AUTHORS
6
AUTHORS
|
@ -85,10 +85,7 @@ Mike Gilbert <floppymaster@gmail.com>
|
||||||
Mike Wei <Mike.WeiB@gmail.com>
|
Mike Wei <Mike.WeiB@gmail.com>
|
||||||
Min Wang <mingewang@gmail.com>
|
Min Wang <mingewang@gmail.com>
|
||||||
Mo Zanaty <mzanaty@cisco.com>
|
Mo Zanaty <mzanaty@cisco.com>
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
Nico Schlumprecht <me@github.nico.onl>
|
Nico Schlumprecht <me@github.nico.onl>
|
||||||
>>>>>>> m108
|
|
||||||
Niek van der Maas <mail@niekvandermaas.nl>
|
Niek van der Maas <mail@niekvandermaas.nl>
|
||||||
Olivier Crête <olivier.crete@ocrete.ca>
|
Olivier Crête <olivier.crete@ocrete.ca>
|
||||||
Pali Rohar
|
Pali Rohar
|
||||||
|
@ -125,10 +122,7 @@ Victor Costan <costan@gmail.com>
|
||||||
Vladimir Beloborodov <VladimirTechMan@gmail.com>
|
Vladimir Beloborodov <VladimirTechMan@gmail.com>
|
||||||
Xiaohong Xu <freemine@yeah.net>
|
Xiaohong Xu <freemine@yeah.net>
|
||||||
Xiaolei Yu <dreifachstein@gmail.com>
|
Xiaolei Yu <dreifachstein@gmail.com>
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
Xinchao Tian <tianxinchao@360.cn>
|
Xinchao Tian <tianxinchao@360.cn>
|
||||||
>>>>>>> m108
|
|
||||||
Yaowen Guo <albertguo88@gmail.com>
|
Yaowen Guo <albertguo88@gmail.com>
|
||||||
Yura Yaroshevich <yura.yaroshevich@gmail.com>
|
Yura Yaroshevich <yura.yaroshevich@gmail.com>
|
||||||
Yuriy Pavlyshak <yuriy@appear.in>
|
Yuriy Pavlyshak <yuriy@appear.in>
|
||||||
|
|
|
@ -953,11 +953,7 @@ def CommonChecks(input_api, output_api):
|
||||||
# Skip long-lines check for DEPS and GN files.
|
# Skip long-lines check for DEPS and GN files.
|
||||||
build_file_filter_list = (r'.+\.gn$', r'.+\.gni$', 'DEPS')
|
build_file_filter_list = (r'.+\.gn$', r'.+\.gni$', 'DEPS')
|
||||||
# Also we will skip most checks for third_party directory.
|
# Also we will skip most checks for third_party directory.
|
||||||
<<<<<<< HEAD
|
|
||||||
third_party_filter_list = (r'^third_party[\\\/].+', )
|
|
||||||
=======
|
|
||||||
third_party_filter_list = (r'(^|.*[\\\/])third_party[\\\/].+', )
|
third_party_filter_list = (r'(^|.*[\\\/])third_party[\\\/].+', )
|
||||||
>>>>>>> m108
|
|
||||||
eighty_char_sources = lambda x: input_api.FilterSourceFile(
|
eighty_char_sources = lambda x: input_api.FilterSourceFile(
|
||||||
x,
|
x,
|
||||||
files_to_skip=build_file_filter_list + objc_filter_list +
|
files_to_skip=build_file_filter_list + objc_filter_list +
|
||||||
|
|
6
api/DEPS
6
api/DEPS
|
@ -309,24 +309,18 @@ specific_include_rules = {
|
||||||
"+modules/video_coding",
|
"+modules/video_coding",
|
||||||
],
|
],
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
"video_decoder_factory_template.*\.h": [
|
"video_decoder_factory_template.*\.h": [
|
||||||
"+modules/video_coding",
|
"+modules/video_coding",
|
||||||
],
|
],
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
"field_trials\.h": [
|
"field_trials\.h": [
|
||||||
"+rtc_base/containers/flat_map.h",
|
"+rtc_base/containers/flat_map.h",
|
||||||
],
|
],
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
"video_track_source_proxy_factory.h": [
|
"video_track_source_proxy_factory.h": [
|
||||||
"+rtc_base/thread.h",
|
"+rtc_base/thread.h",
|
||||||
],
|
],
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
# .cc files in api/ should not be restricted in what they can #include,
|
# .cc files in api/ should not be restricted in what they can #include,
|
||||||
# so we re-add all the top-level directories here. (That's because .h
|
# so we re-add all the top-level directories here. (That's because .h
|
||||||
# files leak their #includes to whoever's #including them, but .cc files
|
# files leak their #includes to whoever's #including them, but .cc files
|
||||||
|
|
|
@ -81,8 +81,6 @@ class AsyncDnsResolverFactoryInterface {
|
||||||
// Creates an AsyncDnsResolver and starts resolving the name. The callback
|
// Creates an AsyncDnsResolver and starts resolving the name. The callback
|
||||||
// will be called when resolution is finished.
|
// will be called when resolution is finished.
|
||||||
// The callback will be called on the sequence that the caller runs on.
|
// The callback will be called on the sequence that the caller runs on.
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
virtual std::unique_ptr<webrtc::AsyncDnsResolverInterface> CreateAndResolve(
|
virtual std::unique_ptr<webrtc::AsyncDnsResolverInterface> CreateAndResolve(
|
||||||
const rtc::SocketAddress& addr,
|
const rtc::SocketAddress& addr,
|
||||||
std::function<void()> callback) = 0;
|
std::function<void()> callback) = 0;
|
||||||
|
@ -90,7 +88,6 @@ class AsyncDnsResolverFactoryInterface {
|
||||||
// matching the specified family. The callback will be called when resolution
|
// matching the specified family. The callback will be called when resolution
|
||||||
// is finished. The callback will be called on the sequence that the caller
|
// is finished. The callback will be called on the sequence that the caller
|
||||||
// runs on.
|
// runs on.
|
||||||
>>>>>>> m108
|
|
||||||
virtual std::unique_ptr<webrtc::AsyncDnsResolverInterface> CreateAndResolve(
|
virtual std::unique_ptr<webrtc::AsyncDnsResolverInterface> CreateAndResolve(
|
||||||
const rtc::SocketAddress& addr,
|
const rtc::SocketAddress& addr,
|
||||||
int family,
|
int family,
|
||||||
|
|
|
@ -22,10 +22,6 @@ rtc_library("audio_frame_api") {
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:logging",
|
"../../rtc_base:logging",
|
||||||
"../../rtc_base:macromagic",
|
"../../rtc_base:macromagic",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:timeutils",
|
"../../rtc_base:timeutils",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -41,13 +37,8 @@ rtc_source_set("audio_mixer_api") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":audio_frame_api",
|
":audio_frame_api",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:refcount",
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
"..:make_ref_counted",
|
"..:make_ref_counted",
|
||||||
"../../rtc_base:refcount",
|
"../../rtc_base:refcount",
|
||||||
>>>>>>> m108
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,10 +66,6 @@ rtc_library("aec3_config_json") {
|
||||||
":aec3_config",
|
":aec3_config",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:logging",
|
"../../rtc_base:logging",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:rtc_json",
|
"../../rtc_base:rtc_json",
|
||||||
"../../rtc_base:stringutils",
|
"../../rtc_base:stringutils",
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
|
@ -120,9 +107,5 @@ rtc_source_set("echo_detector_creator") {
|
||||||
"../../api:scoped_refptr",
|
"../../api:scoped_refptr",
|
||||||
"../../modules/audio_processing:api",
|
"../../modules/audio_processing:api",
|
||||||
"../../modules/audio_processing:residual_echo_detector",
|
"../../modules/audio_processing:residual_echo_detector",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:refcount",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,16 +34,10 @@ rtc_library("audio_codecs_api") {
|
||||||
"..:make_ref_counted",
|
"..:make_ref_counted",
|
||||||
"..:scoped_refptr",
|
"..:scoped_refptr",
|
||||||
"../../api:field_trials_view",
|
"../../api:field_trials_view",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:checks",
|
|
||||||
"../../rtc_base:refcount",
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
"../../rtc_base:buffer",
|
"../../rtc_base:buffer",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:event_tracer",
|
"../../rtc_base:event_tracer",
|
||||||
"../../rtc_base:refcount",
|
"../../rtc_base:refcount",
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:sanitizer",
|
"../../rtc_base:sanitizer",
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
"../units:time_delta",
|
"../units:time_delta",
|
||||||
|
|
|
@ -23,10 +23,6 @@ rtc_library("audio_encoder_L16") {
|
||||||
"..:audio_codecs_api",
|
"..:audio_codecs_api",
|
||||||
"../../../api:field_trials_view",
|
"../../../api:field_trials_view",
|
||||||
"../../../modules/audio_coding:pcm16b",
|
"../../../modules/audio_coding:pcm16b",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../../rtc_base:safe_conversions",
|
"../../../rtc_base:safe_conversions",
|
||||||
"../../../rtc_base:safe_minmax",
|
"../../../rtc_base:safe_minmax",
|
||||||
"../../../rtc_base:stringutils",
|
"../../../rtc_base:stringutils",
|
||||||
|
@ -49,10 +45,6 @@ rtc_library("audio_decoder_L16") {
|
||||||
"..:audio_codecs_api",
|
"..:audio_codecs_api",
|
||||||
"../../../api:field_trials_view",
|
"../../../api:field_trials_view",
|
||||||
"../../../modules/audio_coding:pcm16b",
|
"../../../modules/audio_coding:pcm16b",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../../rtc_base:safe_conversions",
|
"../../../rtc_base:safe_conversions",
|
||||||
"../../../rtc_base/system:rtc_export",
|
"../../../rtc_base/system:rtc_export",
|
||||||
]
|
]
|
||||||
|
|
|
@ -16,10 +16,7 @@
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_decoder_factory.h"
|
#include "api/audio_codecs/audio_decoder_factory.h"
|
||||||
#include "api/field_trials_view.h"
|
#include "api/field_trials_view.h"
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
#include "api/make_ref_counted.h"
|
#include "api/make_ref_counted.h"
|
||||||
>>>>>>> m108
|
|
||||||
#include "api/scoped_refptr.h"
|
#include "api/scoped_refptr.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -16,10 +16,7 @@
|
||||||
|
|
||||||
#include "api/audio_codecs/audio_encoder_factory.h"
|
#include "api/audio_codecs/audio_encoder_factory.h"
|
||||||
#include "api/field_trials_view.h"
|
#include "api/field_trials_view.h"
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
#include "api/make_ref_counted.h"
|
#include "api/make_ref_counted.h"
|
||||||
>>>>>>> m108
|
|
||||||
#include "api/scoped_refptr.h"
|
#include "api/scoped_refptr.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
|
@ -23,10 +23,6 @@ rtc_library("audio_encoder_g711") {
|
||||||
"..:audio_codecs_api",
|
"..:audio_codecs_api",
|
||||||
"../../../api:field_trials_view",
|
"../../../api:field_trials_view",
|
||||||
"../../../modules/audio_coding:g711",
|
"../../../modules/audio_coding:g711",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../../rtc_base:safe_conversions",
|
"../../../rtc_base:safe_conversions",
|
||||||
"../../../rtc_base:safe_minmax",
|
"../../../rtc_base:safe_minmax",
|
||||||
"../../../rtc_base:stringutils",
|
"../../../rtc_base:stringutils",
|
||||||
|
@ -49,10 +45,6 @@ rtc_library("audio_decoder_g711") {
|
||||||
"..:audio_codecs_api",
|
"..:audio_codecs_api",
|
||||||
"../../../api:field_trials_view",
|
"../../../api:field_trials_view",
|
||||||
"../../../modules/audio_coding:g711",
|
"../../../modules/audio_coding:g711",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../../rtc_base:safe_conversions",
|
"../../../rtc_base:safe_conversions",
|
||||||
"../../../rtc_base/system:rtc_export",
|
"../../../rtc_base/system:rtc_export",
|
||||||
]
|
]
|
||||||
|
|
|
@ -30,10 +30,6 @@ rtc_library("audio_encoder_g722") {
|
||||||
"..:audio_codecs_api",
|
"..:audio_codecs_api",
|
||||||
"../../../api:field_trials_view",
|
"../../../api:field_trials_view",
|
||||||
"../../../modules/audio_coding:g722",
|
"../../../modules/audio_coding:g722",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../../rtc_base:safe_conversions",
|
"../../../rtc_base:safe_conversions",
|
||||||
"../../../rtc_base:safe_minmax",
|
"../../../rtc_base:safe_minmax",
|
||||||
"../../../rtc_base:stringutils",
|
"../../../rtc_base:stringutils",
|
||||||
|
@ -56,10 +52,6 @@ rtc_library("audio_decoder_g722") {
|
||||||
"..:audio_codecs_api",
|
"..:audio_codecs_api",
|
||||||
"../../../api:field_trials_view",
|
"../../../api:field_trials_view",
|
||||||
"../../../modules/audio_coding:g722",
|
"../../../modules/audio_coding:g722",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../../rtc_base:safe_conversions",
|
"../../../rtc_base:safe_conversions",
|
||||||
"../../../rtc_base/system:rtc_export",
|
"../../../rtc_base/system:rtc_export",
|
||||||
]
|
]
|
||||||
|
|
|
@ -29,10 +29,6 @@ rtc_library("audio_encoder_ilbc") {
|
||||||
"..:audio_codecs_api",
|
"..:audio_codecs_api",
|
||||||
"../../../api:field_trials_view",
|
"../../../api:field_trials_view",
|
||||||
"../../../modules/audio_coding:ilbc",
|
"../../../modules/audio_coding:ilbc",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../../rtc_base:safe_conversions",
|
"../../../rtc_base:safe_conversions",
|
||||||
"../../../rtc_base:safe_minmax",
|
"../../../rtc_base:safe_minmax",
|
||||||
"../../../rtc_base:stringutils",
|
"../../../rtc_base:stringutils",
|
||||||
|
|
|
@ -67,10 +67,6 @@ rtc_library("audio_encoder_isac_fix") {
|
||||||
"..:audio_codecs_api",
|
"..:audio_codecs_api",
|
||||||
"../../../api:field_trials_view",
|
"../../../api:field_trials_view",
|
||||||
"../../../modules/audio_coding:isac_fix",
|
"../../../modules/audio_coding:isac_fix",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../../rtc_base:stringutils",
|
"../../../rtc_base:stringutils",
|
||||||
"../../../rtc_base/system:rtc_export",
|
"../../../rtc_base/system:rtc_export",
|
||||||
]
|
]
|
||||||
|
@ -110,10 +106,6 @@ rtc_library("audio_encoder_isac_float") {
|
||||||
"..:audio_codecs_api",
|
"..:audio_codecs_api",
|
||||||
"../../../api:field_trials_view",
|
"../../../api:field_trials_view",
|
||||||
"../../../modules/audio_coding:isac",
|
"../../../modules/audio_coding:isac",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../../rtc_base:stringutils",
|
"../../../rtc_base:stringutils",
|
||||||
"../../../rtc_base/system:rtc_export",
|
"../../../rtc_base/system:rtc_export",
|
||||||
]
|
]
|
||||||
|
|
|
@ -52,12 +52,6 @@ void AudioOptions::SetAll(const AudioOptions& change) {
|
||||||
change.audio_jitter_buffer_fast_accelerate);
|
change.audio_jitter_buffer_fast_accelerate);
|
||||||
SetFrom(&audio_jitter_buffer_min_delay_ms,
|
SetFrom(&audio_jitter_buffer_min_delay_ms,
|
||||||
change.audio_jitter_buffer_min_delay_ms);
|
change.audio_jitter_buffer_min_delay_ms);
|
||||||
<<<<<<< HEAD
|
|
||||||
SetFrom(&audio_jitter_buffer_enable_rtx_handling,
|
|
||||||
change.audio_jitter_buffer_enable_rtx_handling);
|
|
||||||
SetFrom(&residual_echo_detector, change.residual_echo_detector);
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
SetFrom(&combined_audio_video_bwe, change.combined_audio_video_bwe);
|
SetFrom(&combined_audio_video_bwe, change.combined_audio_video_bwe);
|
||||||
SetFrom(&audio_network_adaptor, change.audio_network_adaptor);
|
SetFrom(&audio_network_adaptor, change.audio_network_adaptor);
|
||||||
SetFrom(&audio_network_adaptor_config, change.audio_network_adaptor_config);
|
SetFrom(&audio_network_adaptor_config, change.audio_network_adaptor_config);
|
||||||
|
@ -78,12 +72,6 @@ bool AudioOptions::operator==(const AudioOptions& o) const {
|
||||||
o.audio_jitter_buffer_fast_accelerate &&
|
o.audio_jitter_buffer_fast_accelerate &&
|
||||||
audio_jitter_buffer_min_delay_ms ==
|
audio_jitter_buffer_min_delay_ms ==
|
||||||
o.audio_jitter_buffer_min_delay_ms &&
|
o.audio_jitter_buffer_min_delay_ms &&
|
||||||
<<<<<<< HEAD
|
|
||||||
audio_jitter_buffer_enable_rtx_handling ==
|
|
||||||
o.audio_jitter_buffer_enable_rtx_handling &&
|
|
||||||
residual_echo_detector == o.residual_echo_detector &&
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
combined_audio_video_bwe == o.combined_audio_video_bwe &&
|
combined_audio_video_bwe == o.combined_audio_video_bwe &&
|
||||||
audio_network_adaptor == o.audio_network_adaptor &&
|
audio_network_adaptor == o.audio_network_adaptor &&
|
||||||
audio_network_adaptor_config == o.audio_network_adaptor_config &&
|
audio_network_adaptor_config == o.audio_network_adaptor_config &&
|
||||||
|
@ -109,12 +97,6 @@ std::string AudioOptions::ToString() const {
|
||||||
audio_jitter_buffer_fast_accelerate);
|
audio_jitter_buffer_fast_accelerate);
|
||||||
ToStringIfSet(&result, "audio_jitter_buffer_min_delay_ms",
|
ToStringIfSet(&result, "audio_jitter_buffer_min_delay_ms",
|
||||||
audio_jitter_buffer_min_delay_ms);
|
audio_jitter_buffer_min_delay_ms);
|
||||||
<<<<<<< HEAD
|
|
||||||
ToStringIfSet(&result, "audio_jitter_buffer_enable_rtx_handling",
|
|
||||||
audio_jitter_buffer_enable_rtx_handling);
|
|
||||||
ToStringIfSet(&result, "residual_echo_detector", residual_echo_detector);
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
ToStringIfSet(&result, "combined_audio_video_bwe", combined_audio_video_bwe);
|
ToStringIfSet(&result, "combined_audio_video_bwe", combined_audio_video_bwe);
|
||||||
ToStringIfSet(&result, "audio_network_adaptor", audio_network_adaptor);
|
ToStringIfSet(&result, "audio_network_adaptor", audio_network_adaptor);
|
||||||
ToStringIfSet(&result, "init_recording_on_send", init_recording_on_send);
|
ToStringIfSet(&result, "init_recording_on_send", init_recording_on_send);
|
||||||
|
|
|
@ -58,15 +58,6 @@ struct RTC_EXPORT AudioOptions {
|
||||||
absl::optional<bool> audio_jitter_buffer_fast_accelerate;
|
absl::optional<bool> audio_jitter_buffer_fast_accelerate;
|
||||||
// Audio receiver jitter buffer (NetEq) minimum target delay in milliseconds.
|
// Audio receiver jitter buffer (NetEq) minimum target delay in milliseconds.
|
||||||
absl::optional<int> audio_jitter_buffer_min_delay_ms;
|
absl::optional<int> audio_jitter_buffer_min_delay_ms;
|
||||||
<<<<<<< HEAD
|
|
||||||
// Audio receiver jitter buffer (NetEq) should handle retransmitted packets.
|
|
||||||
absl::optional<bool> audio_jitter_buffer_enable_rtx_handling;
|
|
||||||
// TODO(bugs.webrtc.org/11539): Deprecated, replaced by
|
|
||||||
// webrtc::CreateEchoDetector() and injection when creating the audio
|
|
||||||
// processing module.
|
|
||||||
absl::optional<bool> residual_echo_detector;
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
// Enable combined audio+bandwidth BWE.
|
// Enable combined audio+bandwidth BWE.
|
||||||
// TODO(pthatcher): This flag is set from the
|
// TODO(pthatcher): This flag is set from the
|
||||||
// "googCombinedAudioVideoBwe", but not used anywhere. So delete it,
|
// "googCombinedAudioVideoBwe", but not used anywhere. So delete it,
|
||||||
|
|
|
@ -63,12 +63,8 @@ std::atomic<bool> instance_created_{false};
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
FieldTrials::FieldTrials(const std::string& s)
|
FieldTrials::FieldTrials(const std::string& s)
|
||||||
<<<<<<< HEAD
|
|
||||||
: field_trial_string_(s),
|
|
||||||
=======
|
|
||||||
: uses_global_(true),
|
: uses_global_(true),
|
||||||
field_trial_string_(s),
|
field_trial_string_(s),
|
||||||
>>>>>>> m108
|
|
||||||
previous_field_trial_string_(webrtc::field_trial::GetFieldTrialString()),
|
previous_field_trial_string_(webrtc::field_trial::GetFieldTrialString()),
|
||||||
key_value_map_(InsertIntoMap(s)) {
|
key_value_map_(InsertIntoMap(s)) {
|
||||||
// TODO(bugs.webrtc.org/10335): Remove the global string!
|
// TODO(bugs.webrtc.org/10335): Remove the global string!
|
||||||
|
@ -77,12 +73,6 @@ FieldTrials::FieldTrials(const std::string& s)
|
||||||
<< "Only one instance may be instanciated at any given time!";
|
<< "Only one instance may be instanciated at any given time!";
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
FieldTrials::~FieldTrials() {
|
|
||||||
// TODO(bugs.webrtc.org/10335): Remove the global string!
|
|
||||||
field_trial::InitFieldTrialsFromString(previous_field_trial_string_);
|
|
||||||
RTC_CHECK(instance_created_.exchange(false));
|
|
||||||
=======
|
|
||||||
std::unique_ptr<FieldTrials> FieldTrials::CreateNoGlobal(const std::string& s) {
|
std::unique_ptr<FieldTrials> FieldTrials::CreateNoGlobal(const std::string& s) {
|
||||||
return std::unique_ptr<FieldTrials>(new FieldTrials(s, true));
|
return std::unique_ptr<FieldTrials>(new FieldTrials(s, true));
|
||||||
}
|
}
|
||||||
|
@ -98,7 +88,6 @@ FieldTrials::~FieldTrials() {
|
||||||
field_trial::InitFieldTrialsFromString(previous_field_trial_string_);
|
field_trial::InitFieldTrialsFromString(previous_field_trial_string_);
|
||||||
RTC_CHECK(instance_created_.exchange(false));
|
RTC_CHECK(instance_created_.exchange(false));
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string FieldTrials::Lookup(absl::string_view key) const {
|
std::string FieldTrials::Lookup(absl::string_view key) const {
|
||||||
|
@ -109,14 +98,10 @@ std::string FieldTrials::Lookup(absl::string_view key) const {
|
||||||
// Check the global string so that programs using
|
// Check the global string so that programs using
|
||||||
// a mix between FieldTrials and the global string continue to work
|
// a mix between FieldTrials and the global string continue to work
|
||||||
// TODO(bugs.webrtc.org/10335): Remove the global string!
|
// TODO(bugs.webrtc.org/10335): Remove the global string!
|
||||||
<<<<<<< HEAD
|
|
||||||
return field_trial::FindFullName(std::string(key));
|
|
||||||
=======
|
|
||||||
if (uses_global_) {
|
if (uses_global_) {
|
||||||
return field_trial::FindFullName(std::string(key));
|
return field_trial::FindFullName(std::string(key));
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
|
|
|
@ -11,10 +11,7 @@
|
||||||
#ifndef API_FIELD_TRIALS_H_
|
#ifndef API_FIELD_TRIALS_H_
|
||||||
#define API_FIELD_TRIALS_H_
|
#define API_FIELD_TRIALS_H_
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
>>>>>>> m108
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "absl/strings/string_view.h"
|
#include "absl/strings/string_view.h"
|
||||||
|
@ -36,20 +33,12 @@ namespace webrtc {
|
||||||
//
|
//
|
||||||
// NOTE: Creating multiple FieldTrials-object is currently prohibited
|
// NOTE: Creating multiple FieldTrials-object is currently prohibited
|
||||||
// until we remove the global string (TODO(bugs.webrtc.org/10335))
|
// until we remove the global string (TODO(bugs.webrtc.org/10335))
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
// (unless using CreateNoGlobal):
|
// (unless using CreateNoGlobal):
|
||||||
>>>>>>> m108
|
|
||||||
class FieldTrials : public FieldTrialsView {
|
class FieldTrials : public FieldTrialsView {
|
||||||
public:
|
public:
|
||||||
explicit FieldTrials(const std::string& s);
|
explicit FieldTrials(const std::string& s);
|
||||||
~FieldTrials();
|
~FieldTrials();
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
std::string Lookup(absl::string_view key) const override;
|
|
||||||
|
|
||||||
private:
|
|
||||||
=======
|
|
||||||
// Create a FieldTrials object that is not reading/writing from
|
// Create a FieldTrials object that is not reading/writing from
|
||||||
// global variable (i.e can not be used for all parts of webrtc).
|
// global variable (i.e can not be used for all parts of webrtc).
|
||||||
static std::unique_ptr<FieldTrials> CreateNoGlobal(const std::string& s);
|
static std::unique_ptr<FieldTrials> CreateNoGlobal(const std::string& s);
|
||||||
|
@ -59,7 +48,6 @@ class FieldTrials : public FieldTrialsView {
|
||||||
private:
|
private:
|
||||||
explicit FieldTrials(const std::string& s, bool);
|
explicit FieldTrials(const std::string& s, bool);
|
||||||
const bool uses_global_;
|
const bool uses_global_;
|
||||||
>>>>>>> m108
|
|
||||||
const std::string field_trial_string_;
|
const std::string field_trial_string_;
|
||||||
const char* const previous_field_trial_string_;
|
const char* const previous_field_trial_string_;
|
||||||
const flat_map<std::string, std::string> key_value_map_;
|
const flat_map<std::string, std::string> key_value_map_;
|
||||||
|
|
|
@ -10,16 +10,11 @@
|
||||||
|
|
||||||
#include "api/field_trials.h"
|
#include "api/field_trials.h"
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "api/transport/field_trial_based_config.h"
|
|
||||||
#include "system_wrappers/include/field_trial.h"
|
|
||||||
=======
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "api/transport/field_trial_based_config.h"
|
#include "api/transport/field_trial_based_config.h"
|
||||||
#include "system_wrappers/include/field_trial.h"
|
#include "system_wrappers/include/field_trial.h"
|
||||||
#include "test/gmock.h"
|
#include "test/gmock.h"
|
||||||
>>>>>>> m108
|
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
||||||
#if GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
#if GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
||||||
|
@ -27,10 +22,6 @@
|
||||||
#endif // GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
#endif // GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
TEST(FieldTrials, EmptyString) {
|
|
||||||
=======
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
using ::testing::NotNull;
|
using ::testing::NotNull;
|
||||||
|
@ -45,29 +36,11 @@ class FieldTrialsTest : public testing::Test {
|
||||||
};
|
};
|
||||||
|
|
||||||
TEST_F(FieldTrialsTest, EmptyStringHasNoEffect) {
|
TEST_F(FieldTrialsTest, EmptyStringHasNoEffect) {
|
||||||
>>>>>>> m108
|
|
||||||
FieldTrials f("");
|
FieldTrials f("");
|
||||||
EXPECT_FALSE(f.IsEnabled("MyCoolTrial"));
|
EXPECT_FALSE(f.IsEnabled("MyCoolTrial"));
|
||||||
EXPECT_FALSE(f.IsDisabled("MyCoolTrial"));
|
EXPECT_FALSE(f.IsDisabled("MyCoolTrial"));
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
TEST(FieldTrials, EnableDisable) {
|
|
||||||
FieldTrials f("MyCoolTrial/Enabled/MyUncoolTrial/Disabled/");
|
|
||||||
EXPECT_TRUE(f.IsEnabled("MyCoolTrial"));
|
|
||||||
EXPECT_TRUE(f.IsDisabled("MyUncoolTrial"));
|
|
||||||
}
|
|
||||||
|
|
||||||
TEST(FieldTrials, SetGlobalStringAndReadFromFieldTrial) {
|
|
||||||
const char* s = "MyCoolTrial/Enabled/MyUncoolTrial/Disabled/";
|
|
||||||
webrtc::field_trial::InitFieldTrialsFromString(s);
|
|
||||||
FieldTrialBasedConfig f;
|
|
||||||
EXPECT_TRUE(f.IsEnabled("MyCoolTrial"));
|
|
||||||
EXPECT_TRUE(f.IsDisabled("MyUncoolTrial"));
|
|
||||||
}
|
|
||||||
|
|
||||||
TEST(FieldTrials, SetFieldTrialAndReadFromGlobalString) {
|
|
||||||
=======
|
|
||||||
TEST_F(FieldTrialsTest, EnabledDisabledMustBeFirstInValue) {
|
TEST_F(FieldTrialsTest, EnabledDisabledMustBeFirstInValue) {
|
||||||
FieldTrials f(
|
FieldTrials f(
|
||||||
"MyCoolTrial/EnabledFoo/"
|
"MyCoolTrial/EnabledFoo/"
|
||||||
|
@ -87,27 +60,11 @@ TEST_F(FieldTrialsTest, FieldTrialsDoesNotReadGlobalString) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(FieldTrialsTest, FieldTrialsWritesGlobalString) {
|
TEST_F(FieldTrialsTest, FieldTrialsWritesGlobalString) {
|
||||||
>>>>>>> m108
|
|
||||||
FieldTrials f("MyCoolTrial/Enabled/MyUncoolTrial/Disabled/");
|
FieldTrials f("MyCoolTrial/Enabled/MyUncoolTrial/Disabled/");
|
||||||
EXPECT_TRUE(webrtc::field_trial::IsEnabled("MyCoolTrial"));
|
EXPECT_TRUE(webrtc::field_trial::IsEnabled("MyCoolTrial"));
|
||||||
EXPECT_TRUE(webrtc::field_trial::IsDisabled("MyUncoolTrial"));
|
EXPECT_TRUE(webrtc::field_trial::IsDisabled("MyUncoolTrial"));
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
TEST(FieldTrials, RestoresGlobalString) {
|
|
||||||
const char* s = "SomeString/Enabled/";
|
|
||||||
webrtc::field_trial::InitFieldTrialsFromString(s);
|
|
||||||
{
|
|
||||||
FieldTrials f("SomeOtherString/Enabled/");
|
|
||||||
EXPECT_EQ(std::string("SomeOtherString/Enabled/"),
|
|
||||||
webrtc::field_trial::GetFieldTrialString());
|
|
||||||
}
|
|
||||||
EXPECT_EQ(s, webrtc::field_trial::GetFieldTrialString());
|
|
||||||
}
|
|
||||||
|
|
||||||
#if GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
|
||||||
TEST(FieldTrials, OnlyOneInstance) {
|
|
||||||
=======
|
|
||||||
TEST_F(FieldTrialsTest, FieldTrialsRestoresGlobalStringAfterDestruction) {
|
TEST_F(FieldTrialsTest, FieldTrialsRestoresGlobalStringAfterDestruction) {
|
||||||
static constexpr char s[] = "SomeString/Enabled/";
|
static constexpr char s[] = "SomeString/Enabled/";
|
||||||
InitFieldTrialsFromString(s);
|
InitFieldTrialsFromString(s);
|
||||||
|
@ -121,24 +78,17 @@ TEST_F(FieldTrialsTest, FieldTrialsRestoresGlobalStringAfterDestruction) {
|
||||||
|
|
||||||
#if GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
#if GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
||||||
TEST_F(FieldTrialsTest, FieldTrialsDoesNotSupportSimultaneousInstances) {
|
TEST_F(FieldTrialsTest, FieldTrialsDoesNotSupportSimultaneousInstances) {
|
||||||
>>>>>>> m108
|
|
||||||
FieldTrials f("SomeString/Enabled/");
|
FieldTrials f("SomeString/Enabled/");
|
||||||
RTC_EXPECT_DEATH(FieldTrials("SomeOtherString/Enabled/").Lookup("Whatever"),
|
RTC_EXPECT_DEATH(FieldTrials("SomeOtherString/Enabled/").Lookup("Whatever"),
|
||||||
"Only one instance");
|
"Only one instance");
|
||||||
}
|
}
|
||||||
#endif // GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
#endif // GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
TEST(FieldTrials, SequentialInstances) {
|
|
||||||
=======
|
|
||||||
TEST_F(FieldTrialsTest, FieldTrialsSupportsSeparateInstances) {
|
TEST_F(FieldTrialsTest, FieldTrialsSupportsSeparateInstances) {
|
||||||
>>>>>>> m108
|
|
||||||
{ FieldTrials f("SomeString/Enabled/"); }
|
{ FieldTrials f("SomeString/Enabled/"); }
|
||||||
{ FieldTrials f("SomeOtherString/Enabled/"); }
|
{ FieldTrials f("SomeOtherString/Enabled/"); }
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
TEST_F(FieldTrialsTest, NonGlobalFieldTrialsInstanceDoesNotModifyGlobalString) {
|
TEST_F(FieldTrialsTest, NonGlobalFieldTrialsInstanceDoesNotModifyGlobalString) {
|
||||||
std::unique_ptr<FieldTrials> f =
|
std::unique_ptr<FieldTrials> f =
|
||||||
FieldTrials::CreateNoGlobal("SomeString/Enabled/");
|
FieldTrials::CreateNoGlobal("SomeString/Enabled/");
|
||||||
|
@ -184,5 +134,4 @@ TEST_F(FieldTrialsTest, FieldTrialBasedConfigReadsGlobalString) {
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
>>>>>>> m108
|
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
|
|
|
@ -24,10 +24,7 @@ namespace cricket {
|
||||||
class IceTransportInternal;
|
class IceTransportInternal;
|
||||||
class PortAllocator;
|
class PortAllocator;
|
||||||
class IceControllerFactoryInterface;
|
class IceControllerFactoryInterface;
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
class ActiveIceControllerFactoryInterface;
|
class ActiveIceControllerFactoryInterface;
|
||||||
>>>>>>> m108
|
|
||||||
} // namespace cricket
|
} // namespace cricket
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
@ -88,8 +85,6 @@ struct IceTransportInit final {
|
||||||
return ice_controller_factory_;
|
return ice_controller_factory_;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
// An active ICE controller actively manages the connection used by an ICE
|
// An active ICE controller actively manages the connection used by an ICE
|
||||||
// transport, in contrast with a legacy ICE controller that only picks the
|
// transport, in contrast with a legacy ICE controller that only picks the
|
||||||
// best connection to use or ping, and lets the transport decide when and
|
// best connection to use or ping, and lets the transport decide when and
|
||||||
|
@ -118,7 +113,6 @@ struct IceTransportInit final {
|
||||||
return active_ice_controller_factory_;
|
return active_ice_controller_factory_;
|
||||||
}
|
}
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
const FieldTrialsView* field_trials() { return field_trials_; }
|
const FieldTrialsView* field_trials() { return field_trials_; }
|
||||||
void set_field_trials(const FieldTrialsView* field_trials) {
|
void set_field_trials(const FieldTrialsView* field_trials) {
|
||||||
field_trials_ = field_trials;
|
field_trials_ = field_trials;
|
||||||
|
@ -131,11 +125,8 @@ struct IceTransportInit final {
|
||||||
AsyncResolverFactory* async_resolver_factory_ = nullptr;
|
AsyncResolverFactory* async_resolver_factory_ = nullptr;
|
||||||
RtcEventLog* event_log_ = nullptr;
|
RtcEventLog* event_log_ = nullptr;
|
||||||
cricket::IceControllerFactoryInterface* ice_controller_factory_ = nullptr;
|
cricket::IceControllerFactoryInterface* ice_controller_factory_ = nullptr;
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
cricket::ActiveIceControllerFactoryInterface* active_ice_controller_factory_ =
|
cricket::ActiveIceControllerFactoryInterface* active_ice_controller_factory_ =
|
||||||
nullptr;
|
nullptr;
|
||||||
>>>>>>> m108
|
|
||||||
const FieldTrialsView* field_trials_ = nullptr;
|
const FieldTrialsView* field_trials_ = nullptr;
|
||||||
// TODO(https://crbug.com/webrtc/12657): Redesign to have const members.
|
// TODO(https://crbug.com/webrtc/12657): Redesign to have const members.
|
||||||
};
|
};
|
||||||
|
|
|
@ -334,13 +334,6 @@ class MediaStreamInterface : public rtc::RefCountInterface,
|
||||||
const std::string& track_id) = 0;
|
const std::string& track_id) = 0;
|
||||||
|
|
||||||
// Takes ownership of added tracks.
|
// Takes ownership of added tracks.
|
||||||
<<<<<<< HEAD
|
|
||||||
// TODO(hta): Should take scoped_refptr rather than raw pointer.
|
|
||||||
virtual bool AddTrack(AudioTrackInterface* track) = 0;
|
|
||||||
virtual bool AddTrack(VideoTrackInterface* track) = 0;
|
|
||||||
virtual bool RemoveTrack(AudioTrackInterface* track) = 0;
|
|
||||||
virtual bool RemoveTrack(VideoTrackInterface* track) = 0;
|
|
||||||
=======
|
|
||||||
// Note: Default implementations are for avoiding link time errors in
|
// Note: Default implementations are for avoiding link time errors in
|
||||||
// implementations that mock this API.
|
// implementations that mock this API.
|
||||||
// TODO(bugs.webrtc.org/13980): Remove default implementations.
|
// TODO(bugs.webrtc.org/13980): Remove default implementations.
|
||||||
|
@ -373,7 +366,6 @@ class MediaStreamInterface : public rtc::RefCountInterface,
|
||||||
VideoTrackInterface* track) {
|
VideoTrackInterface* track) {
|
||||||
return RemoveTrack(rtc::scoped_refptr<VideoTrackInterface>(track));
|
return RemoveTrack(rtc::scoped_refptr<VideoTrackInterface>(track));
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
~MediaStreamInterface() override = default;
|
~MediaStreamInterface() override = default;
|
||||||
|
|
|
@ -16,8 +16,6 @@ rtc_source_set("metronome") {
|
||||||
"../task_queue",
|
"../task_queue",
|
||||||
"../units:time_delta",
|
"../units:time_delta",
|
||||||
]
|
]
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
deps = [
|
deps = [
|
||||||
"../../api/units:timestamp",
|
"../../api/units:timestamp",
|
||||||
"../../modules:module_api_public",
|
"../../modules:module_api_public",
|
||||||
|
@ -39,5 +37,4 @@ if (rtc_include_tests) {
|
||||||
]
|
]
|
||||||
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,10 +23,6 @@ rtc_library("fake_metronome") {
|
||||||
"../../../rtc_base:rtc_task_queue",
|
"../../../rtc_base:rtc_task_queue",
|
||||||
"../../../rtc_base/synchronization:mutex",
|
"../../../rtc_base/synchronization:mutex",
|
||||||
"../../../rtc_base/task_utils:repeating_task",
|
"../../../rtc_base/task_utils:repeating_task",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../rtc_base/task_utils:to_queued_task",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../task_queue",
|
"../../task_queue",
|
||||||
"../../units:time_delta",
|
"../../units:time_delta",
|
||||||
]
|
]
|
||||||
|
|
|
@ -16,10 +16,6 @@
|
||||||
#include "api/units/time_delta.h"
|
#include "api/units/time_delta.h"
|
||||||
#include "rtc_base/event.h"
|
#include "rtc_base/event.h"
|
||||||
#include "rtc_base/task_utils/repeating_task.h"
|
#include "rtc_base/task_utils/repeating_task.h"
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "rtc_base/task_utils/to_queued_task.h"
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
namespace webrtc::test {
|
namespace webrtc::test {
|
||||||
|
|
||||||
|
@ -44,12 +40,7 @@ size_t ForcedTickMetronome::NumListeners() {
|
||||||
|
|
||||||
void ForcedTickMetronome::Tick() {
|
void ForcedTickMetronome::Tick() {
|
||||||
for (auto* listener : listeners_) {
|
for (auto* listener : listeners_) {
|
||||||
<<<<<<< HEAD
|
|
||||||
listener->OnTickTaskQueue()->PostTask(
|
|
||||||
ToQueuedTask([listener] { listener->OnTick(); }));
|
|
||||||
=======
|
|
||||||
listener->OnTickTaskQueue()->PostTask([listener] { listener->OnTick(); });
|
listener->OnTickTaskQueue()->PostTask([listener] { listener->OnTick(); });
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,11 +64,7 @@ void FakeMetronome::AddListener(TickListener* listener) {
|
||||||
return TimeDelta::PlusInfinity();
|
return TimeDelta::PlusInfinity();
|
||||||
for (auto* listener : listeners_) {
|
for (auto* listener : listeners_) {
|
||||||
listener->OnTickTaskQueue()->PostTask(
|
listener->OnTickTaskQueue()->PostTask(
|
||||||
<<<<<<< HEAD
|
|
||||||
ToQueuedTask([listener] { listener->OnTick(); }));
|
|
||||||
=======
|
|
||||||
[listener] { listener->OnTick(); });
|
[listener] { listener->OnTick(); });
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
return tick_period_;
|
return tick_period_;
|
||||||
});
|
});
|
||||||
|
|
|
@ -20,10 +20,6 @@ rtc_source_set("neteq_api") {
|
||||||
"..:rtp_headers",
|
"..:rtp_headers",
|
||||||
"..:rtp_packet_info",
|
"..:rtp_packet_info",
|
||||||
"..:scoped_refptr",
|
"..:scoped_refptr",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:stringutils",
|
"../../rtc_base:stringutils",
|
||||||
"../../system_wrappers:system_wrappers",
|
"../../system_wrappers:system_wrappers",
|
||||||
"../audio_codecs:audio_codecs_api",
|
"../audio_codecs:audio_codecs_api",
|
||||||
|
|
|
@ -61,15 +61,6 @@ class RTC_LOCKABLE RTC_EXPORT TaskQueueBase {
|
||||||
// Prefer PostDelayedTask() over PostDelayedHighPrecisionTask() whenever
|
// Prefer PostDelayedTask() over PostDelayedHighPrecisionTask() whenever
|
||||||
// possible.
|
// possible.
|
||||||
//
|
//
|
||||||
<<<<<<< HEAD
|
|
||||||
// Schedules a task to execute a specified number of milliseconds from when
|
|
||||||
// the call is made, using "low" precision. All scheduling is affected by
|
|
||||||
// OS-specific leeway and current workloads which means that in terms of
|
|
||||||
// precision there are no hard guarantees, but in addition to the OS induced
|
|
||||||
// leeway, "low" precision adds up to a 17 ms additional leeway. The purpose
|
|
||||||
// of this leeway is to achieve more efficient CPU scheduling and reduce Idle
|
|
||||||
// Wake Up frequency.
|
|
||||||
=======
|
|
||||||
// Schedules a `task` to execute a specified `delay` from when the call is
|
// Schedules a `task` to execute a specified `delay` from when the call is
|
||||||
// made, using "low" precision. All scheduling is affected by OS-specific
|
// made, using "low" precision. All scheduling is affected by OS-specific
|
||||||
// leeway and current workloads which means that in terms of precision there
|
// leeway and current workloads which means that in terms of precision there
|
||||||
|
@ -77,7 +68,6 @@ class RTC_LOCKABLE RTC_EXPORT TaskQueueBase {
|
||||||
// precision adds up to a 17 ms additional leeway. The purpose of this leeway
|
// precision adds up to a 17 ms additional leeway. The purpose of this leeway
|
||||||
// is to achieve more efficient CPU scheduling and reduce Idle Wake Up
|
// is to achieve more efficient CPU scheduling and reduce Idle Wake Up
|
||||||
// frequency.
|
// frequency.
|
||||||
>>>>>>> m108
|
|
||||||
//
|
//
|
||||||
// The task may execute with [-1, 17 + OS induced leeway) ms additional delay.
|
// The task may execute with [-1, 17 + OS induced leeway) ms additional delay.
|
||||||
//
|
//
|
||||||
|
|
|
@ -13,13 +13,8 @@ rtc_library("mock_task_queue_base") {
|
||||||
sources = [ "mock_task_queue_base.h" ]
|
sources = [ "mock_task_queue_base.h" ]
|
||||||
deps = [
|
deps = [
|
||||||
"../../../api/task_queue:task_queue",
|
"../../../api/task_queue:task_queue",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../../test:test_support",
|
|
||||||
]
|
|
||||||
=======
|
|
||||||
"../../../api/units:time_delta",
|
"../../../api/units:time_delta",
|
||||||
"../../../test:test_support",
|
"../../../test:test_support",
|
||||||
]
|
]
|
||||||
absl_deps = [ "//third_party/abseil-cpp/absl/functional:any_invocable" ]
|
absl_deps = [ "//third_party/abseil-cpp/absl/functional:any_invocable" ]
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,28 +11,15 @@
|
||||||
#ifndef API_TASK_QUEUE_TEST_MOCK_TASK_QUEUE_BASE_H_
|
#ifndef API_TASK_QUEUE_TEST_MOCK_TASK_QUEUE_BASE_H_
|
||||||
#define API_TASK_QUEUE_TEST_MOCK_TASK_QUEUE_BASE_H_
|
#define API_TASK_QUEUE_TEST_MOCK_TASK_QUEUE_BASE_H_
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
#include "api/task_queue/task_queue_base.h"
|
|
||||||
=======
|
|
||||||
#include "absl/functional/any_invocable.h"
|
#include "absl/functional/any_invocable.h"
|
||||||
#include "api/task_queue/task_queue_base.h"
|
#include "api/task_queue/task_queue_base.h"
|
||||||
#include "api/units/time_delta.h"
|
#include "api/units/time_delta.h"
|
||||||
>>>>>>> m108
|
|
||||||
#include "test/gmock.h"
|
#include "test/gmock.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
class MockTaskQueueBase : public TaskQueueBase {
|
class MockTaskQueueBase : public TaskQueueBase {
|
||||||
public:
|
public:
|
||||||
<<<<<<< HEAD
|
|
||||||
MOCK_METHOD0(Delete, void());
|
|
||||||
MOCK_METHOD1(PostTask, void(std::unique_ptr<QueuedTask>));
|
|
||||||
MOCK_METHOD2(PostDelayedTask, void(std::unique_ptr<QueuedTask>, uint32_t));
|
|
||||||
MOCK_METHOD2(PostDelayedHighPrecisionTask,
|
|
||||||
void(std::unique_ptr<QueuedTask>, uint32_t));
|
|
||||||
=======
|
|
||||||
MOCK_METHOD(void, Delete, (), (override));
|
MOCK_METHOD(void, Delete, (), (override));
|
||||||
MOCK_METHOD(void, PostTask, (absl::AnyInvocable<void() &&>), (override));
|
MOCK_METHOD(void, PostTask, (absl::AnyInvocable<void() &&>), (override));
|
||||||
MOCK_METHOD(void,
|
MOCK_METHOD(void,
|
||||||
|
@ -43,7 +30,6 @@ class MockTaskQueueBase : public TaskQueueBase {
|
||||||
PostDelayedHighPrecisionTask,
|
PostDelayedHighPrecisionTask,
|
||||||
(absl::AnyInvocable<void() &&>, TimeDelta),
|
(absl::AnyInvocable<void() &&>, TimeDelta),
|
||||||
(override));
|
(override));
|
||||||
>>>>>>> m108
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
|
|
|
@ -34,13 +34,10 @@ class MockAsyncDnsResolver : public AsyncDnsResolverInterface {
|
||||||
Start,
|
Start,
|
||||||
(const rtc::SocketAddress&, std::function<void()>),
|
(const rtc::SocketAddress&, std::function<void()>),
|
||||||
(override));
|
(override));
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
MOCK_METHOD(void,
|
MOCK_METHOD(void,
|
||||||
Start,
|
Start,
|
||||||
(const rtc::SocketAddress&, int family, std::function<void()>),
|
(const rtc::SocketAddress&, int family, std::function<void()>),
|
||||||
(override));
|
(override));
|
||||||
>>>>>>> m108
|
|
||||||
MOCK_METHOD(AsyncDnsResolverResult&, result, (), (const, override));
|
MOCK_METHOD(AsyncDnsResolverResult&, result, (), (const, override));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -31,21 +31,15 @@ class MockRtpSender : public RtpSenderInterface {
|
||||||
track,
|
track,
|
||||||
(),
|
(),
|
||||||
(const, override));
|
(const, override));
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
MOCK_METHOD(rtc::scoped_refptr<DtlsTransportInterface>,
|
MOCK_METHOD(rtc::scoped_refptr<DtlsTransportInterface>,
|
||||||
dtls_transport,
|
dtls_transport,
|
||||||
(),
|
(),
|
||||||
(const override));
|
(const override));
|
||||||
>>>>>>> m108
|
|
||||||
MOCK_METHOD(uint32_t, ssrc, (), (const, override));
|
MOCK_METHOD(uint32_t, ssrc, (), (const, override));
|
||||||
MOCK_METHOD(cricket::MediaType, media_type, (), (const, override));
|
MOCK_METHOD(cricket::MediaType, media_type, (), (const, override));
|
||||||
MOCK_METHOD(std::string, id, (), (const, override));
|
MOCK_METHOD(std::string, id, (), (const, override));
|
||||||
MOCK_METHOD(std::vector<std::string>, stream_ids, (), (const, override));
|
MOCK_METHOD(std::vector<std::string>, stream_ids, (), (const, override));
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
MOCK_METHOD(void, SetStreams, (const std::vector<std::string>&), (override));
|
MOCK_METHOD(void, SetStreams, (const std::vector<std::string>&), (override));
|
||||||
>>>>>>> m108
|
|
||||||
MOCK_METHOD(std::vector<RtpEncodingParameters>,
|
MOCK_METHOD(std::vector<RtpEncodingParameters>,
|
||||||
init_send_encodings,
|
init_send_encodings,
|
||||||
(),
|
(),
|
||||||
|
@ -56,8 +50,6 @@ class MockRtpSender : public RtpSenderInterface {
|
||||||
GetDtmfSender,
|
GetDtmfSender,
|
||||||
(),
|
(),
|
||||||
(const, override));
|
(const, override));
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
MOCK_METHOD(void,
|
MOCK_METHOD(void,
|
||||||
SetFrameEncryptor,
|
SetFrameEncryptor,
|
||||||
(rtc::scoped_refptr<FrameEncryptorInterface>),
|
(rtc::scoped_refptr<FrameEncryptorInterface>),
|
||||||
|
@ -74,7 +66,6 @@ class MockRtpSender : public RtpSenderInterface {
|
||||||
SetEncoderSelector,
|
SetEncoderSelector,
|
||||||
(std::unique_ptr<VideoEncoderFactory::EncoderSelectorInterface>),
|
(std::unique_ptr<VideoEncoderFactory::EncoderSelectorInterface>),
|
||||||
(override));
|
(override));
|
||||||
>>>>>>> m108
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(!std::is_abstract_v<rtc::RefCountedObject<MockRtpSender>>, "");
|
static_assert(!std::is_abstract_v<rtc::RefCountedObject<MockRtpSender>>, "");
|
||||||
|
|
|
@ -556,13 +556,10 @@ class PeerConnectionE2EQualityTestFixture {
|
||||||
rtc::scoped_refptr<webrtc::AudioProcessing> audio_processing) = 0;
|
rtc::scoped_refptr<webrtc::AudioProcessing> audio_processing) = 0;
|
||||||
virtual PeerConfigurer* SetAudioMixer(
|
virtual PeerConfigurer* SetAudioMixer(
|
||||||
rtc::scoped_refptr<webrtc::AudioMixer> audio_mixer) = 0;
|
rtc::scoped_refptr<webrtc::AudioMixer> audio_mixer) = 0;
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
|
|
||||||
// Forces the Peerconnection to use the network thread as the worker thread.
|
// Forces the Peerconnection to use the network thread as the worker thread.
|
||||||
// Ie, worker thread and the network thread is the same thread.
|
// Ie, worker thread and the network thread is the same thread.
|
||||||
virtual PeerConfigurer* SetUseNetworkThreadAsWorkerThread() = 0;
|
virtual PeerConfigurer* SetUseNetworkThreadAsWorkerThread() = 0;
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
// The parameters of the following 4 methods will be passed to the
|
// The parameters of the following 4 methods will be passed to the
|
||||||
// PeerConnectionInterface implementation that will be created for this
|
// PeerConnectionInterface implementation that will be created for this
|
||||||
|
|
|
@ -142,14 +142,9 @@ if (rtc_include_tests) {
|
||||||
deps = [
|
deps = [
|
||||||
":stun_types",
|
":stun_types",
|
||||||
"../../rtc_base",
|
"../../rtc_base",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:macromagic",
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
"../../rtc_base:byte_buffer",
|
"../../rtc_base:byte_buffer",
|
||||||
"../../rtc_base:byte_order",
|
"../../rtc_base:byte_order",
|
||||||
"../../rtc_base:macromagic",
|
"../../rtc_base:macromagic",
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:socket_address",
|
"../../rtc_base:socket_address",
|
||||||
"../../system_wrappers:metrics",
|
"../../system_wrappers:metrics",
|
||||||
"../../test:test_support",
|
"../../test:test_support",
|
||||||
|
|
|
@ -1074,11 +1074,7 @@ TEST_F(StunTest, ReadMessageWithAnUnknownAttribute) {
|
||||||
const StunByteStringAttribute* username =
|
const StunByteStringAttribute* username =
|
||||||
msg.GetByteString(STUN_ATTR_USERNAME);
|
msg.GetByteString(STUN_ATTR_USERNAME);
|
||||||
ASSERT_TRUE(username != NULL);
|
ASSERT_TRUE(username != NULL);
|
||||||
<<<<<<< HEAD
|
|
||||||
EXPECT_EQ(kTestUserName2, username->GetString());
|
|
||||||
=======
|
|
||||||
EXPECT_EQ(kTestUserName2, username->string_view());
|
EXPECT_EQ(kTestUserName2, username->string_view());
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(StunTest, WriteMessageWithAnErrorCodeAttribute) {
|
TEST_F(StunTest, WriteMessageWithAnErrorCodeAttribute) {
|
||||||
|
|
|
@ -29,10 +29,6 @@ rtc_library("video_rtp_headers") {
|
||||||
deps = [
|
deps = [
|
||||||
"..:array_view",
|
"..:array_view",
|
||||||
"../../rtc_base:logging",
|
"../../rtc_base:logging",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:safe_conversions",
|
"../../rtc_base:safe_conversions",
|
||||||
"../../rtc_base:stringutils",
|
"../../rtc_base:stringutils",
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
|
@ -75,10 +71,6 @@ rtc_library("video_frame") {
|
||||||
"..:video_track_source_constraints",
|
"..:video_track_source_constraints",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:refcount",
|
"../../rtc_base:refcount",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:timeutils",
|
"../../rtc_base:timeutils",
|
||||||
"../../rtc_base/memory:aligned_malloc",
|
"../../rtc_base/memory:aligned_malloc",
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
|
@ -160,10 +152,6 @@ rtc_library("encoded_image") {
|
||||||
"..:scoped_refptr",
|
"..:scoped_refptr",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:refcount",
|
"../../rtc_base:refcount",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
]
|
]
|
||||||
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
||||||
|
@ -294,10 +282,6 @@ rtc_library("video_stream_decoder_create") {
|
||||||
deps = [
|
deps = [
|
||||||
":video_stream_decoder",
|
":video_stream_decoder",
|
||||||
"../../api:field_trials_view",
|
"../../api:field_trials_view",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../video:video_stream_decoder_impl",
|
"../../video:video_stream_decoder_impl",
|
||||||
"../task_queue",
|
"../task_queue",
|
||||||
"../video_codecs:video_codecs_api",
|
"../video_codecs:video_codecs_api",
|
||||||
|
|
|
@ -14,15 +14,9 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "api/video/i420_buffer.h"
|
|
||||||
#include "rtc_base/checks.h"
|
|
||||||
#include "rtc_base/ref_counted_object.h"
|
|
||||||
=======
|
|
||||||
#include "api/make_ref_counted.h"
|
#include "api/make_ref_counted.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
>>>>>>> m108
|
|
||||||
#include "third_party/libyuv/include/libyuv/convert.h"
|
#include "third_party/libyuv/include/libyuv/convert.h"
|
||||||
#include "third_party/libyuv/include/libyuv/planar_functions.h"
|
#include "third_party/libyuv/include/libyuv/planar_functions.h"
|
||||||
#include "third_party/libyuv/include/libyuv/scale.h"
|
#include "third_party/libyuv/include/libyuv/scale.h"
|
||||||
|
@ -37,132 +31,6 @@ namespace {
|
||||||
int I422DataSize(int height, int stride_y, int stride_u, int stride_v) {
|
int I422DataSize(int height, int stride_y, int stride_u, int stride_v) {
|
||||||
return stride_y * height + stride_u * height + stride_v * height;
|
return stride_y * height + stride_u * height + stride_v * height;
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
// TODO(sergio.garcia.murillo@gmail.com): Remove as soon it is available in
|
|
||||||
// libyuv. Due to the rotate&scale required, this function may not be merged in
|
|
||||||
// to libyuv inmediatelly.
|
|
||||||
// https://bugs.chromium.org/p/libyuv/issues/detail?id=926
|
|
||||||
int webrtcI422Rotate(const uint8_t* src_y,
|
|
||||||
int src_stride_y,
|
|
||||||
const uint8_t* src_u,
|
|
||||||
int src_stride_u,
|
|
||||||
const uint8_t* src_v,
|
|
||||||
int src_stride_v,
|
|
||||||
uint8_t* dst_y,
|
|
||||||
int dst_stride_y,
|
|
||||||
uint8_t* dst_u,
|
|
||||||
int dst_stride_u,
|
|
||||||
uint8_t* dst_v,
|
|
||||||
int dst_stride_v,
|
|
||||||
int width,
|
|
||||||
int height,
|
|
||||||
enum libyuv::RotationMode mode) {
|
|
||||||
int halfwidth = (width + 1) >> 1;
|
|
||||||
int halfheight = (height + 1) >> 1;
|
|
||||||
if (!src_y || !src_u || !src_v || width <= 0 || height == 0 || !dst_y ||
|
|
||||||
!dst_u || !dst_v) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
// Negative height means invert the image.
|
|
||||||
if (height < 0) {
|
|
||||||
height = -height;
|
|
||||||
src_y = src_y + (height - 1) * src_stride_y;
|
|
||||||
src_u = src_u + (height - 1) * src_stride_u;
|
|
||||||
src_v = src_v + (height - 1) * src_stride_v;
|
|
||||||
src_stride_y = -src_stride_y;
|
|
||||||
src_stride_u = -src_stride_u;
|
|
||||||
src_stride_v = -src_stride_v;
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (mode) {
|
|
||||||
case libyuv::kRotate0:
|
|
||||||
// copy frame
|
|
||||||
libyuv::CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width,
|
|
||||||
height);
|
|
||||||
libyuv::CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth,
|
|
||||||
height);
|
|
||||||
libyuv::CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth,
|
|
||||||
height);
|
|
||||||
return 0;
|
|
||||||
case libyuv::kRotate90:
|
|
||||||
// We need to rotate and rescale, we use plane Y as temporal storage.
|
|
||||||
libyuv::RotatePlane90(src_u, src_stride_u, dst_y, height, halfwidth,
|
|
||||||
height);
|
|
||||||
libyuv::ScalePlane(dst_y, height, height, halfwidth, dst_u, halfheight,
|
|
||||||
halfheight, width, libyuv::kFilterBilinear);
|
|
||||||
libyuv::RotatePlane90(src_v, src_stride_v, dst_y, height, halfwidth,
|
|
||||||
height);
|
|
||||||
libyuv::ScalePlane(dst_y, height, height, halfwidth, dst_v, halfheight,
|
|
||||||
halfheight, width, libyuv::kFilterLinear);
|
|
||||||
libyuv::RotatePlane90(src_y, src_stride_y, dst_y, dst_stride_y, width,
|
|
||||||
height);
|
|
||||||
return 0;
|
|
||||||
case libyuv::kRotate270:
|
|
||||||
// We need to rotate and rescale, we use plane Y as temporal storage.
|
|
||||||
libyuv::RotatePlane270(src_u, src_stride_u, dst_y, height, halfwidth,
|
|
||||||
height);
|
|
||||||
libyuv::ScalePlane(dst_y, height, height, halfwidth, dst_u, halfheight,
|
|
||||||
halfheight, width, libyuv::kFilterBilinear);
|
|
||||||
libyuv::RotatePlane270(src_v, src_stride_v, dst_y, height, halfwidth,
|
|
||||||
height);
|
|
||||||
libyuv::ScalePlane(dst_y, height, height, halfwidth, dst_v, halfheight,
|
|
||||||
halfheight, width, libyuv::kFilterLinear);
|
|
||||||
libyuv::RotatePlane270(src_y, src_stride_y, dst_y, dst_stride_y, width,
|
|
||||||
height);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
case libyuv::kRotate180:
|
|
||||||
libyuv::RotatePlane180(src_y, src_stride_y, dst_y, dst_stride_y, width,
|
|
||||||
height);
|
|
||||||
libyuv::RotatePlane180(src_u, src_stride_u, dst_u, dst_stride_u,
|
|
||||||
halfwidth, height);
|
|
||||||
libyuv::RotatePlane180(src_v, src_stride_v, dst_v, dst_stride_v,
|
|
||||||
halfwidth, height);
|
|
||||||
return 0;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO(sergio.garcia.murillo@gmail.com): Remove this function with libyuv one
|
|
||||||
// as soon as the dependency is updated.
|
|
||||||
int webrtcI422Scale(const uint8_t* src_y,
|
|
||||||
int src_stride_y,
|
|
||||||
const uint8_t* src_u,
|
|
||||||
int src_stride_u,
|
|
||||||
const uint8_t* src_v,
|
|
||||||
int src_stride_v,
|
|
||||||
int src_width,
|
|
||||||
int src_height,
|
|
||||||
uint8_t* dst_y,
|
|
||||||
int dst_stride_y,
|
|
||||||
uint8_t* dst_u,
|
|
||||||
int dst_stride_u,
|
|
||||||
uint8_t* dst_v,
|
|
||||||
int dst_stride_v,
|
|
||||||
int dst_width,
|
|
||||||
int dst_height,
|
|
||||||
enum libyuv::FilterMode filtering) {
|
|
||||||
if (!src_y || !src_u || !src_v || src_width <= 0 || src_height == 0 ||
|
|
||||||
src_width > 32768 || src_height > 32768 || !dst_y || !dst_u || !dst_v ||
|
|
||||||
dst_width <= 0 || dst_height <= 0) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
int src_halfwidth = (src_width + 1) >> 1;
|
|
||||||
int dst_halfwidth = (dst_width + 1) >> 1;
|
|
||||||
|
|
||||||
libyuv::ScalePlane(src_y, src_stride_y, src_width, src_height, dst_y,
|
|
||||||
dst_stride_y, dst_width, dst_height, filtering);
|
|
||||||
libyuv::ScalePlane(src_u, src_stride_u, src_halfwidth, src_height, dst_u,
|
|
||||||
dst_stride_u, dst_halfwidth, dst_height, filtering);
|
|
||||||
libyuv::ScalePlane(src_v, src_stride_v, src_halfwidth, src_height, dst_v,
|
|
||||||
dst_stride_v, dst_halfwidth, dst_height, filtering);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
I422Buffer::I422Buffer(int width, int height)
|
I422Buffer::I422Buffer(int width, int height)
|
||||||
|
@ -266,11 +134,7 @@ rtc::scoped_refptr<I422Buffer> I422Buffer::Rotate(
|
||||||
I422Buffer::Create(rotated_width, rotated_height);
|
I422Buffer::Create(rotated_width, rotated_height);
|
||||||
|
|
||||||
RTC_CHECK_EQ(0,
|
RTC_CHECK_EQ(0,
|
||||||
<<<<<<< HEAD
|
|
||||||
webrtcI422Rotate(
|
|
||||||
=======
|
|
||||||
libyuv::I422Rotate(
|
libyuv::I422Rotate(
|
||||||
>>>>>>> m108
|
|
||||||
src.DataY(), src.StrideY(), src.DataU(), src.StrideU(),
|
src.DataY(), src.StrideY(), src.DataU(), src.StrideU(),
|
||||||
src.DataV(), src.StrideV(), buffer->MutableDataY(),
|
src.DataV(), src.StrideV(), buffer->MutableDataY(),
|
||||||
buffer->StrideY(), buffer->MutableDataU(), buffer->StrideU(),
|
buffer->StrideY(), buffer->MutableDataU(), buffer->StrideU(),
|
||||||
|
@ -356,20 +220,12 @@ void I422Buffer::CropAndScaleFrom(const I422BufferInterface& src,
|
||||||
src.DataU() + src.StrideU() * uv_offset_y + uv_offset_x;
|
src.DataU() + src.StrideU() * uv_offset_y + uv_offset_x;
|
||||||
const uint8_t* v_plane =
|
const uint8_t* v_plane =
|
||||||
src.DataV() + src.StrideV() * uv_offset_y + uv_offset_x;
|
src.DataV() + src.StrideV() * uv_offset_y + uv_offset_x;
|
||||||
<<<<<<< HEAD
|
|
||||||
int res =
|
|
||||||
webrtcI422Scale(y_plane, src.StrideY(), u_plane, src.StrideU(), v_plane,
|
|
||||||
src.StrideV(), crop_width, crop_height, MutableDataY(),
|
|
||||||
StrideY(), MutableDataU(), StrideU(), MutableDataV(),
|
|
||||||
StrideV(), width(), height(), libyuv::kFilterBox);
|
|
||||||
=======
|
|
||||||
|
|
||||||
int res =
|
int res =
|
||||||
libyuv::I422Scale(y_plane, src.StrideY(), u_plane, src.StrideU(), v_plane,
|
libyuv::I422Scale(y_plane, src.StrideY(), u_plane, src.StrideU(), v_plane,
|
||||||
src.StrideV(), crop_width, crop_height, MutableDataY(),
|
src.StrideV(), crop_width, crop_height, MutableDataY(),
|
||||||
StrideY(), MutableDataU(), StrideU(), MutableDataV(),
|
StrideY(), MutableDataU(), StrideU(), MutableDataV(),
|
||||||
StrideV(), width(), height(), libyuv::kFilterBox);
|
StrideV(), width(), height(), libyuv::kFilterBox);
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
RTC_DCHECK_EQ(res, 0);
|
RTC_DCHECK_EQ(res, 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,13 +61,8 @@ class RTC_EXPORT I422Buffer : public I422BufferInterface {
|
||||||
// quirks in memory checkers
|
// quirks in memory checkers
|
||||||
// (https://bugs.chromium.org/p/libyuv/issues/detail?id=377) and
|
// (https://bugs.chromium.org/p/libyuv/issues/detail?id=377) and
|
||||||
// ffmpeg (http://crbug.com/390941).
|
// ffmpeg (http://crbug.com/390941).
|
||||||
<<<<<<< HEAD
|
|
||||||
// TODO(nisse): Deprecated. Should be deleted if/when those issues
|
|
||||||
// are resolved in a better way. Or in the mean time, use SetBlack.
|
|
||||||
=======
|
|
||||||
// TODO(https://crbug.com/390941): Deprecated. Should be deleted if/when those
|
// TODO(https://crbug.com/390941): Deprecated. Should be deleted if/when those
|
||||||
// issues are resolved in a better way. Or in the mean time, use SetBlack.
|
// issues are resolved in a better way. Or in the mean time, use SetBlack.
|
||||||
>>>>>>> m108
|
|
||||||
void InitializeData();
|
void InitializeData();
|
||||||
|
|
||||||
int width() const override;
|
int width() const override;
|
||||||
|
|
|
@ -14,15 +14,9 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "api/video/i420_buffer.h"
|
|
||||||
#include "rtc_base/checks.h"
|
|
||||||
#include "rtc_base/ref_counted_object.h"
|
|
||||||
=======
|
|
||||||
#include "api/make_ref_counted.h"
|
#include "api/make_ref_counted.h"
|
||||||
#include "api/video/i420_buffer.h"
|
#include "api/video/i420_buffer.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
>>>>>>> m108
|
|
||||||
#include "third_party/libyuv/include/libyuv/convert.h"
|
#include "third_party/libyuv/include/libyuv/convert.h"
|
||||||
#include "third_party/libyuv/include/libyuv/planar_functions.h"
|
#include "third_party/libyuv/include/libyuv/planar_functions.h"
|
||||||
#include "third_party/libyuv/include/libyuv/scale.h"
|
#include "third_party/libyuv/include/libyuv/scale.h"
|
||||||
|
|
|
@ -58,13 +58,8 @@ class RTC_EXPORT I444Buffer : public I444BufferInterface {
|
||||||
// quirks in memory checkers
|
// quirks in memory checkers
|
||||||
// (https://bugs.chromium.org/p/libyuv/issues/detail?id=377) and
|
// (https://bugs.chromium.org/p/libyuv/issues/detail?id=377) and
|
||||||
// ffmpeg (http://crbug.com/390941).
|
// ffmpeg (http://crbug.com/390941).
|
||||||
<<<<<<< HEAD
|
|
||||||
// TODO(nisse): Deprecated. Should be deleted if/when those issues
|
|
||||||
// are resolved in a better way. Or in the mean time, use SetBlack.
|
|
||||||
=======
|
|
||||||
// TODO(https://crbug.com/390941): Deprecated. Should be deleted if/when those
|
// TODO(https://crbug.com/390941): Deprecated. Should be deleted if/when those
|
||||||
// issues are resolved in a better way. Or in the mean time, use SetBlack.
|
// issues are resolved in a better way. Or in the mean time, use SetBlack.
|
||||||
>>>>>>> m108
|
|
||||||
void InitializeData();
|
void InitializeData();
|
||||||
|
|
||||||
int width() const override;
|
int width() const override;
|
||||||
|
|
|
@ -12,10 +12,7 @@ rtc_library("rtc_api_video_unittests") {
|
||||||
testonly = true
|
testonly = true
|
||||||
sources = [
|
sources = [
|
||||||
"color_space_unittest.cc",
|
"color_space_unittest.cc",
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
"i210_buffer_unittest.cc",
|
"i210_buffer_unittest.cc",
|
||||||
>>>>>>> m108
|
|
||||||
"i422_buffer_unittest.cc",
|
"i422_buffer_unittest.cc",
|
||||||
"i444_buffer_unittest.cc",
|
"i444_buffer_unittest.cc",
|
||||||
"nv12_buffer_unittest.cc",
|
"nv12_buffer_unittest.cc",
|
||||||
|
|
|
@ -77,10 +77,6 @@ rtc_library("video_codecs_api") {
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:macromagic",
|
"../../rtc_base:macromagic",
|
||||||
"../../rtc_base:refcount",
|
"../../rtc_base:refcount",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:stringutils",
|
"../../rtc_base:stringutils",
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
"../units:data_rate",
|
"../units:data_rate",
|
||||||
|
@ -154,16 +150,12 @@ rtc_source_set("video_encoder_factory_template") {
|
||||||
allow_poison = [ "software_video_codecs" ]
|
allow_poison = [ "software_video_codecs" ]
|
||||||
public = [ "video_encoder_factory_template.h" ]
|
public = [ "video_encoder_factory_template.h" ]
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
deps = [ ":video_codecs_api" ]
|
|
||||||
=======
|
|
||||||
deps = [
|
deps = [
|
||||||
":video_codecs_api",
|
":video_codecs_api",
|
||||||
"../../api:array_view",
|
"../../api:array_view",
|
||||||
"../../modules/video_coding/svc:scalability_mode_util",
|
"../../modules/video_coding/svc:scalability_mode_util",
|
||||||
]
|
]
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
absl_deps = [ "//third_party/abseil-cpp/absl/algorithm:container" ]
|
absl_deps = [ "//third_party/abseil-cpp/absl/algorithm:container" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,9 +164,6 @@ rtc_source_set("video_encoder_factory_template_libvpx_vp8_adapter") {
|
||||||
allow_poison = [ "software_video_codecs" ]
|
allow_poison = [ "software_video_codecs" ]
|
||||||
public = [ "video_encoder_factory_template_libvpx_vp8_adapter.h" ]
|
public = [ "video_encoder_factory_template_libvpx_vp8_adapter.h" ]
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
deps = [ "../../modules/video_coding:webrtc_vp8" ]
|
|
||||||
=======
|
|
||||||
deps = [
|
deps = [
|
||||||
":video_codecs_api",
|
":video_codecs_api",
|
||||||
"../../modules/video_coding:webrtc_vp8",
|
"../../modules/video_coding:webrtc_vp8",
|
||||||
|
@ -182,7 +171,6 @@ rtc_source_set("video_encoder_factory_template_libvpx_vp8_adapter") {
|
||||||
]
|
]
|
||||||
|
|
||||||
absl_deps = [ "//third_party/abseil-cpp/absl/container:inlined_vector" ]
|
absl_deps = [ "//third_party/abseil-cpp/absl/container:inlined_vector" ]
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rtc_source_set("video_encoder_factory_template_libvpx_vp9_adapter") {
|
rtc_source_set("video_encoder_factory_template_libvpx_vp9_adapter") {
|
||||||
|
@ -207,10 +195,6 @@ rtc_source_set("video_encoder_factory_template_libaom_av1_adapter") {
|
||||||
public = [ "video_encoder_factory_template_libaom_av1_adapter.h" ]
|
public = [ "video_encoder_factory_template_libaom_av1_adapter.h" ]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../modules/video_coding/codecs/av1:libaom_av1_encoder",
|
|
||||||
"../../modules/video_coding/svc:scalability_structures",
|
|
||||||
=======
|
|
||||||
":scalability_mode",
|
":scalability_mode",
|
||||||
":video_codecs_api",
|
":video_codecs_api",
|
||||||
"../../modules/video_coding/codecs/av1:av1_svc_config",
|
"../../modules/video_coding/codecs/av1:av1_svc_config",
|
||||||
|
@ -268,7 +252,6 @@ rtc_source_set("video_decoder_factory_template_dav1d_adapter") {
|
||||||
deps = [
|
deps = [
|
||||||
":video_codecs_api",
|
":video_codecs_api",
|
||||||
"../../modules/video_coding/codecs/av1:dav1d_decoder",
|
"../../modules/video_coding/codecs/av1:dav1d_decoder",
|
||||||
>>>>>>> m108
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -307,13 +290,8 @@ rtc_library("rtc_software_fallback_wrappers") {
|
||||||
"../../modules/video_coding:video_codec_interface",
|
"../../modules/video_coding:video_codec_interface",
|
||||||
"../../modules/video_coding:video_coding_utility",
|
"../../modules/video_coding:video_coding_utility",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:logging",
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
"../../rtc_base:event_tracer",
|
"../../rtc_base:event_tracer",
|
||||||
"../../rtc_base:logging",
|
"../../rtc_base:logging",
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base/system:rtc_export",
|
"../../rtc_base/system:rtc_export",
|
||||||
"../../system_wrappers:field_trial",
|
"../../system_wrappers:field_trial",
|
||||||
"../../system_wrappers:metrics",
|
"../../system_wrappers:metrics",
|
||||||
|
|
|
@ -20,10 +20,7 @@ if (rtc_include_tests) {
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
":video_decoder_factory_template_tests",
|
":video_decoder_factory_template_tests",
|
||||||
>>>>>>> m108
|
|
||||||
":video_encoder_factory_template_tests",
|
":video_encoder_factory_template_tests",
|
||||||
"..:builtin_video_encoder_factory",
|
"..:builtin_video_encoder_factory",
|
||||||
"..:rtc_software_fallback_wrappers",
|
"..:rtc_software_fallback_wrappers",
|
||||||
|
@ -64,8 +61,6 @@ if (rtc_include_tests) {
|
||||||
"//testing/gtest",
|
"//testing/gtest",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
|
|
||||||
rtc_library("video_decoder_factory_template_tests") {
|
rtc_library("video_decoder_factory_template_tests") {
|
||||||
testonly = true
|
testonly = true
|
||||||
|
@ -82,5 +77,4 @@ if (rtc_include_tests) {
|
||||||
"//testing/gtest",
|
"//testing/gtest",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,10 +17,7 @@
|
||||||
#include "test/gmock.h"
|
#include "test/gmock.h"
|
||||||
#include "test/gtest.h"
|
#include "test/gtest.h"
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
using ::testing::Contains;
|
using ::testing::Contains;
|
||||||
>>>>>>> m108
|
|
||||||
using ::testing::Each;
|
using ::testing::Each;
|
||||||
using ::testing::Eq;
|
using ::testing::Eq;
|
||||||
using ::testing::Field;
|
using ::testing::Field;
|
||||||
|
@ -44,15 +41,9 @@ struct FooEncoderTemplateAdapter {
|
||||||
return std::make_unique<testing::StrictMock<MockVideoEncoder>>();
|
return std::make_unique<testing::StrictMock<MockVideoEncoder>>();
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
static bool IsScalabilityModeSupported(
|
|
||||||
const absl::string_view scalability_mode) {
|
|
||||||
return scalability_mode == "L1T2" || scalability_mode == "L1T3";
|
|
||||||
=======
|
|
||||||
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
||||||
return scalability_mode == ScalabilityMode::kL1T2 ||
|
return scalability_mode == ScalabilityMode::kL1T2 ||
|
||||||
scalability_mode == ScalabilityMode::kL1T3;
|
scalability_mode == ScalabilityMode::kL1T3;
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -66,18 +57,11 @@ struct BarEncoderTemplateAdapter {
|
||||||
return std::make_unique<testing::StrictMock<MockVideoEncoder>>();
|
return std::make_unique<testing::StrictMock<MockVideoEncoder>>();
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
static bool IsScalabilityModeSupported(
|
|
||||||
const absl::string_view scalability_mode) {
|
|
||||||
return scalability_mode == "L1T2" || scalability_mode == "L1T3" ||
|
|
||||||
scalability_mode == "S2T2" || scalability_mode == "S2T3";
|
|
||||||
=======
|
|
||||||
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
||||||
return scalability_mode == ScalabilityMode::kL1T2 ||
|
return scalability_mode == ScalabilityMode::kL1T2 ||
|
||||||
scalability_mode == ScalabilityMode::kL1T3 ||
|
scalability_mode == ScalabilityMode::kL1T3 ||
|
||||||
scalability_mode == ScalabilityMode::kS2T1 ||
|
scalability_mode == ScalabilityMode::kS2T1 ||
|
||||||
scalability_mode == ScalabilityMode::kS3T3;
|
scalability_mode == ScalabilityMode::kS3T3;
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -94,11 +78,7 @@ TEST(VideoEncoderFactoryTemplate, OneTemplateAdapterCodecSupport) {
|
||||||
Field(&CodecSupport::is_supported, true));
|
Field(&CodecSupport::is_supported, true));
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "L1T2"),
|
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "L1T2"),
|
||||||
Field(&CodecSupport::is_supported, true));
|
Field(&CodecSupport::is_supported, true));
|
||||||
<<<<<<< HEAD
|
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "S2T3"),
|
|
||||||
=======
|
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "S3T3"),
|
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "S3T3"),
|
||||||
>>>>>>> m108
|
|
||||||
Field(&CodecSupport::is_supported, false));
|
Field(&CodecSupport::is_supported, false));
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(SdpVideoFormat("FooX"), absl::nullopt),
|
EXPECT_THAT(factory.QueryCodecSupport(SdpVideoFormat("FooX"), absl::nullopt),
|
||||||
Field(&CodecSupport::is_supported, false));
|
Field(&CodecSupport::is_supported, false));
|
||||||
|
@ -132,21 +112,13 @@ TEST(VideoEncoderFactoryTemplate, TwoTemplateAdaptersCodecSupport) {
|
||||||
Field(&CodecSupport::is_supported, true));
|
Field(&CodecSupport::is_supported, true));
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "L1T2"),
|
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "L1T2"),
|
||||||
Field(&CodecSupport::is_supported, true));
|
Field(&CodecSupport::is_supported, true));
|
||||||
<<<<<<< HEAD
|
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "S2T3"),
|
|
||||||
=======
|
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "S3T3"),
|
EXPECT_THAT(factory.QueryCodecSupport(kFooSdp, "S3T3"),
|
||||||
>>>>>>> m108
|
|
||||||
Field(&CodecSupport::is_supported, false));
|
Field(&CodecSupport::is_supported, false));
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kBarLowSdp, absl::nullopt),
|
EXPECT_THAT(factory.QueryCodecSupport(kBarLowSdp, absl::nullopt),
|
||||||
Field(&CodecSupport::is_supported, true));
|
Field(&CodecSupport::is_supported, true));
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kBarHighSdp, absl::nullopt),
|
EXPECT_THAT(factory.QueryCodecSupport(kBarHighSdp, absl::nullopt),
|
||||||
Field(&CodecSupport::is_supported, true));
|
Field(&CodecSupport::is_supported, true));
|
||||||
<<<<<<< HEAD
|
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kBarLowSdp, "S2T2"),
|
|
||||||
=======
|
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kBarLowSdp, "S2T1"),
|
EXPECT_THAT(factory.QueryCodecSupport(kBarLowSdp, "S2T1"),
|
||||||
>>>>>>> m108
|
|
||||||
Field(&CodecSupport::is_supported, true));
|
Field(&CodecSupport::is_supported, true));
|
||||||
EXPECT_THAT(factory.QueryCodecSupport(kBarHighSdp, "S3T2"),
|
EXPECT_THAT(factory.QueryCodecSupport(kBarHighSdp, "S3T2"),
|
||||||
Field(&CodecSupport::is_supported, false));
|
Field(&CodecSupport::is_supported, false));
|
||||||
|
@ -154,18 +126,12 @@ TEST(VideoEncoderFactoryTemplate, TwoTemplateAdaptersCodecSupport) {
|
||||||
|
|
||||||
TEST(VideoEncoderFactoryTemplate, LibvpxVp8) {
|
TEST(VideoEncoderFactoryTemplate, LibvpxVp8) {
|
||||||
VideoEncoderFactoryTemplate<LibvpxVp8EncoderTemplateAdapter> factory;
|
VideoEncoderFactoryTemplate<LibvpxVp8EncoderTemplateAdapter> factory;
|
||||||
<<<<<<< HEAD
|
|
||||||
const SdpVideoFormat kVp8Sdp("VP8");
|
|
||||||
EXPECT_THAT(factory.GetSupportedFormats(), UnorderedElementsAre(kVp8Sdp));
|
|
||||||
EXPECT_THAT(factory.CreateVideoEncoder(kVp8Sdp), Ne(nullptr));
|
|
||||||
=======
|
|
||||||
auto formats = factory.GetSupportedFormats();
|
auto formats = factory.GetSupportedFormats();
|
||||||
EXPECT_THAT(formats.size(), 1);
|
EXPECT_THAT(formats.size(), 1);
|
||||||
EXPECT_THAT(formats[0], Field(&SdpVideoFormat::name, "VP8"));
|
EXPECT_THAT(formats[0], Field(&SdpVideoFormat::name, "VP8"));
|
||||||
EXPECT_THAT(formats[0], Field(&SdpVideoFormat::scalability_modes,
|
EXPECT_THAT(formats[0], Field(&SdpVideoFormat::scalability_modes,
|
||||||
Contains(ScalabilityMode::kL1T3)));
|
Contains(ScalabilityMode::kL1T3)));
|
||||||
EXPECT_THAT(factory.CreateVideoEncoder(formats[0]), Ne(nullptr));
|
EXPECT_THAT(factory.CreateVideoEncoder(formats[0]), Ne(nullptr));
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(VideoEncoderFactoryTemplate, LibvpxVp9) {
|
TEST(VideoEncoderFactoryTemplate, LibvpxVp9) {
|
||||||
|
@ -173,11 +139,8 @@ TEST(VideoEncoderFactoryTemplate, LibvpxVp9) {
|
||||||
auto formats = factory.GetSupportedFormats();
|
auto formats = factory.GetSupportedFormats();
|
||||||
EXPECT_THAT(formats, Not(IsEmpty()));
|
EXPECT_THAT(formats, Not(IsEmpty()));
|
||||||
EXPECT_THAT(formats, Each(Field(&SdpVideoFormat::name, "VP9")));
|
EXPECT_THAT(formats, Each(Field(&SdpVideoFormat::name, "VP9")));
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
EXPECT_THAT(formats, Each(Field(&SdpVideoFormat::scalability_modes,
|
EXPECT_THAT(formats, Each(Field(&SdpVideoFormat::scalability_modes,
|
||||||
Contains(ScalabilityMode::kL3T3_KEY))));
|
Contains(ScalabilityMode::kL3T3_KEY))));
|
||||||
>>>>>>> m108
|
|
||||||
EXPECT_THAT(factory.CreateVideoEncoder(formats[0]), Ne(nullptr));
|
EXPECT_THAT(factory.CreateVideoEncoder(formats[0]), Ne(nullptr));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -189,29 +152,20 @@ TEST(VideoEncoderFactoryTemplate, OpenH264) {
|
||||||
auto formats = factory.GetSupportedFormats();
|
auto formats = factory.GetSupportedFormats();
|
||||||
EXPECT_THAT(formats, Not(IsEmpty()));
|
EXPECT_THAT(formats, Not(IsEmpty()));
|
||||||
EXPECT_THAT(formats, Each(Field(&SdpVideoFormat::name, "H264")));
|
EXPECT_THAT(formats, Each(Field(&SdpVideoFormat::name, "H264")));
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
EXPECT_THAT(formats, Each(Field(&SdpVideoFormat::scalability_modes,
|
EXPECT_THAT(formats, Each(Field(&SdpVideoFormat::scalability_modes,
|
||||||
Contains(ScalabilityMode::kL1T3))));
|
Contains(ScalabilityMode::kL1T3))));
|
||||||
>>>>>>> m108
|
|
||||||
EXPECT_THAT(factory.CreateVideoEncoder(formats[0]), Ne(nullptr));
|
EXPECT_THAT(factory.CreateVideoEncoder(formats[0]), Ne(nullptr));
|
||||||
}
|
}
|
||||||
#endif // defined(WEBRTC_USE_H264)
|
#endif // defined(WEBRTC_USE_H264)
|
||||||
|
|
||||||
TEST(VideoEncoderFactoryTemplate, LibaomAv1) {
|
TEST(VideoEncoderFactoryTemplate, LibaomAv1) {
|
||||||
VideoEncoderFactoryTemplate<LibaomAv1EncoderTemplateAdapter> factory;
|
VideoEncoderFactoryTemplate<LibaomAv1EncoderTemplateAdapter> factory;
|
||||||
<<<<<<< HEAD
|
|
||||||
const SdpVideoFormat kAv1Sdp("AV1");
|
|
||||||
EXPECT_THAT(factory.GetSupportedFormats(), UnorderedElementsAre(kAv1Sdp));
|
|
||||||
EXPECT_THAT(factory.CreateVideoEncoder(kAv1Sdp), Ne(nullptr));
|
|
||||||
=======
|
|
||||||
auto formats = factory.GetSupportedFormats();
|
auto formats = factory.GetSupportedFormats();
|
||||||
EXPECT_THAT(formats.size(), 1);
|
EXPECT_THAT(formats.size(), 1);
|
||||||
EXPECT_THAT(formats[0], Field(&SdpVideoFormat::name, "AV1"));
|
EXPECT_THAT(formats[0], Field(&SdpVideoFormat::name, "AV1"));
|
||||||
EXPECT_THAT(formats[0], Field(&SdpVideoFormat::scalability_modes,
|
EXPECT_THAT(formats[0], Field(&SdpVideoFormat::scalability_modes,
|
||||||
Contains(ScalabilityMode::kL3T3_KEY)));
|
Contains(ScalabilityMode::kL3T3_KEY)));
|
||||||
EXPECT_THAT(factory.CreateVideoEncoder(formats[0]), Ne(nullptr));
|
EXPECT_THAT(factory.CreateVideoEncoder(formats[0]), Ne(nullptr));
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
|
@ -136,21 +136,7 @@ VideoCodecType PayloadStringToCodecType(const std::string& name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
VideoCodecComplexity VideoCodec::GetVideoEncoderComplexity() const {
|
VideoCodecComplexity VideoCodec::GetVideoEncoderComplexity() const {
|
||||||
<<<<<<< HEAD
|
|
||||||
if (complexity_.has_value()) {
|
|
||||||
return complexity_.value();
|
|
||||||
}
|
|
||||||
switch (codecType) {
|
|
||||||
case kVideoCodecVP8:
|
|
||||||
return VP8().complexity;
|
|
||||||
case kVideoCodecVP9:
|
|
||||||
return VP9().complexity;
|
|
||||||
default:
|
|
||||||
return VideoCodecComplexity::kComplexityNormal;
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
return complexity_;
|
return complexity_;
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoCodec::SetVideoEncoderComplexity(
|
void VideoCodec::SetVideoEncoderComplexity(
|
||||||
|
@ -158,8 +144,6 @@ void VideoCodec::SetVideoEncoderComplexity(
|
||||||
complexity_ = complexity_setting;
|
complexity_ = complexity_setting;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
bool VideoCodec::GetFrameDropEnabled() const {
|
bool VideoCodec::GetFrameDropEnabled() const {
|
||||||
return frame_drop_enabled_;
|
return frame_drop_enabled_;
|
||||||
}
|
}
|
||||||
|
@ -168,5 +152,4 @@ void VideoCodec::SetFrameDropEnabled(bool enabled) {
|
||||||
frame_drop_enabled_ = enabled;
|
frame_drop_enabled_ = enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
|
|
|
@ -192,18 +192,11 @@ class RTC_EXPORT VideoCodec {
|
||||||
// TODO(hta): Consider replacing the union with a pointer type.
|
// TODO(hta): Consider replacing the union with a pointer type.
|
||||||
// This will allow removing the VideoCodec* types from this file.
|
// This will allow removing the VideoCodec* types from this file.
|
||||||
VideoCodecUnion codec_specific_;
|
VideoCodecUnion codec_specific_;
|
||||||
<<<<<<< HEAD
|
|
||||||
std::string scalability_mode_;
|
|
||||||
// 'complexity_' indicates the CPU capability of the client. It's used to
|
|
||||||
// determine encoder CPU complexity (e.g., cpu_used for VP8, VP9. and AV1).
|
|
||||||
absl::optional<VideoCodecComplexity> complexity_;
|
|
||||||
=======
|
|
||||||
absl::optional<ScalabilityMode> scalability_mode_;
|
absl::optional<ScalabilityMode> scalability_mode_;
|
||||||
// 'complexity_' indicates the CPU capability of the client. It's used to
|
// 'complexity_' indicates the CPU capability of the client. It's used to
|
||||||
// determine encoder CPU complexity (e.g., cpu_used for VP8, VP9. and AV1).
|
// determine encoder CPU complexity (e.g., cpu_used for VP8, VP9. and AV1).
|
||||||
VideoCodecComplexity complexity_;
|
VideoCodecComplexity complexity_;
|
||||||
bool frame_drop_enabled_ = false;
|
bool frame_drop_enabled_ = false;
|
||||||
>>>>>>> m108
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
|
|
|
@ -16,15 +16,10 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "absl/algorithm/container.h"
|
#include "absl/algorithm/container.h"
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "api/video_codecs/video_encoder.h"
|
|
||||||
#include "api/video_codecs/video_encoder_factory.h"
|
|
||||||
=======
|
|
||||||
#include "api/array_view.h"
|
#include "api/array_view.h"
|
||||||
#include "api/video_codecs/video_encoder.h"
|
#include "api/video_codecs/video_encoder.h"
|
||||||
#include "api/video_codecs/video_encoder_factory.h"
|
#include "api/video_codecs/video_encoder_factory.h"
|
||||||
#include "modules/video_coding/svc/scalability_mode_util.h"
|
#include "modules/video_coding/svc/scalability_mode_util.h"
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
// The VideoEncoderFactoryTemplate supports encoders implementations given as
|
// The VideoEncoderFactoryTemplate supports encoders implementations given as
|
||||||
|
@ -42,11 +37,7 @@ namespace webrtc {
|
||||||
//
|
//
|
||||||
// // Returns true if the encoder supports the given scalability mode.
|
// // Returns true if the encoder supports the given scalability mode.
|
||||||
// static bool
|
// static bool
|
||||||
<<<<<<< HEAD
|
|
||||||
// IsScalabilityModeSupported(const absl::string_view scalability_mode);
|
|
||||||
=======
|
|
||||||
// IsScalabilityModeSupported(ScalabilityMode scalability_mode);
|
// IsScalabilityModeSupported(ScalabilityMode scalability_mode);
|
||||||
>>>>>>> m108
|
|
||||||
//
|
//
|
||||||
// Note that the order of the template arguments matter as the factory will
|
// Note that the order of the template arguments matter as the factory will
|
||||||
// query/return the first encoder implementation supporting the given
|
// query/return the first encoder implementation supporting the given
|
||||||
|
@ -55,13 +46,7 @@ template <typename... Ts>
|
||||||
class VideoEncoderFactoryTemplate : public VideoEncoderFactory {
|
class VideoEncoderFactoryTemplate : public VideoEncoderFactory {
|
||||||
public:
|
public:
|
||||||
std::vector<SdpVideoFormat> GetSupportedFormats() const override {
|
std::vector<SdpVideoFormat> GetSupportedFormats() const override {
|
||||||
<<<<<<< HEAD
|
|
||||||
std::vector<SdpVideoFormat> formats;
|
|
||||||
GetSupportedFormatsInternal<Ts...>(formats);
|
|
||||||
return formats;
|
|
||||||
=======
|
|
||||||
return GetSupportedFormatsInternal<Ts...>();
|
return GetSupportedFormatsInternal<Ts...>();
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<VideoEncoder> CreateVideoEncoder(
|
std::unique_ptr<VideoEncoder> CreateVideoEncoder(
|
||||||
|
@ -76,25 +61,6 @@ class VideoEncoderFactoryTemplate : public VideoEncoderFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
<<<<<<< HEAD
|
|
||||||
template <typename V>
|
|
||||||
bool IsFormatSupported(const SdpVideoFormat& format) const {
|
|
||||||
return absl::c_count(V::SupportedFormats(), format) > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename V, typename... Vs>
|
|
||||||
void GetSupportedFormatsInternal(std::vector<SdpVideoFormat>& formats) const {
|
|
||||||
auto supported_formats = V::SupportedFormats();
|
|
||||||
for (const auto& format : supported_formats) {
|
|
||||||
if (absl::c_count(formats, format) == 0) {
|
|
||||||
formats.push_back(format);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if constexpr (sizeof...(Vs) > 0) {
|
|
||||||
return GetSupportedFormatsInternal<Vs...>(formats);
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
bool IsFormatInList(
|
bool IsFormatInList(
|
||||||
const SdpVideoFormat& format,
|
const SdpVideoFormat& format,
|
||||||
rtc::ArrayView<const SdpVideoFormat> supported_formats) const {
|
rtc::ArrayView<const SdpVideoFormat> supported_formats) const {
|
||||||
|
@ -132,17 +98,12 @@ class VideoEncoderFactoryTemplate : public VideoEncoderFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
return supported_formats;
|
return supported_formats;
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename V, typename... Vs>
|
template <typename V, typename... Vs>
|
||||||
std::unique_ptr<VideoEncoder> CreateVideoEncoderInternal(
|
std::unique_ptr<VideoEncoder> CreateVideoEncoderInternal(
|
||||||
const SdpVideoFormat& format) {
|
const SdpVideoFormat& format) {
|
||||||
<<<<<<< HEAD
|
|
||||||
if (IsFormatSupported<V>(format)) {
|
|
||||||
=======
|
|
||||||
if (IsFormatInList(format, V::SupportedFormats())) {
|
if (IsFormatInList(format, V::SupportedFormats())) {
|
||||||
>>>>>>> m108
|
|
||||||
return V::CreateEncoder(format);
|
return V::CreateEncoder(format);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,14 +118,8 @@ class VideoEncoderFactoryTemplate : public VideoEncoderFactory {
|
||||||
CodecSupport QueryCodecSupportInternal(
|
CodecSupport QueryCodecSupportInternal(
|
||||||
const SdpVideoFormat& format,
|
const SdpVideoFormat& format,
|
||||||
const absl::optional<std::string>& scalability_mode) const {
|
const absl::optional<std::string>& scalability_mode) const {
|
||||||
<<<<<<< HEAD
|
|
||||||
if (IsFormatSupported<V>(format)) {
|
|
||||||
return {.is_supported = !scalability_mode ||
|
|
||||||
V::IsScalabilityModeSupported(*scalability_mode)};
|
|
||||||
=======
|
|
||||||
if (IsFormatInList(format, V::SupportedFormats())) {
|
if (IsFormatInList(format, V::SupportedFormats())) {
|
||||||
return {.is_supported = IsScalabilityModeSupported<V>(scalability_mode)};
|
return {.is_supported = IsScalabilityModeSupported<V>(scalability_mode)};
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if constexpr (sizeof...(Vs) > 0) {
|
if constexpr (sizeof...(Vs) > 0) {
|
||||||
|
|
|
@ -14,27 +14,18 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "modules/video_coding/codecs/av1/libaom_av1_encoder.h"
|
|
||||||
#include "modules/video_coding/svc/create_scalability_structure.h"
|
|
||||||
=======
|
|
||||||
#include "absl/container/inlined_vector.h"
|
#include "absl/container/inlined_vector.h"
|
||||||
#include "api/video_codecs/sdp_video_format.h"
|
#include "api/video_codecs/sdp_video_format.h"
|
||||||
#include "modules/video_coding/codecs/av1/av1_svc_config.h"
|
#include "modules/video_coding/codecs/av1/av1_svc_config.h"
|
||||||
#include "modules/video_coding/codecs/av1/libaom_av1_encoder.h"
|
#include "modules/video_coding/codecs/av1/libaom_av1_encoder.h"
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
struct LibaomAv1EncoderTemplateAdapter {
|
struct LibaomAv1EncoderTemplateAdapter {
|
||||||
static std::vector<SdpVideoFormat> SupportedFormats() {
|
static std::vector<SdpVideoFormat> SupportedFormats() {
|
||||||
<<<<<<< HEAD
|
|
||||||
return {SdpVideoFormat("AV1")};
|
|
||||||
=======
|
|
||||||
absl::InlinedVector<ScalabilityMode, kScalabilityModeCount>
|
absl::InlinedVector<ScalabilityMode, kScalabilityModeCount>
|
||||||
scalability_modes = LibaomAv1EncoderSupportedScalabilityModes();
|
scalability_modes = LibaomAv1EncoderSupportedScalabilityModes();
|
||||||
return {
|
return {
|
||||||
SdpVideoFormat("AV1", SdpVideoFormat::Parameters(), scalability_modes)};
|
SdpVideoFormat("AV1", SdpVideoFormat::Parameters(), scalability_modes)};
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::unique_ptr<VideoEncoder> CreateEncoder(
|
static std::unique_ptr<VideoEncoder> CreateEncoder(
|
||||||
|
@ -42,15 +33,8 @@ struct LibaomAv1EncoderTemplateAdapter {
|
||||||
return CreateLibaomAv1Encoder();
|
return CreateLibaomAv1Encoder();
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
static bool IsScalabilityModeSupported(absl::string_view scalability_mode) {
|
|
||||||
// For libaom AV1, the scalability mode is supported if we can create the
|
|
||||||
// scalability structure.
|
|
||||||
return ScalabilityStructureConfig(scalability_mode) != absl::nullopt;
|
|
||||||
=======
|
|
||||||
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
||||||
return LibaomAv1EncoderSupportsScalabilityMode(scalability_mode);
|
return LibaomAv1EncoderSupportsScalabilityMode(scalability_mode);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -14,21 +14,14 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "modules/video_coding/codecs/vp8/include/vp8.h"
|
|
||||||
=======
|
|
||||||
#include "absl/container/inlined_vector.h"
|
#include "absl/container/inlined_vector.h"
|
||||||
#include "api/video_codecs/sdp_video_format.h"
|
#include "api/video_codecs/sdp_video_format.h"
|
||||||
#include "modules/video_coding/codecs/vp8/include/vp8.h"
|
#include "modules/video_coding/codecs/vp8/include/vp8.h"
|
||||||
#include "modules/video_coding/codecs/vp8/vp8_scalability.h"
|
#include "modules/video_coding/codecs/vp8/vp8_scalability.h"
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
struct LibvpxVp8EncoderTemplateAdapter {
|
struct LibvpxVp8EncoderTemplateAdapter {
|
||||||
static std::vector<SdpVideoFormat> SupportedFormats() {
|
static std::vector<SdpVideoFormat> SupportedFormats() {
|
||||||
<<<<<<< HEAD
|
|
||||||
return {SdpVideoFormat("VP8")};
|
|
||||||
=======
|
|
||||||
absl::InlinedVector<ScalabilityMode, kScalabilityModeCount>
|
absl::InlinedVector<ScalabilityMode, kScalabilityModeCount>
|
||||||
scalability_modes;
|
scalability_modes;
|
||||||
for (const auto scalability_mode : kVP8SupportedScalabilityModes) {
|
for (const auto scalability_mode : kVP8SupportedScalabilityModes) {
|
||||||
|
@ -37,7 +30,6 @@ struct LibvpxVp8EncoderTemplateAdapter {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
SdpVideoFormat("VP8", SdpVideoFormat::Parameters(), scalability_modes)};
|
SdpVideoFormat("VP8", SdpVideoFormat::Parameters(), scalability_modes)};
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::unique_ptr<VideoEncoder> CreateEncoder(
|
static std::unique_ptr<VideoEncoder> CreateEncoder(
|
||||||
|
@ -45,14 +37,8 @@ struct LibvpxVp8EncoderTemplateAdapter {
|
||||||
return VP8Encoder::Create();
|
return VP8Encoder::Create();
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
static bool IsScalabilityModeSupported(
|
|
||||||
const absl::string_view scalability_mode) {
|
|
||||||
return VP8Encoder::SupportsScalabilityMode(scalability_mode);
|
|
||||||
=======
|
|
||||||
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
||||||
return VP8SupportsScalabilityMode(scalability_mode);
|
return VP8SupportsScalabilityMode(scalability_mode);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
|
|
|
@ -19,27 +19,15 @@
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
struct LibvpxVp9EncoderTemplateAdapter {
|
struct LibvpxVp9EncoderTemplateAdapter {
|
||||||
static std::vector<SdpVideoFormat> SupportedFormats() {
|
static std::vector<SdpVideoFormat> SupportedFormats() {
|
||||||
<<<<<<< HEAD
|
|
||||||
return SupportedVP9Codecs();
|
|
||||||
=======
|
|
||||||
return SupportedVP9Codecs(/*add_scalability_modes=*/true);
|
return SupportedVP9Codecs(/*add_scalability_modes=*/true);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::unique_ptr<VideoEncoder> CreateEncoder(
|
static std::unique_ptr<VideoEncoder> CreateEncoder(
|
||||||
const SdpVideoFormat& format) {
|
const SdpVideoFormat& format) {
|
||||||
<<<<<<< HEAD
|
|
||||||
return VP9Encoder::Create();
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool IsScalabilityModeSupported(
|
|
||||||
const absl::string_view scalability_mode) {
|
|
||||||
=======
|
|
||||||
return VP9Encoder::Create(cricket::VideoCodec(format));
|
return VP9Encoder::Create(cricket::VideoCodec(format));
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
static bool IsScalabilityModeSupported(ScalabilityMode scalability_mode) {
|
||||||
>>>>>>> m108
|
|
||||||
return VP9Encoder::SupportsScalabilityMode(scalability_mode);
|
return VP9Encoder::SupportsScalabilityMode(scalability_mode);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,13 +18,6 @@
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
// TODO(bugs.webrtc.org/13573): When OpenH264 is no longer a conditional build
|
// TODO(bugs.webrtc.org/13573): When OpenH264 is no longer a conditional build
|
||||||
<<<<<<< HEAD
|
|
||||||
// target remove this #ifdef.
|
|
||||||
#if defined(WEBRTC_USE_H264)
|
|
||||||
struct OpenH264EncoderTemplateAdapter {
|
|
||||||
static std::vector<SdpVideoFormat> SupportedFormats() {
|
|
||||||
return SupportedH264Codecs();
|
|
||||||
=======
|
|
||||||
// target remove #ifdefs.
|
// target remove #ifdefs.
|
||||||
struct OpenH264EncoderTemplateAdapter {
|
struct OpenH264EncoderTemplateAdapter {
|
||||||
static std::vector<SdpVideoFormat> SupportedFormats() {
|
static std::vector<SdpVideoFormat> SupportedFormats() {
|
||||||
|
@ -33,22 +26,10 @@ struct OpenH264EncoderTemplateAdapter {
|
||||||
#else
|
#else
|
||||||
return {};
|
return {};
|
||||||
#endif
|
#endif
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::unique_ptr<VideoEncoder> CreateEncoder(
|
static std::unique_ptr<VideoEncoder> CreateEncoder(
|
||||||
const SdpVideoFormat& format) {
|
const SdpVideoFormat& format) {
|
||||||
<<<<<<< HEAD
|
|
||||||
return H264Encoder::Create(cricket::VideoCodec(format));
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool IsScalabilityModeSupported(
|
|
||||||
const absl::string_view scalability_mode) {
|
|
||||||
return H264Encoder::SupportsScalabilityMode(scalability_mode);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
#endif // defined(WEBRTC_USE_H264)
|
|
||||||
=======
|
|
||||||
#if defined(WEBRTC_USE_H264)
|
#if defined(WEBRTC_USE_H264)
|
||||||
return H264Encoder::Create(cricket::VideoCodec(format));
|
return H264Encoder::Create(cricket::VideoCodec(format));
|
||||||
#else
|
#else
|
||||||
|
@ -64,7 +45,6 @@ struct OpenH264EncoderTemplateAdapter {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
>>>>>>> m108
|
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
|
|
||||||
#endif // API_VIDEO_CODECS_VIDEO_ENCODER_FACTORY_TEMPLATE_OPEN_H264_ADAPTER_H_
|
#endif // API_VIDEO_CODECS_VIDEO_ENCODER_FACTORY_TEMPLATE_OPEN_H264_ADAPTER_H_
|
||||||
|
|
|
@ -13,10 +13,7 @@
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
#include "absl/memory/memory.h"
|
#include "absl/memory/memory.h"
|
||||||
#include "api/async_dns_resolver.h"
|
#include "api/async_dns_resolver.h"
|
||||||
|
@ -72,16 +69,6 @@ class RTC_EXPORT WrappingAsyncDnsResolver : public AsyncDnsResolverInterface,
|
||||||
void Start(const rtc::SocketAddress& addr,
|
void Start(const rtc::SocketAddress& addr,
|
||||||
std::function<void()> callback) override {
|
std::function<void()> callback) override {
|
||||||
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
||||||
<<<<<<< HEAD
|
|
||||||
RTC_DCHECK_EQ(State::kNotStarted, state_);
|
|
||||||
state_ = State::kStarted;
|
|
||||||
callback_ = callback;
|
|
||||||
wrapped_->SignalDone.connect(this,
|
|
||||||
&WrappingAsyncDnsResolver::OnResolveResult);
|
|
||||||
wrapped_->Start(addr);
|
|
||||||
}
|
|
||||||
|
|
||||||
=======
|
|
||||||
PrepareToResolve(std::move(callback));
|
PrepareToResolve(std::move(callback));
|
||||||
wrapped_->Start(addr);
|
wrapped_->Start(addr);
|
||||||
}
|
}
|
||||||
|
@ -94,7 +81,6 @@ class RTC_EXPORT WrappingAsyncDnsResolver : public AsyncDnsResolverInterface,
|
||||||
wrapped_->Start(addr, family);
|
wrapped_->Start(addr, family);
|
||||||
}
|
}
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
const AsyncDnsResolverResult& result() const override {
|
const AsyncDnsResolverResult& result() const override {
|
||||||
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
||||||
RTC_DCHECK_EQ(State::kResolved, state_);
|
RTC_DCHECK_EQ(State::kResolved, state_);
|
||||||
|
@ -111,8 +97,6 @@ class RTC_EXPORT WrappingAsyncDnsResolver : public AsyncDnsResolverInterface,
|
||||||
return wrapped_.get();
|
return wrapped_.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
void PrepareToResolve(std::function<void()> callback) {
|
void PrepareToResolve(std::function<void()> callback) {
|
||||||
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
||||||
RTC_DCHECK_EQ(State::kNotStarted, state_);
|
RTC_DCHECK_EQ(State::kNotStarted, state_);
|
||||||
|
@ -122,7 +106,6 @@ class RTC_EXPORT WrappingAsyncDnsResolver : public AsyncDnsResolverInterface,
|
||||||
&WrappingAsyncDnsResolver::OnResolveResult);
|
&WrappingAsyncDnsResolver::OnResolveResult);
|
||||||
}
|
}
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
void OnResolveResult(rtc::AsyncResolverInterface* ref) {
|
void OnResolveResult(rtc::AsyncResolverInterface* ref) {
|
||||||
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
||||||
RTC_DCHECK(state_ == State::kStarted);
|
RTC_DCHECK(state_ == State::kStarted);
|
||||||
|
|
|
@ -84,28 +84,16 @@ rtc_library("audio") {
|
||||||
"../modules/pacing",
|
"../modules/pacing",
|
||||||
"../modules/rtp_rtcp",
|
"../modules/rtp_rtcp",
|
||||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base",
|
|
||||||
=======
|
|
||||||
"../modules/utility:utility",
|
"../modules/utility:utility",
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:audio_format_to_string",
|
"../rtc_base:audio_format_to_string",
|
||||||
"../rtc_base:buffer",
|
"../rtc_base:buffer",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:logging",
|
|
||||||
"../rtc_base:macromagic",
|
|
||||||
"../rtc_base:rate_limiter",
|
|
||||||
"../rtc_base:refcount",
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
"../rtc_base:event_tracer",
|
"../rtc_base:event_tracer",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
"../rtc_base:race_checker",
|
"../rtc_base:race_checker",
|
||||||
"../rtc_base:rate_limiter",
|
"../rtc_base:rate_limiter",
|
||||||
"../rtc_base:refcount",
|
"../rtc_base:refcount",
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:rtc_event",
|
"../rtc_base:rtc_event",
|
||||||
"../rtc_base:rtc_task_queue",
|
"../rtc_base:rtc_task_queue",
|
||||||
"../rtc_base:safe_conversions",
|
"../rtc_base:safe_conversions",
|
||||||
|
@ -203,10 +191,6 @@ if (rtc_include_tests) {
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
"../rtc_base:refcount",
|
"../rtc_base:refcount",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:rtc_base_tests_utils",
|
"../rtc_base:rtc_base_tests_utils",
|
||||||
"../rtc_base:safe_compare",
|
"../rtc_base:safe_compare",
|
||||||
"../rtc_base:task_queue_for_test",
|
"../rtc_base:task_queue_for_test",
|
||||||
|
|
|
@ -36,10 +36,7 @@
|
||||||
#include "test/mock_audio_encoder.h"
|
#include "test/mock_audio_encoder.h"
|
||||||
#include "test/mock_audio_encoder_factory.h"
|
#include "test/mock_audio_encoder_factory.h"
|
||||||
#include "test/scoped_key_value_config.h"
|
#include "test/scoped_key_value_config.h"
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
#include "test/time_controller/real_time_controller.h"
|
#include "test/time_controller/real_time_controller.h"
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
namespace test {
|
namespace test {
|
||||||
|
@ -195,15 +192,9 @@ struct ConfigHelper {
|
||||||
.WillRepeatedly(Return(&worker_queue_));
|
.WillRepeatedly(Return(&worker_queue_));
|
||||||
return std::unique_ptr<internal::AudioSendStream>(
|
return std::unique_ptr<internal::AudioSendStream>(
|
||||||
new internal::AudioSendStream(
|
new internal::AudioSendStream(
|
||||||
<<<<<<< HEAD
|
|
||||||
Clock::GetRealTimeClock(), stream_config_, audio_state_,
|
|
||||||
task_queue_factory_.get(), &rtp_transport_, &bitrate_allocator_,
|
|
||||||
&event_log_, absl::nullopt,
|
|
||||||
=======
|
|
||||||
time_controller_.GetClock(), stream_config_, audio_state_,
|
time_controller_.GetClock(), stream_config_, audio_state_,
|
||||||
time_controller_.GetTaskQueueFactory(), &rtp_transport_,
|
time_controller_.GetTaskQueueFactory(), &rtp_transport_,
|
||||||
&bitrate_allocator_, &event_log_, absl::nullopt,
|
&bitrate_allocator_, &event_log_, absl::nullopt,
|
||||||
>>>>>>> m108
|
|
||||||
std::unique_ptr<voe::ChannelSendInterface>(channel_send_),
|
std::unique_ptr<voe::ChannelSendInterface>(channel_send_),
|
||||||
field_trials));
|
field_trials));
|
||||||
}
|
}
|
||||||
|
@ -332,8 +323,6 @@ struct ConfigHelper {
|
||||||
|
|
||||||
test::ScopedKeyValueConfig field_trials;
|
test::ScopedKeyValueConfig field_trials;
|
||||||
|
|
||||||
test::ScopedKeyValueConfig field_trials;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RealTimeController time_controller_;
|
RealTimeController time_controller_;
|
||||||
rtc::scoped_refptr<AudioState> audio_state_;
|
rtc::scoped_refptr<AudioState> audio_state_;
|
||||||
|
|
|
@ -52,13 +52,8 @@ class AudioState : public webrtc::AudioState {
|
||||||
return config_.audio_device_module.get();
|
return config_.audio_device_module.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
void AddReceivingStream(webrtc::AudioReceiveStream* stream);
|
|
||||||
void RemoveReceivingStream(webrtc::AudioReceiveStream* stream);
|
|
||||||
=======
|
|
||||||
void AddReceivingStream(webrtc::AudioReceiveStreamInterface* stream);
|
void AddReceivingStream(webrtc::AudioReceiveStreamInterface* stream);
|
||||||
void RemoveReceivingStream(webrtc::AudioReceiveStreamInterface* stream);
|
void RemoveReceivingStream(webrtc::AudioReceiveStreamInterface* stream);
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
void AddSendingStream(webrtc::AudioSendStream* stream,
|
void AddSendingStream(webrtc::AudioSendStream* stream,
|
||||||
int sample_rate_hz,
|
int sample_rate_hz,
|
||||||
|
|
|
@ -37,12 +37,9 @@ class TransformableIncomingAudioFrame
|
||||||
uint32_t GetSsrc() const override { return ssrc_; }
|
uint32_t GetSsrc() const override { return ssrc_; }
|
||||||
uint32_t GetTimestamp() const override { return header_.timestamp; }
|
uint32_t GetTimestamp() const override { return header_.timestamp; }
|
||||||
const RTPHeader& GetHeader() const override { return header_; }
|
const RTPHeader& GetHeader() const override { return header_; }
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
rtc::ArrayView<const uint32_t> GetContributingSources() const override {
|
rtc::ArrayView<const uint32_t> GetContributingSources() const override {
|
||||||
return rtc::ArrayView<const uint32_t>(header_.arrOfCSRCs, header_.numCSRCs);
|
return rtc::ArrayView<const uint32_t>(header_.arrOfCSRCs, header_.numCSRCs);
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
Direction GetDirection() const override { return Direction::kReceiver; }
|
Direction GetDirection() const override { return Direction::kReceiver; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -85,11 +82,7 @@ void ChannelReceiveFrameTransformerDelegate::Transform(
|
||||||
void ChannelReceiveFrameTransformerDelegate::OnTransformedFrame(
|
void ChannelReceiveFrameTransformerDelegate::OnTransformedFrame(
|
||||||
std::unique_ptr<TransformableFrameInterface> frame) {
|
std::unique_ptr<TransformableFrameInterface> frame) {
|
||||||
rtc::scoped_refptr<ChannelReceiveFrameTransformerDelegate> delegate(this);
|
rtc::scoped_refptr<ChannelReceiveFrameTransformerDelegate> delegate(this);
|
||||||
<<<<<<< HEAD
|
|
||||||
channel_receive_thread_->PostTask(ToQueuedTask(
|
|
||||||
=======
|
|
||||||
channel_receive_thread_->PostTask(
|
channel_receive_thread_->PostTask(
|
||||||
>>>>>>> m108
|
|
||||||
[delegate = std::move(delegate), frame = std::move(frame)]() mutable {
|
[delegate = std::move(delegate), frame = std::move(frame)]() mutable {
|
||||||
delegate->ReceiveFrame(std::move(frame));
|
delegate->ReceiveFrame(std::move(frame));
|
||||||
});
|
});
|
||||||
|
|
|
@ -233,13 +233,6 @@ class ChannelSend : public ChannelSendInterface,
|
||||||
rtc::scoped_refptr<ChannelSendFrameTransformerDelegate>
|
rtc::scoped_refptr<ChannelSendFrameTransformerDelegate>
|
||||||
frame_transformer_delegate_ RTC_GUARDED_BY(encoder_queue_);
|
frame_transformer_delegate_ RTC_GUARDED_BY(encoder_queue_);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
// Defined last to ensure that there are no running tasks when the other
|
|
||||||
// members are destroyed.
|
|
||||||
rtc::TaskQueue encoder_queue_;
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
const bool fixing_timestamp_stall_;
|
const bool fixing_timestamp_stall_;
|
||||||
|
|
||||||
mutable Mutex rtcp_counter_mutex_;
|
mutable Mutex rtcp_counter_mutex_;
|
||||||
|
@ -481,13 +474,7 @@ ChannelSend::ChannelSend(
|
||||||
field_trials.IsDisabled("WebRTC-Audio-FixTimestampStall")),
|
field_trials.IsDisabled("WebRTC-Audio-FixTimestampStall")),
|
||||||
encoder_queue_(task_queue_factory->CreateTaskQueue(
|
encoder_queue_(task_queue_factory->CreateTaskQueue(
|
||||||
"AudioEncoder",
|
"AudioEncoder",
|
||||||
<<<<<<< HEAD
|
|
||||||
TaskQueueFactory::Priority::NORMAL)),
|
|
||||||
fixing_timestamp_stall_(
|
|
||||||
field_trials.IsDisabled("WebRTC-Audio-FixTimestampStall")) {
|
|
||||||
=======
|
|
||||||
TaskQueueFactory::Priority::NORMAL)) {
|
TaskQueueFactory::Priority::NORMAL)) {
|
||||||
>>>>>>> m108
|
|
||||||
audio_coding_.reset(AudioCodingModule::Create(AudioCodingModule::Config()));
|
audio_coding_.reset(AudioCodingModule::Create(AudioCodingModule::Config()));
|
||||||
|
|
||||||
RtpRtcpInterface::Configuration configuration;
|
RtpRtcpInterface::Configuration configuration;
|
||||||
|
|
|
@ -27,10 +27,6 @@ rtc_library("audio_frame_operations") {
|
||||||
"../../common_audio",
|
"../../common_audio",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:logging",
|
"../../rtc_base:logging",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:safe_conversions",
|
"../../rtc_base:safe_conversions",
|
||||||
"../../system_wrappers:field_trial",
|
"../../system_wrappers:field_trial",
|
||||||
]
|
]
|
||||||
|
@ -51,10 +47,6 @@ if (rtc_include_tests) {
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:logging",
|
"../../rtc_base:logging",
|
||||||
"../../rtc_base:macromagic",
|
"../../rtc_base:macromagic",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:stringutils",
|
"../../rtc_base:stringutils",
|
||||||
"../../test:field_trial",
|
"../../test:field_trial",
|
||||||
"../../test:test_support",
|
"../../test:test_support",
|
||||||
|
|
|
@ -70,13 +70,8 @@ rtc_library("call_interfaces") {
|
||||||
"../rtc_base",
|
"../rtc_base",
|
||||||
"../rtc_base:audio_format_to_string",
|
"../rtc_base:audio_format_to_string",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:refcount",
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
"../rtc_base:copy_on_write_buffer",
|
"../rtc_base:copy_on_write_buffer",
|
||||||
"../rtc_base:refcount",
|
"../rtc_base:refcount",
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:stringutils",
|
"../rtc_base:stringutils",
|
||||||
"../rtc_base/network:sent_packet",
|
"../rtc_base/network:sent_packet",
|
||||||
]
|
]
|
||||||
|
@ -155,10 +150,6 @@ rtc_library("rtp_receiver") {
|
||||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:stringutils",
|
"../rtc_base:stringutils",
|
||||||
"../rtc_base/containers:flat_map",
|
"../rtc_base/containers:flat_map",
|
||||||
"../rtc_base/containers:flat_set",
|
"../rtc_base/containers:flat_set",
|
||||||
|
@ -168,13 +159,6 @@ rtc_library("rtp_receiver") {
|
||||||
"//third_party/abseil-cpp/absl/strings:strings",
|
"//third_party/abseil-cpp/absl/strings:strings",
|
||||||
"//third_party/abseil-cpp/absl/types:optional",
|
"//third_party/abseil-cpp/absl/types:optional",
|
||||||
]
|
]
|
||||||
<<<<<<< HEAD
|
|
||||||
absl_deps = [
|
|
||||||
"//third_party/abseil-cpp/absl/strings:strings",
|
|
||||||
"//third_party/abseil-cpp/absl/types:optional",
|
|
||||||
]
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rtc_library("rtp_sender") {
|
rtc_library("rtp_sender") {
|
||||||
|
@ -227,16 +211,11 @@ rtc_library("rtp_sender") {
|
||||||
"../modules/video_coding:video_codec_interface",
|
"../modules/video_coding:video_codec_interface",
|
||||||
"../rtc_base",
|
"../rtc_base",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:logging",
|
|
||||||
"../rtc_base:macromagic",
|
|
||||||
=======
|
|
||||||
"../rtc_base:event_tracer",
|
"../rtc_base:event_tracer",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
"../rtc_base:race_checker",
|
"../rtc_base:race_checker",
|
||||||
"../rtc_base:random",
|
"../rtc_base:random",
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:rate_limiter",
|
"../rtc_base:rate_limiter",
|
||||||
"../rtc_base:rtc_task_queue",
|
"../rtc_base:rtc_task_queue",
|
||||||
"../rtc_base:timeutils",
|
"../rtc_base:timeutils",
|
||||||
|
@ -282,10 +261,6 @@ rtc_library("bitrate_allocator") {
|
||||||
"../api/units:time_delta",
|
"../api/units:time_delta",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:safe_minmax",
|
"../rtc_base:safe_minmax",
|
||||||
"../rtc_base/system:no_unique_address",
|
"../rtc_base/system:no_unique_address",
|
||||||
"../system_wrappers",
|
"../system_wrappers",
|
||||||
|
@ -343,11 +318,8 @@ rtc_library("call") {
|
||||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
"../modules/video_coding",
|
"../modules/video_coding",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
"../rtc_base:copy_on_write_buffer",
|
"../rtc_base:copy_on_write_buffer",
|
||||||
"../rtc_base:event_tracer",
|
"../rtc_base:event_tracer",
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
"../rtc_base:rate_limiter",
|
"../rtc_base:rate_limiter",
|
||||||
|
@ -365,10 +337,7 @@ rtc_library("call") {
|
||||||
"../system_wrappers:metrics",
|
"../system_wrappers:metrics",
|
||||||
"../video",
|
"../video",
|
||||||
"../video:decode_synchronizer",
|
"../video:decode_synchronizer",
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
"../video/config:encoder_config",
|
"../video/config:encoder_config",
|
||||||
>>>>>>> m108
|
|
||||||
"adaptation:resource_adaptation",
|
"adaptation:resource_adaptation",
|
||||||
]
|
]
|
||||||
absl_deps = [
|
absl_deps = [
|
||||||
|
@ -418,13 +387,8 @@ rtc_library("video_stream_api") {
|
||||||
"../common_video:frame_counts",
|
"../common_video:frame_counts",
|
||||||
"../modules/rtp_rtcp:rtp_rtcp_format",
|
"../modules/rtp_rtcp:rtp_rtcp_format",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
"../rtc_base:stringutils",
|
|
||||||
=======
|
|
||||||
"../rtc_base:stringutils",
|
"../rtc_base:stringutils",
|
||||||
"../video/config:encoder_config",
|
"../video/config:encoder_config",
|
||||||
>>>>>>> m108
|
|
||||||
]
|
]
|
||||||
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
||||||
}
|
}
|
||||||
|
@ -443,12 +407,8 @@ rtc_library("simulated_network") {
|
||||||
"../api/units:timestamp",
|
"../api/units:timestamp",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
"../rtc_base:race_checker",
|
"../rtc_base:race_checker",
|
||||||
"../rtc_base:random",
|
"../rtc_base:random",
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base/synchronization:mutex",
|
"../rtc_base/synchronization:mutex",
|
||||||
]
|
]
|
||||||
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
|
||||||
|
@ -478,10 +438,6 @@ rtc_library("fake_network") {
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base/synchronization:mutex",
|
"../rtc_base/synchronization:mutex",
|
||||||
"../system_wrappers",
|
"../system_wrappers",
|
||||||
]
|
]
|
||||||
|
@ -544,20 +500,12 @@ if (rtc_include_tests) {
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rate_limiter",
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
"../rtc_base:rtc_event",
|
|
||||||
"../rtc_base:safe_conversions",
|
|
||||||
"../rtc_base:task_queue_for_test",
|
|
||||||
=======
|
|
||||||
"../rtc_base:random",
|
"../rtc_base:random",
|
||||||
"../rtc_base:rate_limiter",
|
"../rtc_base:rate_limiter",
|
||||||
"../rtc_base:rtc_event",
|
"../rtc_base:rtc_event",
|
||||||
"../rtc_base:safe_conversions",
|
"../rtc_base:safe_conversions",
|
||||||
"../rtc_base:task_queue_for_test",
|
"../rtc_base:task_queue_for_test",
|
||||||
"../rtc_base:threading",
|
"../rtc_base:threading",
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:timeutils",
|
"../rtc_base:timeutils",
|
||||||
"../rtc_base/synchronization:mutex",
|
"../rtc_base/synchronization:mutex",
|
||||||
"../system_wrappers",
|
"../system_wrappers",
|
||||||
|
@ -569,10 +517,7 @@ if (rtc_include_tests) {
|
||||||
"../test:field_trial",
|
"../test:field_trial",
|
||||||
"../test:mock_frame_transformer",
|
"../test:mock_frame_transformer",
|
||||||
"../test:mock_transport",
|
"../test:mock_transport",
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
"../test:run_loop",
|
"../test:run_loop",
|
||||||
>>>>>>> m108
|
|
||||||
"../test:scoped_key_value_config",
|
"../test:scoped_key_value_config",
|
||||||
"../test:test_common",
|
"../test:test_common",
|
||||||
"../test:test_support",
|
"../test:test_support",
|
||||||
|
@ -632,11 +577,7 @@ if (rtc_include_tests) {
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
"../rtc_base:platform_thread",
|
"../rtc_base:platform_thread",
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:rtc_event",
|
"../rtc_base:rtc_event",
|
||||||
"../rtc_base:stringutils",
|
"../rtc_base:stringutils",
|
||||||
"../rtc_base:task_queue_for_test",
|
"../rtc_base:task_queue_for_test",
|
||||||
|
|
|
@ -4,11 +4,5 @@ brandtr@webrtc.org
|
||||||
tommi@webrtc.org
|
tommi@webrtc.org
|
||||||
mflodman@webrtc.org
|
mflodman@webrtc.org
|
||||||
stefan@webrtc.org
|
stefan@webrtc.org
|
||||||
<<<<<<< HEAD
|
|
||||||
srte@webrtc.org
|
|
||||||
terelius@webrtc.org
|
|
||||||
sprang@webrtc.org
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
per-file version.cc=webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com
|
per-file version.cc=webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com
|
||||||
|
|
|
@ -33,10 +33,7 @@ rtc_library("resource_adaptation") {
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
"../../api:field_trials_view",
|
"../../api:field_trials_view",
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
"../../api:make_ref_counted",
|
"../../api:make_ref_counted",
|
||||||
>>>>>>> m108
|
|
||||||
"../../api:rtp_parameters",
|
"../../api:rtp_parameters",
|
||||||
"../../api:scoped_refptr",
|
"../../api:scoped_refptr",
|
||||||
"../../api:sequence_checker",
|
"../../api:sequence_checker",
|
||||||
|
@ -51,10 +48,6 @@ rtc_library("resource_adaptation") {
|
||||||
"../../rtc_base:logging",
|
"../../rtc_base:logging",
|
||||||
"../../rtc_base:macromagic",
|
"../../rtc_base:macromagic",
|
||||||
"../../rtc_base:refcount",
|
"../../rtc_base:refcount",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:rtc_task_queue",
|
"../../rtc_base:rtc_task_queue",
|
||||||
"../../rtc_base:safe_conversions",
|
"../../rtc_base:safe_conversions",
|
||||||
"../../rtc_base:stringutils",
|
"../../rtc_base:stringutils",
|
||||||
|
@ -95,10 +88,6 @@ if (rtc_include_tests) {
|
||||||
"../../api/video_codecs:video_codecs_api",
|
"../../api/video_codecs:video_codecs_api",
|
||||||
"../../rtc_base:checks",
|
"../../rtc_base:checks",
|
||||||
"../../rtc_base:gunit_helpers",
|
"../../rtc_base:gunit_helpers",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../rtc_base:rtc_event",
|
"../../rtc_base:rtc_event",
|
||||||
"../../rtc_base:rtc_task_queue",
|
"../../rtc_base:rtc_task_queue",
|
||||||
"../../rtc_base:stringutils",
|
"../../rtc_base:stringutils",
|
||||||
|
@ -135,12 +124,6 @@ if (rtc_include_tests) {
|
||||||
"../../api/adaptation:resource_adaptation_api",
|
"../../api/adaptation:resource_adaptation_api",
|
||||||
"../../api/task_queue:task_queue",
|
"../../api/task_queue:task_queue",
|
||||||
"../../api/video:video_stream_encoder",
|
"../../api/video:video_stream_encoder",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../../rtc_base:refcount",
|
|
||||||
"../../rtc_base:rtc_base_approved",
|
|
||||||
"../../rtc_base/task_utils:to_queued_task",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../../test:test_support",
|
"../../test:test_support",
|
||||||
"../../video:video_stream_encoder_interface",
|
"../../video:video_stream_encoder_interface",
|
||||||
"../../video/config:encoder_config",
|
"../../video/config:encoder_config",
|
||||||
|
|
|
@ -113,11 +113,7 @@ void ResourceAdaptationProcessor::AddResource(
|
||||||
<< "Resource \"" << resource->Name() << "\" was already registered.";
|
<< "Resource \"" << resource->Name() << "\" was already registered.";
|
||||||
resources_.push_back(resource);
|
resources_.push_back(resource);
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
resource->SetResourceListener(resource_listener_delegate_);
|
|
||||||
=======
|
|
||||||
resource->SetResourceListener(resource_listener_delegate_.get());
|
resource->SetResourceListener(resource_listener_delegate_.get());
|
||||||
>>>>>>> m108
|
|
||||||
RTC_LOG(LS_INFO) << "Registered resource \"" << resource->Name() << "\".";
|
RTC_LOG(LS_INFO) << "Registered resource \"" << resource->Name() << "\".";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -135,10 +135,7 @@ class ResourceAdaptationProcessorTest : public ::testing::Test {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
rtc::AutoThread main_thread_;
|
rtc::AutoThread main_thread_;
|
||||||
>>>>>>> m108
|
|
||||||
webrtc::test::ScopedKeyValueConfig field_trials_;
|
webrtc::test::ScopedKeyValueConfig field_trials_;
|
||||||
FakeFrameRateProvider frame_rate_provider_;
|
FakeFrameRateProvider frame_rate_provider_;
|
||||||
VideoStreamInputStateProvider input_state_provider_;
|
VideoStreamInputStateProvider input_state_provider_;
|
||||||
|
|
187
call/call.cc
187
call/call.cc
|
@ -52,10 +52,6 @@
|
||||||
#include "modules/rtp_rtcp/source/rtp_util.h"
|
#include "modules/rtp_rtcp/source/rtp_util.h"
|
||||||
#include "modules/video_coding/fec_controller_default.h"
|
#include "modules/video_coding/fec_controller_default.h"
|
||||||
#include "rtc_base/checks.h"
|
#include "rtc_base/checks.h"
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "rtc_base/location.h"
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
#include "rtc_base/logging.h"
|
#include "rtc_base/logging.h"
|
||||||
#include "rtc_base/strings/string_builder.h"
|
#include "rtc_base/strings/string_builder.h"
|
||||||
#include "rtc_base/system/no_unique_address.h"
|
#include "rtc_base/system/no_unique_address.h"
|
||||||
|
@ -352,15 +348,9 @@ class Call final : public webrtc::Call,
|
||||||
rtc::CopyOnWriteBuffer packet,
|
rtc::CopyOnWriteBuffer packet,
|
||||||
int64_t packet_time_us) RTC_RUN_ON(worker_thread_);
|
int64_t packet_time_us) RTC_RUN_ON(worker_thread_);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
AudioReceiveStream* FindAudioStreamForSyncGroup(const std::string& sync_group)
|
|
||||||
RTC_RUN_ON(worker_thread_);
|
|
||||||
void ConfigureSync(const std::string& sync_group) RTC_RUN_ON(worker_thread_);
|
|
||||||
=======
|
|
||||||
AudioReceiveStreamImpl* FindAudioStreamForSyncGroup(
|
AudioReceiveStreamImpl* FindAudioStreamForSyncGroup(
|
||||||
absl::string_view sync_group) RTC_RUN_ON(worker_thread_);
|
absl::string_view sync_group) RTC_RUN_ON(worker_thread_);
|
||||||
void ConfigureSync(absl::string_view sync_group) RTC_RUN_ON(worker_thread_);
|
void ConfigureSync(absl::string_view sync_group) RTC_RUN_ON(worker_thread_);
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
void NotifyBweOfReceivedPacket(const RtpPacketReceived& packet,
|
void NotifyBweOfReceivedPacket(const RtpPacketReceived& packet,
|
||||||
MediaType media_type,
|
MediaType media_type,
|
||||||
|
@ -369,11 +359,7 @@ class Call final : public webrtc::Call,
|
||||||
|
|
||||||
bool IdentifyReceivedPacket(RtpPacketReceived& packet,
|
bool IdentifyReceivedPacket(RtpPacketReceived& packet,
|
||||||
bool* use_send_side_bwe = nullptr);
|
bool* use_send_side_bwe = nullptr);
|
||||||
<<<<<<< HEAD
|
|
||||||
bool RegisterReceiveStream(uint32_t ssrc, ReceiveStream* stream);
|
|
||||||
=======
|
|
||||||
bool RegisterReceiveStream(uint32_t ssrc, ReceiveStreamInterface* stream);
|
bool RegisterReceiveStream(uint32_t ssrc, ReceiveStreamInterface* stream);
|
||||||
>>>>>>> m108
|
|
||||||
bool UnregisterReceiveStream(uint32_t ssrc);
|
bool UnregisterReceiveStream(uint32_t ssrc);
|
||||||
|
|
||||||
void UpdateAggregateNetworkState();
|
void UpdateAggregateNetworkState();
|
||||||
|
@ -409,21 +395,12 @@ class Call final : public webrtc::Call,
|
||||||
// creates them.
|
// creates them.
|
||||||
// TODO(bugs.webrtc.org/11993): Move audio_receive_streams_,
|
// TODO(bugs.webrtc.org/11993): Move audio_receive_streams_,
|
||||||
// video_receive_streams_ over to the network thread.
|
// video_receive_streams_ over to the network thread.
|
||||||
<<<<<<< HEAD
|
|
||||||
std::set<AudioReceiveStream*> audio_receive_streams_
|
|
||||||
RTC_GUARDED_BY(worker_thread_);
|
|
||||||
std::set<VideoReceiveStream2*> video_receive_streams_
|
|
||||||
RTC_GUARDED_BY(worker_thread_);
|
|
||||||
// TODO(nisse): Should eventually be injected at creation,
|
|
||||||
// with a single object in the bundled case.
|
|
||||||
=======
|
|
||||||
std::set<AudioReceiveStreamImpl*> audio_receive_streams_
|
std::set<AudioReceiveStreamImpl*> audio_receive_streams_
|
||||||
RTC_GUARDED_BY(worker_thread_);
|
RTC_GUARDED_BY(worker_thread_);
|
||||||
std::set<VideoReceiveStream2*> video_receive_streams_
|
std::set<VideoReceiveStream2*> video_receive_streams_
|
||||||
RTC_GUARDED_BY(worker_thread_);
|
RTC_GUARDED_BY(worker_thread_);
|
||||||
// TODO(bugs.webrtc.org/7135, bugs.webrtc.org/9719): Should eventually be
|
// TODO(bugs.webrtc.org/7135, bugs.webrtc.org/9719): Should eventually be
|
||||||
// injected at creation, with a single object in the bundled case.
|
// injected at creation, with a single object in the bundled case.
|
||||||
>>>>>>> m108
|
|
||||||
RtpStreamReceiverController audio_receiver_controller_
|
RtpStreamReceiverController audio_receiver_controller_
|
||||||
RTC_GUARDED_BY(worker_thread_);
|
RTC_GUARDED_BY(worker_thread_);
|
||||||
RtpStreamReceiverController video_receiver_controller_
|
RtpStreamReceiverController video_receiver_controller_
|
||||||
|
@ -436,11 +413,7 @@ class Call final : public webrtc::Call,
|
||||||
|
|
||||||
// TODO(bugs.webrtc.org/11993): Move receive_rtp_config_ over to the
|
// TODO(bugs.webrtc.org/11993): Move receive_rtp_config_ over to the
|
||||||
// network thread.
|
// network thread.
|
||||||
<<<<<<< HEAD
|
|
||||||
std::map<uint32_t, ReceiveStream*> receive_rtp_config_
|
|
||||||
=======
|
|
||||||
std::map<uint32_t, ReceiveStreamInterface*> receive_rtp_config_
|
std::map<uint32_t, ReceiveStreamInterface*> receive_rtp_config_
|
||||||
>>>>>>> m108
|
|
||||||
RTC_GUARDED_BY(&receive_11993_checker_);
|
RTC_GUARDED_BY(&receive_11993_checker_);
|
||||||
|
|
||||||
// Audio and Video send streams are owned by the client that creates them.
|
// Audio and Video send streams are owned by the client that creates them.
|
||||||
|
@ -541,104 +514,7 @@ Call* Call::Create(const Call::Config& config,
|
||||||
transportControllerSend) {
|
transportControllerSend) {
|
||||||
RTC_DCHECK(config.task_queue_factory);
|
RTC_DCHECK(config.task_queue_factory);
|
||||||
return new internal::Call(clock, config, std::move(transportControllerSend),
|
return new internal::Call(clock, config, std::move(transportControllerSend),
|
||||||
<<<<<<< HEAD
|
|
||||||
std::move(call_thread), config.task_queue_factory);
|
|
||||||
}
|
|
||||||
|
|
||||||
class SharedModuleThread::Impl {
|
|
||||||
public:
|
|
||||||
Impl(std::unique_ptr<ProcessThread> process_thread,
|
|
||||||
std::function<void()> on_one_ref_remaining)
|
|
||||||
: module_thread_(std::move(process_thread)),
|
|
||||||
on_one_ref_remaining_(std::move(on_one_ref_remaining)) {}
|
|
||||||
|
|
||||||
void EnsureStarted() {
|
|
||||||
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
|
||||||
if (started_)
|
|
||||||
return;
|
|
||||||
started_ = true;
|
|
||||||
module_thread_->Start();
|
|
||||||
}
|
|
||||||
|
|
||||||
ProcessThread* process_thread() {
|
|
||||||
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
|
||||||
return module_thread_.get();
|
|
||||||
}
|
|
||||||
|
|
||||||
void AddRef() const {
|
|
||||||
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
|
||||||
++ref_count_;
|
|
||||||
}
|
|
||||||
|
|
||||||
rtc::RefCountReleaseStatus Release() const {
|
|
||||||
RTC_DCHECK_RUN_ON(&sequence_checker_);
|
|
||||||
--ref_count_;
|
|
||||||
|
|
||||||
if (ref_count_ == 0) {
|
|
||||||
module_thread_->Stop();
|
|
||||||
return rtc::RefCountReleaseStatus::kDroppedLastRef;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ref_count_ == 1 && on_one_ref_remaining_) {
|
|
||||||
auto moved_fn = std::move(on_one_ref_remaining_);
|
|
||||||
// NOTE: after this function returns, chances are that `this` has been
|
|
||||||
// deleted - do not touch any member variables.
|
|
||||||
// If the owner of the last reference implements a lambda that releases
|
|
||||||
// that last reference inside of the callback (which is legal according
|
|
||||||
// to this implementation), we will recursively enter Release() above,
|
|
||||||
// call Stop() and release the last reference.
|
|
||||||
moved_fn();
|
|
||||||
}
|
|
||||||
|
|
||||||
return rtc::RefCountReleaseStatus::kOtherRefsRemained;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
RTC_NO_UNIQUE_ADDRESS SequenceChecker sequence_checker_;
|
|
||||||
mutable int ref_count_ RTC_GUARDED_BY(sequence_checker_) = 0;
|
|
||||||
std::unique_ptr<ProcessThread> const module_thread_;
|
|
||||||
std::function<void()> const on_one_ref_remaining_;
|
|
||||||
bool started_ = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
SharedModuleThread::SharedModuleThread(
|
|
||||||
std::unique_ptr<ProcessThread> process_thread,
|
|
||||||
std::function<void()> on_one_ref_remaining)
|
|
||||||
: impl_(std::make_unique<Impl>(std::move(process_thread),
|
|
||||||
std::move(on_one_ref_remaining))) {}
|
|
||||||
|
|
||||||
SharedModuleThread::~SharedModuleThread() = default;
|
|
||||||
|
|
||||||
// static
|
|
||||||
|
|
||||||
rtc::scoped_refptr<SharedModuleThread> SharedModuleThread::Create(
|
|
||||||
std::unique_ptr<ProcessThread> process_thread,
|
|
||||||
std::function<void()> on_one_ref_remaining) {
|
|
||||||
// Using `new` to access a non-public constructor.
|
|
||||||
return rtc::scoped_refptr<SharedModuleThread>(new SharedModuleThread(
|
|
||||||
std::move(process_thread), std::move(on_one_ref_remaining)));
|
|
||||||
}
|
|
||||||
|
|
||||||
void SharedModuleThread::EnsureStarted() {
|
|
||||||
impl_->EnsureStarted();
|
|
||||||
}
|
|
||||||
|
|
||||||
ProcessThread* SharedModuleThread::process_thread() {
|
|
||||||
return impl_->process_thread();
|
|
||||||
}
|
|
||||||
|
|
||||||
void SharedModuleThread::AddRef() const {
|
|
||||||
impl_->AddRef();
|
|
||||||
}
|
|
||||||
|
|
||||||
rtc::RefCountReleaseStatus SharedModuleThread::Release() const {
|
|
||||||
auto ret = impl_->Release();
|
|
||||||
if (ret == rtc::RefCountReleaseStatus::kDroppedLastRef)
|
|
||||||
delete this;
|
|
||||||
return ret;
|
|
||||||
=======
|
|
||||||
config.task_queue_factory);
|
config.task_queue_factory);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This method here to avoid subclasses has to implement this method.
|
// This method here to avoid subclasses has to implement this method.
|
||||||
|
@ -1028,11 +904,7 @@ void Call::DestroyAudioReceiveStream(
|
||||||
// After calling erase(), call ConfigureSync. This will clear associated
|
// After calling erase(), call ConfigureSync. This will clear associated
|
||||||
// video streams or associate them with a different audio stream if one exists
|
// video streams or associate them with a different audio stream if one exists
|
||||||
// for this sync_group.
|
// for this sync_group.
|
||||||
<<<<<<< HEAD
|
|
||||||
ConfigureSync(audio_receive_stream->config().sync_group);
|
|
||||||
=======
|
|
||||||
ConfigureSync(audio_receive_stream->sync_group());
|
ConfigureSync(audio_receive_stream->sync_group());
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
UnregisterReceiveStream(ssrc);
|
UnregisterReceiveStream(ssrc);
|
||||||
|
|
||||||
|
@ -1169,11 +1041,7 @@ webrtc::VideoReceiveStreamInterface* Call::CreateVideoReceiveStream(
|
||||||
task_queue_factory_, this, num_cpu_cores_,
|
task_queue_factory_, this, num_cpu_cores_,
|
||||||
transport_send_->packet_router(), std::move(configuration),
|
transport_send_->packet_router(), std::move(configuration),
|
||||||
call_stats_.get(), clock_, std::make_unique<VCMTiming>(clock_, trials()),
|
call_stats_.get(), clock_, std::make_unique<VCMTiming>(clock_, trials()),
|
||||||
<<<<<<< HEAD
|
|
||||||
&nack_periodic_processor_, decode_sync_.get());
|
|
||||||
=======
|
|
||||||
&nack_periodic_processor_, decode_sync_.get(), event_log_);
|
&nack_periodic_processor_, decode_sync_.get(), event_log_);
|
||||||
>>>>>>> m108
|
|
||||||
// TODO(bugs.webrtc.org/11993): Set this up asynchronously on the network
|
// TODO(bugs.webrtc.org/11993): Set this up asynchronously on the network
|
||||||
// thread.
|
// thread.
|
||||||
receive_stream->RegisterWithTransport(&video_receiver_controller_);
|
receive_stream->RegisterWithTransport(&video_receiver_controller_);
|
||||||
|
@ -1183,15 +1051,9 @@ webrtc::VideoReceiveStreamInterface* Call::CreateVideoReceiveStream(
|
||||||
// stream. Since the transport_send_cc negotiation is per payload
|
// stream. Since the transport_send_cc negotiation is per payload
|
||||||
// type, we may get an incorrect value for the rtx stream, but
|
// type, we may get an incorrect value for the rtx stream, but
|
||||||
// that is unlikely to matter in practice.
|
// that is unlikely to matter in practice.
|
||||||
<<<<<<< HEAD
|
|
||||||
RegisterReceiveStream(rtp.rtx_ssrc, receive_stream);
|
|
||||||
}
|
|
||||||
RegisterReceiveStream(rtp.remote_ssrc, receive_stream);
|
|
||||||
=======
|
|
||||||
RegisterReceiveStream(receive_stream->rtx_ssrc(), receive_stream);
|
RegisterReceiveStream(receive_stream->rtx_ssrc(), receive_stream);
|
||||||
}
|
}
|
||||||
RegisterReceiveStream(receive_stream->remote_ssrc(), receive_stream);
|
RegisterReceiveStream(receive_stream->remote_ssrc(), receive_stream);
|
||||||
>>>>>>> m108
|
|
||||||
video_receive_streams_.insert(receive_stream);
|
video_receive_streams_.insert(receive_stream);
|
||||||
|
|
||||||
ConfigureSync(receive_stream->sync_group());
|
ConfigureSync(receive_stream->sync_group());
|
||||||
|
@ -1213,16 +1075,10 @@ void Call::DestroyVideoReceiveStream(
|
||||||
|
|
||||||
// Remove all ssrcs pointing to a receive stream. As RTX retransmits on a
|
// Remove all ssrcs pointing to a receive stream. As RTX retransmits on a
|
||||||
// separate SSRC there can be either one or two.
|
// separate SSRC there can be either one or two.
|
||||||
<<<<<<< HEAD
|
|
||||||
UnregisterReceiveStream(rtp.remote_ssrc);
|
|
||||||
if (rtp.rtx_ssrc) {
|
|
||||||
UnregisterReceiveStream(rtp.rtx_ssrc);
|
|
||||||
=======
|
|
||||||
UnregisterReceiveStream(receive_stream_impl->remote_ssrc());
|
UnregisterReceiveStream(receive_stream_impl->remote_ssrc());
|
||||||
|
|
||||||
if (receive_stream_impl->rtx_ssrc()) {
|
if (receive_stream_impl->rtx_ssrc()) {
|
||||||
UnregisterReceiveStream(receive_stream_impl->rtx_ssrc());
|
UnregisterReceiveStream(receive_stream_impl->rtx_ssrc());
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
video_receive_streams_.erase(receive_stream_impl);
|
video_receive_streams_.erase(receive_stream_impl);
|
||||||
ConfigureSync(receive_stream_impl->sync_group());
|
ConfigureSync(receive_stream_impl->sync_group());
|
||||||
|
@ -1250,11 +1106,7 @@ FlexfecReceiveStream* Call::CreateFlexfecReceiveStream(
|
||||||
// TODO(bugs.webrtc.org/11993): Set this up asynchronously on the network
|
// TODO(bugs.webrtc.org/11993): Set this up asynchronously on the network
|
||||||
// thread.
|
// thread.
|
||||||
receive_stream->RegisterWithTransport(&video_receiver_controller_);
|
receive_stream->RegisterWithTransport(&video_receiver_controller_);
|
||||||
<<<<<<< HEAD
|
|
||||||
RegisterReceiveStream(config.rtp.remote_ssrc, receive_stream);
|
|
||||||
=======
|
|
||||||
RegisterReceiveStream(receive_stream->remote_ssrc(), receive_stream);
|
RegisterReceiveStream(receive_stream->remote_ssrc(), receive_stream);
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
// TODO(brandtr): Store config in RtcEventLog here.
|
// TODO(brandtr): Store config in RtcEventLog here.
|
||||||
|
|
||||||
|
@ -1270,14 +1122,8 @@ void Call::DestroyFlexfecReceiveStream(FlexfecReceiveStream* receive_stream) {
|
||||||
// TODO(bugs.webrtc.org/11993): Unregister on the network thread.
|
// TODO(bugs.webrtc.org/11993): Unregister on the network thread.
|
||||||
receive_stream_impl->UnregisterFromTransport();
|
receive_stream_impl->UnregisterFromTransport();
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
RTC_DCHECK(receive_stream != nullptr);
|
|
||||||
const FlexfecReceiveStream::RtpConfig& rtp = receive_stream->rtp_config();
|
|
||||||
UnregisterReceiveStream(rtp.remote_ssrc);
|
|
||||||
=======
|
|
||||||
auto ssrc = receive_stream_impl->remote_ssrc();
|
auto ssrc = receive_stream_impl->remote_ssrc();
|
||||||
UnregisterReceiveStream(ssrc);
|
UnregisterReceiveStream(ssrc);
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
// Remove all SSRCs pointing to the FlexfecReceiveStreamImpl to be
|
// Remove all SSRCs pointing to the FlexfecReceiveStreamImpl to be
|
||||||
// destroyed.
|
// destroyed.
|
||||||
|
@ -1503,15 +1349,6 @@ void Call::OnAllocationLimitsChanged(BitrateAllocationLimits limits) {
|
||||||
std::memory_order_relaxed);
|
std::memory_order_relaxed);
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
// RTC_RUN_ON(worker_thread_)
|
|
||||||
AudioReceiveStream* Call::FindAudioStreamForSyncGroup(
|
|
||||||
const std::string& sync_group) {
|
|
||||||
RTC_DCHECK_RUN_ON(&receive_11993_checker_);
|
|
||||||
if (!sync_group.empty()) {
|
|
||||||
for (AudioReceiveStream* stream : audio_receive_streams_) {
|
|
||||||
if (stream->config().sync_group == sync_group)
|
|
||||||
=======
|
|
||||||
AudioReceiveStreamImpl* Call::FindAudioStreamForSyncGroup(
|
AudioReceiveStreamImpl* Call::FindAudioStreamForSyncGroup(
|
||||||
absl::string_view sync_group) {
|
absl::string_view sync_group) {
|
||||||
RTC_DCHECK_RUN_ON(worker_thread_);
|
RTC_DCHECK_RUN_ON(worker_thread_);
|
||||||
|
@ -1519,7 +1356,6 @@ AudioReceiveStreamImpl* Call::FindAudioStreamForSyncGroup(
|
||||||
if (!sync_group.empty()) {
|
if (!sync_group.empty()) {
|
||||||
for (AudioReceiveStreamImpl* stream : audio_receive_streams_) {
|
for (AudioReceiveStreamImpl* stream : audio_receive_streams_) {
|
||||||
if (stream->sync_group() == sync_group)
|
if (stream->sync_group() == sync_group)
|
||||||
>>>>>>> m108
|
|
||||||
return stream;
|
return stream;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1527,20 +1363,12 @@ AudioReceiveStreamImpl* Call::FindAudioStreamForSyncGroup(
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
// TODO(bugs.webrtc.org/11993): Expect to be called on the network thread.
|
|
||||||
// RTC_RUN_ON(worker_thread_)
|
|
||||||
void Call::ConfigureSync(const std::string& sync_group) {
|
|
||||||
// `audio_stream` may be nullptr when clearing the audio stream for a group.
|
|
||||||
AudioReceiveStream* audio_stream = FindAudioStreamForSyncGroup(sync_group);
|
|
||||||
=======
|
|
||||||
void Call::ConfigureSync(absl::string_view sync_group) {
|
void Call::ConfigureSync(absl::string_view sync_group) {
|
||||||
// TODO(bugs.webrtc.org/11993): Expect to be called on the network thread.
|
// TODO(bugs.webrtc.org/11993): Expect to be called on the network thread.
|
||||||
RTC_DCHECK_RUN_ON(worker_thread_);
|
RTC_DCHECK_RUN_ON(worker_thread_);
|
||||||
// `audio_stream` may be nullptr when clearing the audio stream for a group.
|
// `audio_stream` may be nullptr when clearing the audio stream for a group.
|
||||||
AudioReceiveStreamImpl* audio_stream =
|
AudioReceiveStreamImpl* audio_stream =
|
||||||
FindAudioStreamForSyncGroup(sync_group);
|
FindAudioStreamForSyncGroup(sync_group);
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
size_t num_synced_streams = 0;
|
size_t num_synced_streams = 0;
|
||||||
for (VideoReceiveStream2* video_stream : video_receive_streams_) {
|
for (VideoReceiveStream2* video_stream : video_receive_streams_) {
|
||||||
|
@ -1707,10 +1535,7 @@ void Call::OnRecoveredPacket(const uint8_t* packet, size_t length) {
|
||||||
void Call::NotifyBweOfReceivedPacket(const RtpPacketReceived& packet,
|
void Call::NotifyBweOfReceivedPacket(const RtpPacketReceived& packet,
|
||||||
MediaType media_type,
|
MediaType media_type,
|
||||||
bool use_send_side_bwe) {
|
bool use_send_side_bwe) {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
RTC_DCHECK_RUN_ON(worker_thread_);
|
RTC_DCHECK_RUN_ON(worker_thread_);
|
||||||
>>>>>>> m108
|
|
||||||
RTPHeader header;
|
RTPHeader header;
|
||||||
packet.GetHeader(&header);
|
packet.GetHeader(&header);
|
||||||
|
|
||||||
|
@ -1745,29 +1570,17 @@ bool Call::IdentifyReceivedPacket(RtpPacketReceived& packet,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
packet.IdentifyExtensions(
|
|
||||||
RtpHeaderExtensionMap(it->second->rtp_config().extensions));
|
|
||||||
|
|
||||||
if (use_send_side_bwe) {
|
|
||||||
*use_send_side_bwe = UseSendSideBwe(it->second->rtp_config());
|
|
||||||
=======
|
|
||||||
packet.IdentifyExtensions(it->second->GetRtpExtensionMap());
|
packet.IdentifyExtensions(it->second->GetRtpExtensionMap());
|
||||||
|
|
||||||
if (use_send_side_bwe) {
|
if (use_send_side_bwe) {
|
||||||
*use_send_side_bwe = UseSendSideBwe(it->second);
|
*use_send_side_bwe = UseSendSideBwe(it->second);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
bool Call::RegisterReceiveStream(uint32_t ssrc, ReceiveStream* stream) {
|
|
||||||
=======
|
|
||||||
bool Call::RegisterReceiveStream(uint32_t ssrc,
|
bool Call::RegisterReceiveStream(uint32_t ssrc,
|
||||||
ReceiveStreamInterface* stream) {
|
ReceiveStreamInterface* stream) {
|
||||||
>>>>>>> m108
|
|
||||||
RTC_DCHECK_RUN_ON(&receive_11993_checker_);
|
RTC_DCHECK_RUN_ON(&receive_11993_checker_);
|
||||||
RTC_DCHECK(stream);
|
RTC_DCHECK(stream);
|
||||||
auto inserted = receive_rtp_config_.emplace(ssrc, stream);
|
auto inserted = receive_rtp_config_.emplace(ssrc, stream);
|
||||||
|
|
35
call/call.h
35
call/call.h
|
@ -34,41 +34,6 @@
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
// A restricted way to share the module process thread across multiple instances
|
|
||||||
// of Call that are constructed on the same worker thread (which is what the
|
|
||||||
// peer connection factory guarantees).
|
|
||||||
// SharedModuleThread supports a callback that is issued when only one reference
|
|
||||||
// remains, which is used to indicate to the original owner that the thread may
|
|
||||||
// be discarded.
|
|
||||||
class SharedModuleThread final {
|
|
||||||
public:
|
|
||||||
// Allows injection of an externally created process thread.
|
|
||||||
static rtc::scoped_refptr<SharedModuleThread> Create(
|
|
||||||
std::unique_ptr<ProcessThread> process_thread,
|
|
||||||
std::function<void()> on_one_ref_remaining);
|
|
||||||
|
|
||||||
void EnsureStarted();
|
|
||||||
|
|
||||||
ProcessThread* process_thread();
|
|
||||||
|
|
||||||
private:
|
|
||||||
friend class rtc::scoped_refptr<SharedModuleThread>;
|
|
||||||
SharedModuleThread(std::unique_ptr<ProcessThread> process_thread,
|
|
||||||
std::function<void()> on_one_ref_remaining);
|
|
||||||
~SharedModuleThread();
|
|
||||||
|
|
||||||
void AddRef() const;
|
|
||||||
rtc::RefCountReleaseStatus Release() const;
|
|
||||||
|
|
||||||
class Impl;
|
|
||||||
mutable std::unique_ptr<Impl> impl_;
|
|
||||||
};
|
|
||||||
=======
|
|
||||||
// A Call represents a two-way connection carrying zero or more outgoing
|
|
||||||
// and incoming media streams, transported over one or more RTP transports.
|
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
// A Call represents a two-way connection carrying zero or more outgoing
|
// A Call represents a two-way connection carrying zero or more outgoing
|
||||||
// and incoming media streams, transported over one or more RTP transports.
|
// and incoming media streams, transported over one or more RTP transports.
|
||||||
|
|
||||||
|
|
|
@ -31,115 +31,6 @@
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
namespace {
|
namespace {
|
||||||
using TimeScopedNetworkConfig = DegradedCall::TimeScopedNetworkConfig;
|
using TimeScopedNetworkConfig = DegradedCall::TimeScopedNetworkConfig;
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
bool ParseConfigParam(const FieldTrialsView& trials,
|
|
||||||
absl::string_view exp_name,
|
|
||||||
int* field) {
|
|
||||||
std::string group = trials.Lookup(exp_name);
|
|
||||||
if (group.empty())
|
|
||||||
return false;
|
|
||||||
|
|
||||||
return (sscanf(group.c_str(), "%d", field) == 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
absl::optional<TimeScopedNetworkConfig> ParseDegradationConfig(
|
|
||||||
const FieldTrialsView& trials,
|
|
||||||
bool send) {
|
|
||||||
std::string exp_prefix = "WebRTCFakeNetwork";
|
|
||||||
if (send) {
|
|
||||||
exp_prefix += "Send";
|
|
||||||
} else {
|
|
||||||
exp_prefix += "Receive";
|
|
||||||
}
|
|
||||||
|
|
||||||
TimeScopedNetworkConfig config;
|
|
||||||
bool configured = false;
|
|
||||||
configured |=
|
|
||||||
ParseConfigParam(trials, exp_prefix + "DelayMs", &config.queue_delay_ms);
|
|
||||||
configured |= ParseConfigParam(trials, exp_prefix + "DelayStdDevMs",
|
|
||||||
&config.delay_standard_deviation_ms);
|
|
||||||
int queue_length = 0;
|
|
||||||
if (ParseConfigParam(trials, exp_prefix + "QueueLength", &queue_length)) {
|
|
||||||
RTC_CHECK_GE(queue_length, 0);
|
|
||||||
config.queue_length_packets = queue_length;
|
|
||||||
configured = true;
|
|
||||||
}
|
|
||||||
configured |= ParseConfigParam(trials, exp_prefix + "CapacityKbps",
|
|
||||||
&config.link_capacity_kbps);
|
|
||||||
configured |= ParseConfigParam(trials, exp_prefix + "LossPercent",
|
|
||||||
&config.loss_percent);
|
|
||||||
int allow_reordering = 0;
|
|
||||||
if (ParseConfigParam(trials, exp_prefix + "AllowReordering",
|
|
||||||
&allow_reordering)) {
|
|
||||||
config.allow_reordering = true;
|
|
||||||
configured = true;
|
|
||||||
}
|
|
||||||
configured |= ParseConfigParam(trials, exp_prefix + "AvgBurstLossLength",
|
|
||||||
&config.avg_burst_loss_length);
|
|
||||||
return configured ? absl::optional<TimeScopedNetworkConfig>(config)
|
|
||||||
: absl::nullopt;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector<TimeScopedNetworkConfig> GetNetworkConfigs(
|
|
||||||
const FieldTrialsView& trials,
|
|
||||||
bool send) {
|
|
||||||
FieldTrialStructList<TimeScopedNetworkConfig> trials_list(
|
|
||||||
{FieldTrialStructMember("queue_length_packets",
|
|
||||||
[](TimeScopedNetworkConfig* p) {
|
|
||||||
// FieldTrialParser does not natively support
|
|
||||||
// size_t type, so use this ugly cast as
|
|
||||||
// workaround.
|
|
||||||
return reinterpret_cast<unsigned*>(
|
|
||||||
&p->queue_length_packets);
|
|
||||||
}),
|
|
||||||
FieldTrialStructMember(
|
|
||||||
"queue_delay_ms",
|
|
||||||
[](TimeScopedNetworkConfig* p) { return &p->queue_delay_ms; }),
|
|
||||||
FieldTrialStructMember("delay_standard_deviation_ms",
|
|
||||||
[](TimeScopedNetworkConfig* p) {
|
|
||||||
return &p->delay_standard_deviation_ms;
|
|
||||||
}),
|
|
||||||
FieldTrialStructMember(
|
|
||||||
"link_capacity_kbps",
|
|
||||||
[](TimeScopedNetworkConfig* p) { return &p->link_capacity_kbps; }),
|
|
||||||
FieldTrialStructMember(
|
|
||||||
"loss_percent",
|
|
||||||
[](TimeScopedNetworkConfig* p) { return &p->loss_percent; }),
|
|
||||||
FieldTrialStructMember(
|
|
||||||
"allow_reordering",
|
|
||||||
[](TimeScopedNetworkConfig* p) { return &p->allow_reordering; }),
|
|
||||||
FieldTrialStructMember("avg_burst_loss_length",
|
|
||||||
[](TimeScopedNetworkConfig* p) {
|
|
||||||
return &p->avg_burst_loss_length;
|
|
||||||
}),
|
|
||||||
FieldTrialStructMember(
|
|
||||||
"packet_overhead",
|
|
||||||
[](TimeScopedNetworkConfig* p) { return &p->packet_overhead; }),
|
|
||||||
FieldTrialStructMember("codel_active_queue_management",
|
|
||||||
[](TimeScopedNetworkConfig* p) {
|
|
||||||
return &p->codel_active_queue_management;
|
|
||||||
}),
|
|
||||||
FieldTrialStructMember(
|
|
||||||
"duration",
|
|
||||||
[](TimeScopedNetworkConfig* p) { return &p->duration; })},
|
|
||||||
{});
|
|
||||||
ParseFieldTrial({&trials_list},
|
|
||||||
trials.Lookup(send ? "WebRTC-FakeNetworkSendConfig"
|
|
||||||
: "WebRTC-FakeNetworkReceiveConfig"));
|
|
||||||
std::vector<TimeScopedNetworkConfig> configs = trials_list.Get();
|
|
||||||
if (configs.empty()) {
|
|
||||||
// Try legacy fallback trials.
|
|
||||||
absl::optional<DegradedCall::TimeScopedNetworkConfig> fallback_config =
|
|
||||||
ParseDegradationConfig(trials, send);
|
|
||||||
if (fallback_config.has_value()) {
|
|
||||||
configs.push_back(*fallback_config);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return configs;
|
|
||||||
}
|
|
||||||
|
|
||||||
=======
|
|
||||||
|
|
||||||
std::vector<TimeScopedNetworkConfig> GetNetworkConfigs(
|
std::vector<TimeScopedNetworkConfig> GetNetworkConfigs(
|
||||||
const FieldTrialsView& trials,
|
const FieldTrialsView& trials,
|
||||||
|
@ -186,7 +77,6 @@ std::vector<TimeScopedNetworkConfig> GetNetworkConfigs(
|
||||||
return trials_list.Get();
|
return trials_list.Get();
|
||||||
}
|
}
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
CallFactory::CallFactory() {
|
CallFactory::CallFactory() {
|
||||||
|
@ -205,25 +95,10 @@ Call* CallFactory::CreateCall(const Call::Config& config) {
|
||||||
|
|
||||||
RtpTransportConfig transportConfig = config.ExtractTransportConfig();
|
RtpTransportConfig transportConfig = config.ExtractTransportConfig();
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
if (!send_degradation_configs.empty() ||
|
|
||||||
!receive_degradation_configs.empty()) {
|
|
||||||
return new DegradedCall(
|
|
||||||
std::unique_ptr<Call>(Call::Create(
|
|
||||||
config, Clock::GetRealTimeClock(),
|
|
||||||
SharedModuleThread::Create(
|
|
||||||
ProcessThread::Create("ModuleProcessThread"), nullptr),
|
|
||||||
config.rtp_transport_controller_send_factory->Create(
|
|
||||||
transportConfig, Clock::GetRealTimeClock(),
|
|
||||||
ProcessThread::Create("PacerThread")))),
|
|
||||||
send_degradation_configs, receive_degradation_configs);
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
Call* call =
|
Call* call =
|
||||||
Call::Create(config, Clock::GetRealTimeClock(),
|
Call::Create(config, Clock::GetRealTimeClock(),
|
||||||
config.rtp_transport_controller_send_factory->Create(
|
config.rtp_transport_controller_send_factory->Create(
|
||||||
transportConfig, Clock::GetRealTimeClock()));
|
transportConfig, Clock::GetRealTimeClock()));
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
if (!send_degradation_configs.empty() ||
|
if (!send_degradation_configs.empty() ||
|
||||||
!receive_degradation_configs.empty()) {
|
!receive_degradation_configs.empty()) {
|
||||||
|
|
|
@ -21,20 +21,12 @@ namespace webrtc {
|
||||||
|
|
||||||
DegradedCall::FakeNetworkPipeOnTaskQueue::FakeNetworkPipeOnTaskQueue(
|
DegradedCall::FakeNetworkPipeOnTaskQueue::FakeNetworkPipeOnTaskQueue(
|
||||||
TaskQueueBase* task_queue,
|
TaskQueueBase* task_queue,
|
||||||
<<<<<<< HEAD
|
|
||||||
const ScopedTaskSafety& task_safety,
|
|
||||||
=======
|
|
||||||
rtc::scoped_refptr<PendingTaskSafetyFlag> call_alive,
|
rtc::scoped_refptr<PendingTaskSafetyFlag> call_alive,
|
||||||
>>>>>>> m108
|
|
||||||
Clock* clock,
|
Clock* clock,
|
||||||
std::unique_ptr<NetworkBehaviorInterface> network_behavior)
|
std::unique_ptr<NetworkBehaviorInterface> network_behavior)
|
||||||
: clock_(clock),
|
: clock_(clock),
|
||||||
task_queue_(task_queue),
|
task_queue_(task_queue),
|
||||||
<<<<<<< HEAD
|
|
||||||
task_safety_(task_safety),
|
|
||||||
=======
|
|
||||||
call_alive_(std::move(call_alive)),
|
call_alive_(std::move(call_alive)),
|
||||||
>>>>>>> m108
|
|
||||||
pipe_(clock, std::move(network_behavior)) {}
|
pipe_(clock, std::move(network_behavior)) {}
|
||||||
|
|
||||||
void DegradedCall::FakeNetworkPipeOnTaskQueue::SendRtp(
|
void DegradedCall::FakeNetworkPipeOnTaskQueue::SendRtp(
|
||||||
|
@ -71,26 +63,12 @@ bool DegradedCall::FakeNetworkPipeOnTaskQueue::Process() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
task_queue_->PostTask(ToQueuedTask(task_safety_, [this, time_to_next] {
|
|
||||||
=======
|
|
||||||
task_queue_->PostTask(SafeTask(call_alive_, [this, time_to_next] {
|
task_queue_->PostTask(SafeTask(call_alive_, [this, time_to_next] {
|
||||||
>>>>>>> m108
|
|
||||||
RTC_DCHECK_RUN_ON(task_queue_);
|
RTC_DCHECK_RUN_ON(task_queue_);
|
||||||
int64_t next_process_time = *time_to_next + clock_->TimeInMilliseconds();
|
int64_t next_process_time = *time_to_next + clock_->TimeInMilliseconds();
|
||||||
if (!next_process_ms_ || next_process_time < *next_process_ms_) {
|
if (!next_process_ms_ || next_process_time < *next_process_ms_) {
|
||||||
next_process_ms_ = next_process_time;
|
next_process_ms_ = next_process_time;
|
||||||
task_queue_->PostDelayedHighPrecisionTask(
|
task_queue_->PostDelayedHighPrecisionTask(
|
||||||
<<<<<<< HEAD
|
|
||||||
ToQueuedTask(task_safety_,
|
|
||||||
[this] {
|
|
||||||
RTC_DCHECK_RUN_ON(task_queue_);
|
|
||||||
if (!Process()) {
|
|
||||||
next_process_ms_.reset();
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
*time_to_next);
|
|
||||||
=======
|
|
||||||
SafeTask(call_alive_,
|
SafeTask(call_alive_,
|
||||||
[this] {
|
[this] {
|
||||||
RTC_DCHECK_RUN_ON(task_queue_);
|
RTC_DCHECK_RUN_ON(task_queue_);
|
||||||
|
@ -99,7 +77,6 @@ bool DegradedCall::FakeNetworkPipeOnTaskQueue::Process() {
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
TimeDelta::Millis(*time_to_next));
|
TimeDelta::Millis(*time_to_next));
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
@ -205,10 +182,7 @@ DegradedCall::DegradedCall(
|
||||||
const std::vector<TimeScopedNetworkConfig>& receive_configs)
|
const std::vector<TimeScopedNetworkConfig>& receive_configs)
|
||||||
: clock_(Clock::GetRealTimeClock()),
|
: clock_(Clock::GetRealTimeClock()),
|
||||||
call_(std::move(call)),
|
call_(std::move(call)),
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
call_alive_(PendingTaskSafetyFlag::CreateDetached()),
|
call_alive_(PendingTaskSafetyFlag::CreateDetached()),
|
||||||
>>>>>>> m108
|
|
||||||
send_config_index_(0),
|
send_config_index_(0),
|
||||||
send_configs_(send_configs),
|
send_configs_(send_configs),
|
||||||
send_simulated_network_(nullptr),
|
send_simulated_network_(nullptr),
|
||||||
|
@ -219,13 +193,6 @@ DegradedCall::DegradedCall(
|
||||||
receive_simulated_network_ = network.get();
|
receive_simulated_network_ = network.get();
|
||||||
receive_pipe_ =
|
receive_pipe_ =
|
||||||
std::make_unique<webrtc::FakeNetworkPipe>(clock_, std::move(network));
|
std::make_unique<webrtc::FakeNetworkPipe>(clock_, std::move(network));
|
||||||
<<<<<<< HEAD
|
|
||||||
receive_pipe_->SetReceiver(call_->Receiver());
|
|
||||||
if (receive_configs_.size() > 1) {
|
|
||||||
call_->network_thread()->PostDelayedTask(
|
|
||||||
ToQueuedTask(task_safety_, [this] { UpdateReceiveNetworkConfig(); }),
|
|
||||||
receive_configs_[0].duration.ms());
|
|
||||||
=======
|
|
||||||
packet_receiver_ = std::make_unique<ThreadedPacketReceiver>(
|
packet_receiver_ = std::make_unique<ThreadedPacketReceiver>(
|
||||||
call_->worker_thread(), call_->network_thread(), call_alive_,
|
call_->worker_thread(), call_->network_thread(), call_alive_,
|
||||||
call_->Receiver());
|
call_->Receiver());
|
||||||
|
@ -234,26 +201,17 @@ DegradedCall::DegradedCall(
|
||||||
call_->network_thread()->PostDelayedTask(
|
call_->network_thread()->PostDelayedTask(
|
||||||
SafeTask(call_alive_, [this] { UpdateReceiveNetworkConfig(); }),
|
SafeTask(call_alive_, [this] { UpdateReceiveNetworkConfig(); }),
|
||||||
receive_configs_[0].duration);
|
receive_configs_[0].duration);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!send_configs_.empty()) {
|
if (!send_configs_.empty()) {
|
||||||
auto network = std::make_unique<SimulatedNetwork>(send_configs_[0]);
|
auto network = std::make_unique<SimulatedNetwork>(send_configs_[0]);
|
||||||
send_simulated_network_ = network.get();
|
send_simulated_network_ = network.get();
|
||||||
send_pipe_ = std::make_unique<FakeNetworkPipeOnTaskQueue>(
|
send_pipe_ = std::make_unique<FakeNetworkPipeOnTaskQueue>(
|
||||||
<<<<<<< HEAD
|
|
||||||
call_->network_thread(), task_safety_, clock_, std::move(network));
|
|
||||||
if (send_configs_.size() > 1) {
|
|
||||||
call_->network_thread()->PostDelayedTask(
|
|
||||||
ToQueuedTask(task_safety_, [this] { UpdateSendNetworkConfig(); }),
|
|
||||||
send_configs_[0].duration.ms());
|
|
||||||
=======
|
|
||||||
call_->network_thread(), call_alive_, clock_, std::move(network));
|
call_->network_thread(), call_alive_, clock_, std::move(network));
|
||||||
if (send_configs_.size() > 1) {
|
if (send_configs_.size() > 1) {
|
||||||
call_->network_thread()->PostDelayedTask(
|
call_->network_thread()->PostDelayedTask(
|
||||||
SafeTask(call_alive_, [this] { UpdateSendNetworkConfig(); }),
|
SafeTask(call_alive_, [this] { UpdateSendNetworkConfig(); }),
|
||||||
send_configs_[0].duration);
|
send_configs_[0].duration);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -460,13 +418,8 @@ void DegradedCall::UpdateSendNetworkConfig() {
|
||||||
send_config_index_ = (send_config_index_ + 1) % send_configs_.size();
|
send_config_index_ = (send_config_index_ + 1) % send_configs_.size();
|
||||||
send_simulated_network_->SetConfig(send_configs_[send_config_index_]);
|
send_simulated_network_->SetConfig(send_configs_[send_config_index_]);
|
||||||
call_->network_thread()->PostDelayedTask(
|
call_->network_thread()->PostDelayedTask(
|
||||||
<<<<<<< HEAD
|
|
||||||
ToQueuedTask(task_safety_, [this] { UpdateSendNetworkConfig(); }),
|
|
||||||
send_configs_[send_config_index_].duration.ms());
|
|
||||||
=======
|
|
||||||
SafeTask(call_alive_, [this] { UpdateSendNetworkConfig(); }),
|
SafeTask(call_alive_, [this] { UpdateSendNetworkConfig(); }),
|
||||||
send_configs_[send_config_index_].duration);
|
send_configs_[send_config_index_].duration);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DegradedCall::UpdateReceiveNetworkConfig() {
|
void DegradedCall::UpdateReceiveNetworkConfig() {
|
||||||
|
@ -474,12 +427,7 @@ void DegradedCall::UpdateReceiveNetworkConfig() {
|
||||||
receive_simulated_network_->SetConfig(
|
receive_simulated_network_->SetConfig(
|
||||||
receive_configs_[receive_config_index_]);
|
receive_configs_[receive_config_index_]);
|
||||||
call_->network_thread()->PostDelayedTask(
|
call_->network_thread()->PostDelayedTask(
|
||||||
<<<<<<< HEAD
|
|
||||||
ToQueuedTask(task_safety_, [this] { UpdateReceiveNetworkConfig(); }),
|
|
||||||
receive_configs_[receive_config_index_].duration.ms());
|
|
||||||
=======
|
|
||||||
SafeTask(call_alive_, [this] { UpdateReceiveNetworkConfig(); }),
|
SafeTask(call_alive_, [this] { UpdateReceiveNetworkConfig(); }),
|
||||||
receive_configs_[receive_config_index_].duration);
|
receive_configs_[receive_config_index_].duration);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
#include "rtc_base/copy_on_write_buffer.h"
|
#include "rtc_base/copy_on_write_buffer.h"
|
||||||
#include "rtc_base/network/sent_packet.h"
|
#include "rtc_base/network/sent_packet.h"
|
||||||
#include "rtc_base/task_queue.h"
|
#include "rtc_base/task_queue.h"
|
||||||
#include "rtc_base/task_utils/pending_task_safety_flag.h"
|
|
||||||
#include "system_wrappers/include/clock.h"
|
#include "system_wrappers/include/clock.h"
|
||||||
#include "video/config/video_encoder_config.h"
|
#include "video/config/video_encoder_config.h"
|
||||||
|
|
||||||
|
@ -123,11 +122,7 @@ class DegradedCall : public Call, private PacketReceiver {
|
||||||
public:
|
public:
|
||||||
FakeNetworkPipeOnTaskQueue(
|
FakeNetworkPipeOnTaskQueue(
|
||||||
TaskQueueBase* task_queue,
|
TaskQueueBase* task_queue,
|
||||||
<<<<<<< HEAD
|
|
||||||
const ScopedTaskSafety& task_safety,
|
|
||||||
=======
|
|
||||||
rtc::scoped_refptr<PendingTaskSafetyFlag> call_alive,
|
rtc::scoped_refptr<PendingTaskSafetyFlag> call_alive,
|
||||||
>>>>>>> m108
|
|
||||||
Clock* clock,
|
Clock* clock,
|
||||||
std::unique_ptr<NetworkBehaviorInterface> network_behavior);
|
std::unique_ptr<NetworkBehaviorInterface> network_behavior);
|
||||||
|
|
||||||
|
@ -147,11 +142,7 @@ class DegradedCall : public Call, private PacketReceiver {
|
||||||
|
|
||||||
Clock* const clock_;
|
Clock* const clock_;
|
||||||
TaskQueueBase* const task_queue_;
|
TaskQueueBase* const task_queue_;
|
||||||
<<<<<<< HEAD
|
|
||||||
const ScopedTaskSafety& task_safety_;
|
|
||||||
=======
|
|
||||||
rtc::scoped_refptr<PendingTaskSafetyFlag> call_alive_;
|
rtc::scoped_refptr<PendingTaskSafetyFlag> call_alive_;
|
||||||
>>>>>>> m108
|
|
||||||
FakeNetworkPipe pipe_;
|
FakeNetworkPipe pipe_;
|
||||||
absl::optional<int64_t> next_process_ms_ RTC_GUARDED_BY(&task_queue_);
|
absl::optional<int64_t> next_process_ms_ RTC_GUARDED_BY(&task_queue_);
|
||||||
};
|
};
|
||||||
|
@ -206,12 +197,8 @@ class DegradedCall : public Call, private PacketReceiver {
|
||||||
|
|
||||||
Clock* const clock_;
|
Clock* const clock_;
|
||||||
const std::unique_ptr<Call> call_;
|
const std::unique_ptr<Call> call_;
|
||||||
<<<<<<< HEAD
|
|
||||||
ScopedTaskSafety task_safety_;
|
|
||||||
=======
|
|
||||||
// For cancelling tasks on the network thread when DegradedCall is destroyed
|
// For cancelling tasks on the network thread when DegradedCall is destroyed
|
||||||
rtc::scoped_refptr<PendingTaskSafetyFlag> call_alive_;
|
rtc::scoped_refptr<PendingTaskSafetyFlag> call_alive_;
|
||||||
>>>>>>> m108
|
|
||||||
size_t send_config_index_;
|
size_t send_config_index_;
|
||||||
const std::vector<TimeScopedNetworkConfig> send_configs_;
|
const std::vector<TimeScopedNetworkConfig> send_configs_;
|
||||||
SimulatedNetwork* send_simulated_network_;
|
SimulatedNetwork* send_simulated_network_;
|
||||||
|
|
|
@ -336,21 +336,12 @@ void RampUpTester::PollStats() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void RampUpTester::ReportResult(
|
void RampUpTester::ReportResult(
|
||||||
<<<<<<< HEAD
|
|
||||||
const std::string& measurement,
|
|
||||||
size_t value,
|
|
||||||
const std::string& units,
|
|
||||||
test::ImproveDirection improve_direction) const {
|
|
||||||
webrtc::test::PrintResult(
|
|
||||||
measurement, "",
|
|
||||||
=======
|
|
||||||
absl::string_view measurement,
|
absl::string_view measurement,
|
||||||
size_t value,
|
size_t value,
|
||||||
Unit unit,
|
Unit unit,
|
||||||
ImprovementDirection improvement_direction) const {
|
ImprovementDirection improvement_direction) const {
|
||||||
GetGlobalMetricsLogger()->LogSingleValueMetric(
|
GetGlobalMetricsLogger()->LogSingleValueMetric(
|
||||||
measurement,
|
measurement,
|
||||||
>>>>>>> m108
|
|
||||||
::testing::UnitTest::GetInstance()->current_test_info()->name(), value,
|
::testing::UnitTest::GetInstance()->current_test_info()->name(), value,
|
||||||
unit, improvement_direction);
|
unit, improvement_direction);
|
||||||
}
|
}
|
||||||
|
@ -407,23 +398,6 @@ void RampUpTester::TriggerTestDone() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (report_perf_stats_) {
|
if (report_perf_stats_) {
|
||||||
<<<<<<< HEAD
|
|
||||||
ReportResult("ramp-up-media-sent", media_sent, "bytes",
|
|
||||||
test::ImproveDirection::kBiggerIsBetter);
|
|
||||||
ReportResult("ramp-up-padding-sent", padding_sent, "bytes",
|
|
||||||
test::ImproveDirection::kSmallerIsBetter);
|
|
||||||
ReportResult("ramp-up-rtx-media-sent", rtx_media_sent, "bytes",
|
|
||||||
test::ImproveDirection::kBiggerIsBetter);
|
|
||||||
ReportResult("ramp-up-rtx-padding-sent", rtx_padding_sent, "bytes",
|
|
||||||
test::ImproveDirection::kSmallerIsBetter);
|
|
||||||
if (ramp_up_finished_ms_ >= 0) {
|
|
||||||
ReportResult("ramp-up-time", ramp_up_finished_ms_ - test_start_ms_,
|
|
||||||
"milliseconds", test::ImproveDirection::kSmallerIsBetter);
|
|
||||||
}
|
|
||||||
ReportResult("ramp-up-average-network-latency",
|
|
||||||
send_transport_->GetAverageDelayMs(), "milliseconds",
|
|
||||||
test::ImproveDirection::kSmallerIsBetter);
|
|
||||||
=======
|
|
||||||
ReportResult("ramp-up-media-sent", media_sent, Unit::kBytes,
|
ReportResult("ramp-up-media-sent", media_sent, Unit::kBytes,
|
||||||
ImprovementDirection::kBiggerIsBetter);
|
ImprovementDirection::kBiggerIsBetter);
|
||||||
ReportResult("ramp-up-padding-sent", padding_sent, Unit::kBytes,
|
ReportResult("ramp-up-padding-sent", padding_sent, Unit::kBytes,
|
||||||
|
@ -439,7 +413,6 @@ void RampUpTester::TriggerTestDone() {
|
||||||
ReportResult("ramp-up-average-network-latency",
|
ReportResult("ramp-up-average-network-latency",
|
||||||
send_transport_->GetAverageDelayMs(), Unit::kMilliseconds,
|
send_transport_->GetAverageDelayMs(), Unit::kMilliseconds,
|
||||||
ImprovementDirection::kSmallerIsBetter);
|
ImprovementDirection::kSmallerIsBetter);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -564,17 +537,10 @@ void RampUpDownUpTester::EvolveTestState(int bitrate_bps, bool suspended) {
|
||||||
EXPECT_FALSE(suspended);
|
EXPECT_FALSE(suspended);
|
||||||
if (bitrate_bps >= GetExpectedHighBitrate()) {
|
if (bitrate_bps >= GetExpectedHighBitrate()) {
|
||||||
if (report_perf_stats_) {
|
if (report_perf_stats_) {
|
||||||
<<<<<<< HEAD
|
|
||||||
webrtc::test::PrintResult("ramp_up_down_up", GetModifierString(),
|
|
||||||
"first_rampup", now - state_start_ms_, "ms",
|
|
||||||
false,
|
|
||||||
test::ImproveDirection::kSmallerIsBetter);
|
|
||||||
=======
|
|
||||||
GetGlobalMetricsLogger()->LogSingleValueMetric(
|
GetGlobalMetricsLogger()->LogSingleValueMetric(
|
||||||
"ramp_up_down_up" + GetModifierString(), "first_rampup",
|
"ramp_up_down_up" + GetModifierString(), "first_rampup",
|
||||||
now - state_start_ms_, Unit::kMilliseconds,
|
now - state_start_ms_, Unit::kMilliseconds,
|
||||||
ImprovementDirection::kSmallerIsBetter);
|
ImprovementDirection::kSmallerIsBetter);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
// Apply loss during the transition between states if FEC is enabled.
|
// Apply loss during the transition between states if FEC is enabled.
|
||||||
forward_transport_config_.loss_percent = loss_rates_[test_state_];
|
forward_transport_config_.loss_percent = loss_rates_[test_state_];
|
||||||
|
@ -588,17 +554,10 @@ void RampUpDownUpTester::EvolveTestState(int bitrate_bps, bool suspended) {
|
||||||
if (bitrate_bps < kLowBandwidthLimitBps + kLowBitrateMarginBps &&
|
if (bitrate_bps < kLowBandwidthLimitBps + kLowBitrateMarginBps &&
|
||||||
suspended == check_suspend_state) {
|
suspended == check_suspend_state) {
|
||||||
if (report_perf_stats_) {
|
if (report_perf_stats_) {
|
||||||
<<<<<<< HEAD
|
|
||||||
webrtc::test::PrintResult("ramp_up_down_up", GetModifierString(),
|
|
||||||
"rampdown", now - state_start_ms_, "ms",
|
|
||||||
false,
|
|
||||||
test::ImproveDirection::kSmallerIsBetter);
|
|
||||||
=======
|
|
||||||
GetGlobalMetricsLogger()->LogSingleValueMetric(
|
GetGlobalMetricsLogger()->LogSingleValueMetric(
|
||||||
"ramp_up_down_up" + GetModifierString(), "rampdown",
|
"ramp_up_down_up" + GetModifierString(), "rampdown",
|
||||||
now - state_start_ms_, Unit::kMilliseconds,
|
now - state_start_ms_, Unit::kMilliseconds,
|
||||||
ImprovementDirection::kSmallerIsBetter);
|
ImprovementDirection::kSmallerIsBetter);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
// Apply loss during the transition between states if FEC is enabled.
|
// Apply loss during the transition between states if FEC is enabled.
|
||||||
forward_transport_config_.loss_percent = loss_rates_[test_state_];
|
forward_transport_config_.loss_percent = loss_rates_[test_state_];
|
||||||
|
@ -610,15 +569,6 @@ void RampUpDownUpTester::EvolveTestState(int bitrate_bps, bool suspended) {
|
||||||
case kSecondRampup:
|
case kSecondRampup:
|
||||||
if (bitrate_bps >= GetExpectedHighBitrate() && !suspended) {
|
if (bitrate_bps >= GetExpectedHighBitrate() && !suspended) {
|
||||||
if (report_perf_stats_) {
|
if (report_perf_stats_) {
|
||||||
<<<<<<< HEAD
|
|
||||||
webrtc::test::PrintResult("ramp_up_down_up", GetModifierString(),
|
|
||||||
"second_rampup", now - state_start_ms_,
|
|
||||||
"ms", false,
|
|
||||||
test::ImproveDirection::kSmallerIsBetter);
|
|
||||||
ReportResult("ramp-up-down-up-average-network-latency",
|
|
||||||
send_transport_->GetAverageDelayMs(), "milliseconds",
|
|
||||||
test::ImproveDirection::kSmallerIsBetter);
|
|
||||||
=======
|
|
||||||
GetGlobalMetricsLogger()->LogSingleValueMetric(
|
GetGlobalMetricsLogger()->LogSingleValueMetric(
|
||||||
"ramp_up_down_up" + GetModifierString(), "second_rampup",
|
"ramp_up_down_up" + GetModifierString(), "second_rampup",
|
||||||
now - state_start_ms_, Unit::kMilliseconds,
|
now - state_start_ms_, Unit::kMilliseconds,
|
||||||
|
@ -627,7 +577,6 @@ void RampUpDownUpTester::EvolveTestState(int bitrate_bps, bool suspended) {
|
||||||
send_transport_->GetAverageDelayMs(),
|
send_transport_->GetAverageDelayMs(),
|
||||||
Unit::kMilliseconds,
|
Unit::kMilliseconds,
|
||||||
ImprovementDirection::kSmallerIsBetter);
|
ImprovementDirection::kSmallerIsBetter);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
// Apply loss during the transition between states if FEC is enabled.
|
// Apply loss during the transition between states if FEC is enabled.
|
||||||
forward_transport_config_.loss_percent = loss_rates_[test_state_];
|
forward_transport_config_.loss_percent = loss_rates_[test_state_];
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#include "rtc_base/event.h"
|
#include "rtc_base/event.h"
|
||||||
#include "rtc_base/task_utils/repeating_task.h"
|
#include "rtc_base/task_utils/repeating_task.h"
|
||||||
#include "test/call_test.h"
|
#include "test/call_test.h"
|
||||||
#include "test/testsupport/perf_test.h"
|
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
|
@ -69,13 +68,8 @@ class RampUpTester : public test::EndToEndTest {
|
||||||
|
|
||||||
void ReportResult(absl::string_view measurement,
|
void ReportResult(absl::string_view measurement,
|
||||||
size_t value,
|
size_t value,
|
||||||
<<<<<<< HEAD
|
|
||||||
const std::string& units,
|
|
||||||
test::ImproveDirection improve_direction) const;
|
|
||||||
=======
|
|
||||||
test::Unit unit,
|
test::Unit unit,
|
||||||
test::ImprovementDirection improvement_direction) const;
|
test::ImprovementDirection improvement_direction) const;
|
||||||
>>>>>>> m108
|
|
||||||
void TriggerTestDone();
|
void TriggerTestDone();
|
||||||
|
|
||||||
Clock* const clock_;
|
Clock* const clock_;
|
||||||
|
|
|
@ -61,20 +61,12 @@ class RtpDemuxerTest : public ::testing::Test {
|
||||||
return AddSink(criteria, sink);
|
return AddSink(criteria, sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
bool AddSinkOnlyRsid(const std::string& rsid, RtpPacketSinkInterface* sink) {
|
|
||||||
=======
|
|
||||||
bool AddSinkOnlyRsid(absl::string_view rsid, RtpPacketSinkInterface* sink) {
|
bool AddSinkOnlyRsid(absl::string_view rsid, RtpPacketSinkInterface* sink) {
|
||||||
>>>>>>> m108
|
|
||||||
RtpDemuxerCriteria criteria(absl::string_view(), rsid);
|
RtpDemuxerCriteria criteria(absl::string_view(), rsid);
|
||||||
return AddSink(criteria, sink);
|
return AddSink(criteria, sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
bool AddSinkOnlyMid(const std::string& mid, RtpPacketSinkInterface* sink) {
|
|
||||||
=======
|
|
||||||
bool AddSinkOnlyMid(absl::string_view mid, RtpPacketSinkInterface* sink) {
|
bool AddSinkOnlyMid(absl::string_view mid, RtpPacketSinkInterface* sink) {
|
||||||
>>>>>>> m108
|
|
||||||
RtpDemuxerCriteria criteria(mid);
|
RtpDemuxerCriteria criteria(mid);
|
||||||
return AddSink(criteria, sink);
|
return AddSink(criteria, sink);
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,16 +76,9 @@ bool IsRelayed(const rtc::NetworkRoute& route) {
|
||||||
|
|
||||||
RtpTransportControllerSend::PacerSettings::PacerSettings(
|
RtpTransportControllerSend::PacerSettings::PacerSettings(
|
||||||
const FieldTrialsView& trials)
|
const FieldTrialsView& trials)
|
||||||
<<<<<<< HEAD
|
|
||||||
: tq_disabled("Disabled"),
|
|
||||||
holdback_window("holdback_window", TimeDelta::Millis(5)),
|
|
||||||
holdback_packets("holdback_packets", 3) {
|
|
||||||
ParseFieldTrial({&tq_disabled, &holdback_window, &holdback_packets},
|
|
||||||
=======
|
|
||||||
: holdback_window("holdback_window", TimeDelta::Millis(5)),
|
: holdback_window("holdback_window", TimeDelta::Millis(5)),
|
||||||
holdback_packets("holdback_packets", 3) {
|
holdback_packets("holdback_packets", 3) {
|
||||||
ParseFieldTrial({&holdback_window, &holdback_packets},
|
ParseFieldTrial({&holdback_window, &holdback_packets},
|
||||||
>>>>>>> m108
|
|
||||||
trials.Lookup("WebRTC-TaskQueuePacer"));
|
trials.Lookup("WebRTC-TaskQueuePacer"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,25 +95,6 @@ RtpTransportControllerSend::RtpTransportControllerSend(
|
||||||
task_queue_factory_(task_queue_factory),
|
task_queue_factory_(task_queue_factory),
|
||||||
bitrate_configurator_(bitrate_config),
|
bitrate_configurator_(bitrate_config),
|
||||||
pacer_started_(false),
|
pacer_started_(false),
|
||||||
<<<<<<< HEAD
|
|
||||||
process_thread_(std::move(process_thread)),
|
|
||||||
pacer_settings_(trials),
|
|
||||||
process_thread_pacer_(pacer_settings_.use_task_queue_pacer()
|
|
||||||
? nullptr
|
|
||||||
: new PacedSender(clock,
|
|
||||||
&packet_router_,
|
|
||||||
trials,
|
|
||||||
process_thread_.get())),
|
|
||||||
task_queue_pacer_(
|
|
||||||
pacer_settings_.use_task_queue_pacer()
|
|
||||||
? new TaskQueuePacedSender(clock,
|
|
||||||
&packet_router_,
|
|
||||||
trials,
|
|
||||||
task_queue_factory,
|
|
||||||
pacer_settings_.holdback_window.Get(),
|
|
||||||
pacer_settings_.holdback_packets.Get())
|
|
||||||
: nullptr),
|
|
||||||
=======
|
|
||||||
pacer_settings_(trials),
|
pacer_settings_(trials),
|
||||||
pacer_(clock,
|
pacer_(clock,
|
||||||
&packet_router_,
|
&packet_router_,
|
||||||
|
@ -128,7 +102,6 @@ RtpTransportControllerSend::RtpTransportControllerSend(
|
||||||
task_queue_factory,
|
task_queue_factory,
|
||||||
pacer_settings_.holdback_window.Get(),
|
pacer_settings_.holdback_window.Get(),
|
||||||
pacer_settings_.holdback_packets.Get()),
|
pacer_settings_.holdback_packets.Get()),
|
||||||
>>>>>>> m108
|
|
||||||
observer_(nullptr),
|
observer_(nullptr),
|
||||||
controller_factory_override_(controller_factory),
|
controller_factory_override_(controller_factory),
|
||||||
controller_factory_fallback_(
|
controller_factory_fallback_(
|
||||||
|
@ -147,13 +120,7 @@ RtpTransportControllerSend::RtpTransportControllerSend(
|
||||||
congestion_window_size_(DataSize::PlusInfinity()),
|
congestion_window_size_(DataSize::PlusInfinity()),
|
||||||
is_congested_(false),
|
is_congested_(false),
|
||||||
retransmission_rate_limiter_(clock, kRetransmitWindowSizeMs),
|
retransmission_rate_limiter_(clock, kRetransmitWindowSizeMs),
|
||||||
<<<<<<< HEAD
|
|
||||||
task_queue_(task_queue_factory->CreateTaskQueue(
|
|
||||||
"rtp_send_controller",
|
|
||||||
TaskQueueFactory::Priority::NORMAL)),
|
|
||||||
=======
|
|
||||||
task_queue_(trials, "rtp_send_controller", task_queue_factory),
|
task_queue_(trials, "rtp_send_controller", task_queue_factory),
|
||||||
>>>>>>> m108
|
|
||||||
field_trials_(trials) {
|
field_trials_(trials) {
|
||||||
ParseFieldTrial({&relay_bandwidth_cap_},
|
ParseFieldTrial({&relay_bandwidth_cap_},
|
||||||
trials.Lookup("WebRTC-Bwe-NetworkRouteConstraints"));
|
trials.Lookup("WebRTC-Bwe-NetworkRouteConstraints"));
|
||||||
|
@ -162,17 +129,8 @@ RtpTransportControllerSend::RtpTransportControllerSend(
|
||||||
initial_config_.key_value_config = &trials;
|
initial_config_.key_value_config = &trials;
|
||||||
RTC_DCHECK(bitrate_config.start_bitrate_bps > 0);
|
RTC_DCHECK(bitrate_config.start_bitrate_bps > 0);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
pacer()->SetPacingRates(
|
|
||||||
DataRate::BitsPerSec(bitrate_config.start_bitrate_bps), DataRate::Zero());
|
|
||||||
|
|
||||||
if (absl::StartsWith(trials.Lookup("WebRTC-LazyPacerStart"), "Disabled")) {
|
|
||||||
EnsureStarted();
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
pacer_.SetPacingRates(DataRate::BitsPerSec(bitrate_config.start_bitrate_bps),
|
pacer_.SetPacingRates(DataRate::BitsPerSec(bitrate_config.start_bitrate_bps),
|
||||||
DataRate::Zero());
|
DataRate::Zero());
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RtpTransportControllerSend::~RtpTransportControllerSend() {
|
RtpTransportControllerSend::~RtpTransportControllerSend() {
|
||||||
|
@ -207,11 +165,7 @@ RtpVideoSenderInterface* RtpTransportControllerSend::CreateRtpVideoSender(
|
||||||
this, event_log, &retransmission_rate_limiter_, std::move(fec_controller),
|
this, event_log, &retransmission_rate_limiter_, std::move(fec_controller),
|
||||||
frame_encryption_config.frame_encryptor,
|
frame_encryption_config.frame_encryptor,
|
||||||
frame_encryption_config.crypto_options, std::move(frame_transformer),
|
frame_encryption_config.crypto_options, std::move(frame_transformer),
|
||||||
<<<<<<< HEAD
|
|
||||||
field_trials_));
|
|
||||||
=======
|
|
||||||
field_trials_, task_queue_factory_));
|
field_trials_, task_queue_factory_));
|
||||||
>>>>>>> m108
|
|
||||||
return video_rtp_senders_.back().get();
|
return video_rtp_senders_.back().get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -244,24 +198,7 @@ void RtpTransportControllerSend::UpdateCongestedState() {
|
||||||
congestion_window_size_;
|
congestion_window_size_;
|
||||||
if (congested != is_congested_) {
|
if (congested != is_congested_) {
|
||||||
is_congested_ = congested;
|
is_congested_ = congested;
|
||||||
<<<<<<< HEAD
|
|
||||||
pacer()->SetCongested(congested);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
RtpPacketPacer* RtpTransportControllerSend::pacer() {
|
|
||||||
if (pacer_settings_.use_task_queue_pacer()) {
|
|
||||||
return task_queue_pacer_.get();
|
|
||||||
}
|
|
||||||
return process_thread_pacer_.get();
|
|
||||||
}
|
|
||||||
|
|
||||||
const RtpPacketPacer* RtpTransportControllerSend::pacer() const {
|
|
||||||
if (pacer_settings_.use_task_queue_pacer()) {
|
|
||||||
return task_queue_pacer_.get();
|
|
||||||
=======
|
|
||||||
pacer_.SetCongested(congested);
|
pacer_.SetCongested(congested);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -284,14 +221,7 @@ RtpTransportControllerSend::transport_feedback_observer() {
|
||||||
}
|
}
|
||||||
|
|
||||||
RtpPacketSender* RtpTransportControllerSend::packet_sender() {
|
RtpPacketSender* RtpTransportControllerSend::packet_sender() {
|
||||||
<<<<<<< HEAD
|
|
||||||
if (pacer_settings_.use_task_queue_pacer()) {
|
|
||||||
return task_queue_pacer_.get();
|
|
||||||
}
|
|
||||||
return process_thread_pacer_.get();
|
|
||||||
=======
|
|
||||||
return &pacer_;
|
return &pacer_;
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RtpTransportControllerSend::SetAllocatedSendBitrateLimits(
|
void RtpTransportControllerSend::SetAllocatedSendBitrateLimits(
|
||||||
|
@ -418,11 +348,7 @@ void RtpTransportControllerSend::OnNetworkRouteChanged(
|
||||||
UpdateInitialConstraints(msg.constraints);
|
UpdateInitialConstraints(msg.constraints);
|
||||||
}
|
}
|
||||||
is_congested_ = false;
|
is_congested_ = false;
|
||||||
<<<<<<< HEAD
|
|
||||||
pacer()->SetCongested(false);
|
|
||||||
=======
|
|
||||||
pacer_.SetCongested(false);
|
pacer_.SetCongested(false);
|
||||||
>>>>>>> m108
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -444,11 +370,7 @@ void RtpTransportControllerSend::OnNetworkAvailability(bool network_available) {
|
||||||
pacer_.Pause();
|
pacer_.Pause();
|
||||||
}
|
}
|
||||||
is_congested_ = false;
|
is_congested_ = false;
|
||||||
<<<<<<< HEAD
|
|
||||||
pacer()->SetCongested(false);
|
|
||||||
=======
|
|
||||||
pacer_.SetCongested(false);
|
pacer_.SetCongested(false);
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
if (controller_) {
|
if (controller_) {
|
||||||
control_handler_->SetNetworkAvailability(network_available_);
|
control_handler_->SetNetworkAvailability(network_available_);
|
||||||
|
@ -482,22 +404,6 @@ void RtpTransportControllerSend::EnablePeriodicAlrProbing(bool enable) {
|
||||||
}
|
}
|
||||||
void RtpTransportControllerSend::OnSentPacket(
|
void RtpTransportControllerSend::OnSentPacket(
|
||||||
const rtc::SentPacket& sent_packet) {
|
const rtc::SentPacket& sent_packet) {
|
||||||
<<<<<<< HEAD
|
|
||||||
task_queue_.PostTask([this, sent_packet]() {
|
|
||||||
RTC_DCHECK_RUN_ON(&task_queue_);
|
|
||||||
absl::optional<SentPacket> packet_msg =
|
|
||||||
transport_feedback_adapter_.ProcessSentPacket(sent_packet);
|
|
||||||
if (packet_msg) {
|
|
||||||
// Only update outstanding data if:
|
|
||||||
// 1. Packet feadback is used.
|
|
||||||
// 2. The packet has not yet received an acknowledgement.
|
|
||||||
// 3. It is not a retransmission of an earlier packet.
|
|
||||||
UpdateCongestedState();
|
|
||||||
if (controller_)
|
|
||||||
PostUpdates(controller_->OnSentPacket(*packet_msg));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
=======
|
|
||||||
// Normally called on the network thread !
|
// Normally called on the network thread !
|
||||||
|
|
||||||
// We can not use SafeTask here if we are using an owned task queue, because
|
// We can not use SafeTask here if we are using an owned task queue, because
|
||||||
|
@ -520,7 +426,6 @@ void RtpTransportControllerSend::OnSentPacket(
|
||||||
PostUpdates(controller_->OnSentPacket(*packet_msg));
|
PostUpdates(controller_->OnSentPacket(*packet_msg));
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RtpTransportControllerSend::OnReceivedPacket(
|
void RtpTransportControllerSend::OnReceivedPacket(
|
||||||
|
@ -608,15 +513,7 @@ void RtpTransportControllerSend::IncludeOverheadInPacedSender() {
|
||||||
void RtpTransportControllerSend::EnsureStarted() {
|
void RtpTransportControllerSend::EnsureStarted() {
|
||||||
if (!pacer_started_) {
|
if (!pacer_started_) {
|
||||||
pacer_started_ = true;
|
pacer_started_ = true;
|
||||||
<<<<<<< HEAD
|
|
||||||
if (pacer_settings_.use_task_queue_pacer()) {
|
|
||||||
task_queue_pacer_->EnsureStarted();
|
|
||||||
} else {
|
|
||||||
process_thread_->Start();
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
pacer_.EnsureStarted();
|
pacer_.EnsureStarted();
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,11 +33,7 @@
|
||||||
#include "modules/pacing/packet_router.h"
|
#include "modules/pacing/packet_router.h"
|
||||||
#include "modules/pacing/rtp_packet_pacer.h"
|
#include "modules/pacing/rtp_packet_pacer.h"
|
||||||
#include "modules/pacing/task_queue_paced_sender.h"
|
#include "modules/pacing/task_queue_paced_sender.h"
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "modules/utility/include/process_thread.h"
|
|
||||||
=======
|
|
||||||
#include "modules/utility/maybe_worker_thread.h"
|
#include "modules/utility/maybe_worker_thread.h"
|
||||||
>>>>>>> m108
|
|
||||||
#include "rtc_base/network_route.h"
|
#include "rtc_base/network_route.h"
|
||||||
#include "rtc_base/race_checker.h"
|
#include "rtc_base/race_checker.h"
|
||||||
#include "rtc_base/task_queue.h"
|
#include "rtc_base/task_queue.h"
|
||||||
|
@ -136,12 +132,6 @@ class RtpTransportControllerSend final
|
||||||
struct PacerSettings {
|
struct PacerSettings {
|
||||||
explicit PacerSettings(const FieldTrialsView& trials);
|
explicit PacerSettings(const FieldTrialsView& trials);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
bool use_task_queue_pacer() const { return !tq_disabled.Get(); }
|
|
||||||
|
|
||||||
FieldTrialFlag tq_disabled; // Kill-switch not normally used.
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
FieldTrialParameter<TimeDelta> holdback_window;
|
FieldTrialParameter<TimeDelta> holdback_window;
|
||||||
FieldTrialParameter<int> holdback_packets;
|
FieldTrialParameter<int> holdback_packets;
|
||||||
};
|
};
|
||||||
|
@ -164,11 +154,6 @@ class RtpTransportControllerSend final
|
||||||
void PostUpdates(NetworkControlUpdate update) RTC_RUN_ON(task_queue_);
|
void PostUpdates(NetworkControlUpdate update) RTC_RUN_ON(task_queue_);
|
||||||
void UpdateControlState() RTC_RUN_ON(task_queue_);
|
void UpdateControlState() RTC_RUN_ON(task_queue_);
|
||||||
void UpdateCongestedState() RTC_RUN_ON(task_queue_);
|
void UpdateCongestedState() RTC_RUN_ON(task_queue_);
|
||||||
<<<<<<< HEAD
|
|
||||||
RtpPacketPacer* pacer();
|
|
||||||
const RtpPacketPacer* pacer() const;
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
Clock* const clock_;
|
Clock* const clock_;
|
||||||
RtcEventLog* const event_log_;
|
RtcEventLog* const event_log_;
|
||||||
|
@ -180,15 +165,8 @@ class RtpTransportControllerSend final
|
||||||
RtpBitrateConfigurator bitrate_configurator_;
|
RtpBitrateConfigurator bitrate_configurator_;
|
||||||
std::map<std::string, rtc::NetworkRoute> network_routes_;
|
std::map<std::string, rtc::NetworkRoute> network_routes_;
|
||||||
bool pacer_started_;
|
bool pacer_started_;
|
||||||
<<<<<<< HEAD
|
|
||||||
const std::unique_ptr<ProcessThread> process_thread_;
|
|
||||||
const PacerSettings pacer_settings_;
|
|
||||||
std::unique_ptr<PacedSender> process_thread_pacer_;
|
|
||||||
std::unique_ptr<TaskQueuePacedSender> task_queue_pacer_;
|
|
||||||
=======
|
|
||||||
const PacerSettings pacer_settings_;
|
const PacerSettings pacer_settings_;
|
||||||
TaskQueuePacedSender pacer_;
|
TaskQueuePacedSender pacer_;
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
TargetTransferRateObserver* observer_ RTC_GUARDED_BY(task_queue_);
|
TargetTransferRateObserver* observer_ RTC_GUARDED_BY(task_queue_);
|
||||||
TransportFeedbackDemuxer feedback_demuxer_;
|
TransportFeedbackDemuxer feedback_demuxer_;
|
||||||
|
@ -232,15 +210,8 @@ class RtpTransportControllerSend final
|
||||||
// Protected by internal locks.
|
// Protected by internal locks.
|
||||||
RateLimiter retransmission_rate_limiter_;
|
RateLimiter retransmission_rate_limiter_;
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
// TODO(perkj): `task_queue_` is supposed to replace `process_thread_`.
|
|
||||||
// `task_queue_` is defined last to ensure all pending tasks are cancelled
|
|
||||||
// and deleted before any other members.
|
|
||||||
rtc::TaskQueue task_queue_;
|
|
||||||
=======
|
|
||||||
ScopedTaskSafety safety_;
|
ScopedTaskSafety safety_;
|
||||||
MaybeWorkerThread task_queue_;
|
MaybeWorkerThread task_queue_;
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
const FieldTrialsView& field_trials_;
|
const FieldTrialsView& field_trials_;
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,21 +23,12 @@ class RtpTransportControllerSendFactory
|
||||||
public:
|
public:
|
||||||
std::unique_ptr<RtpTransportControllerSendInterface> Create(
|
std::unique_ptr<RtpTransportControllerSendInterface> Create(
|
||||||
const RtpTransportConfig& config,
|
const RtpTransportConfig& config,
|
||||||
<<<<<<< HEAD
|
|
||||||
Clock* clock,
|
|
||||||
std::unique_ptr<ProcessThread> process_thread) override {
|
|
||||||
=======
|
|
||||||
Clock* clock) override {
|
Clock* clock) override {
|
||||||
>>>>>>> m108
|
|
||||||
RTC_CHECK(config.trials);
|
RTC_CHECK(config.trials);
|
||||||
return std::make_unique<RtpTransportControllerSend>(
|
return std::make_unique<RtpTransportControllerSend>(
|
||||||
clock, config.event_log, config.network_state_predictor_factory,
|
clock, config.event_log, config.network_state_predictor_factory,
|
||||||
config.network_controller_factory, config.bitrate_config,
|
config.network_controller_factory, config.bitrate_config,
|
||||||
<<<<<<< HEAD
|
|
||||||
std::move(process_thread), config.task_queue_factory, *config.trials);
|
|
||||||
=======
|
|
||||||
config.task_queue_factory, *config.trials);
|
config.task_queue_factory, *config.trials);
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~RtpTransportControllerSendFactory() {}
|
virtual ~RtpTransportControllerSendFactory() {}
|
||||||
|
|
|
@ -24,11 +24,8 @@
|
||||||
#include "api/field_trials_view.h"
|
#include "api/field_trials_view.h"
|
||||||
#include "api/rtc_event_log/rtc_event_log.h"
|
#include "api/rtc_event_log/rtc_event_log.h"
|
||||||
#include "api/sequence_checker.h"
|
#include "api/sequence_checker.h"
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
#include "api/task_queue/task_queue_base.h"
|
#include "api/task_queue/task_queue_base.h"
|
||||||
#include "api/task_queue/task_queue_factory.h"
|
#include "api/task_queue/task_queue_factory.h"
|
||||||
>>>>>>> m108
|
|
||||||
#include "api/video_codecs/video_encoder.h"
|
#include "api/video_codecs/video_encoder.h"
|
||||||
#include "call/rtp_config.h"
|
#include "call/rtp_config.h"
|
||||||
#include "call/rtp_payload_params.h"
|
#include "call/rtp_payload_params.h"
|
||||||
|
@ -91,12 +88,8 @@ class RtpVideoSender : public RtpVideoSenderInterface,
|
||||||
FrameEncryptorInterface* frame_encryptor,
|
FrameEncryptorInterface* frame_encryptor,
|
||||||
const CryptoOptions& crypto_options, // move inside RtpTransport
|
const CryptoOptions& crypto_options, // move inside RtpTransport
|
||||||
rtc::scoped_refptr<FrameTransformerInterface> frame_transformer,
|
rtc::scoped_refptr<FrameTransformerInterface> frame_transformer,
|
||||||
<<<<<<< HEAD
|
|
||||||
const FieldTrialsView& field_trials);
|
|
||||||
=======
|
|
||||||
const FieldTrialsView& field_trials,
|
const FieldTrialsView& field_trials,
|
||||||
TaskQueueFactory* task_queue_factory);
|
TaskQueueFactory* task_queue_factory);
|
||||||
>>>>>>> m108
|
|
||||||
~RtpVideoSender() override;
|
~RtpVideoSender() override;
|
||||||
|
|
||||||
RtpVideoSender(const RtpVideoSender&) = delete;
|
RtpVideoSender(const RtpVideoSender&) = delete;
|
||||||
|
@ -169,10 +162,6 @@ class RtpVideoSender : public RtpVideoSenderInterface,
|
||||||
void UpdateModuleSendingState() RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
void UpdateModuleSendingState() RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
|
||||||
void ConfigureProtection();
|
void ConfigureProtection();
|
||||||
void ConfigureSsrcs(const std::map<uint32_t, RtpState>& suspended_ssrcs);
|
void ConfigureSsrcs(const std::map<uint32_t, RtpState>& suspended_ssrcs);
|
||||||
<<<<<<< HEAD
|
|
||||||
void ConfigureRids();
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
bool NackEnabled() const;
|
bool NackEnabled() const;
|
||||||
uint32_t GetPacketizationOverheadRate() const;
|
uint32_t GetPacketizationOverheadRate() const;
|
||||||
DataRate CalculateOverheadRate(DataRate data_rate,
|
DataRate CalculateOverheadRate(DataRate data_rate,
|
||||||
|
@ -184,10 +173,6 @@ class RtpVideoSender : public RtpVideoSenderInterface,
|
||||||
const bool send_side_bwe_with_overhead_;
|
const bool send_side_bwe_with_overhead_;
|
||||||
const bool use_frame_rate_for_overhead_;
|
const bool use_frame_rate_for_overhead_;
|
||||||
const bool has_packet_feedback_;
|
const bool has_packet_feedback_;
|
||||||
<<<<<<< HEAD
|
|
||||||
const bool simulate_generic_structure_;
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
// Semantically equivalent to checking for `transport_->GetWorkerQueue()`
|
// Semantically equivalent to checking for `transport_->GetWorkerQueue()`
|
||||||
// but some tests need to be updated to call from the correct context.
|
// but some tests need to be updated to call from the correct context.
|
||||||
|
|
|
@ -129,17 +129,6 @@ class RtpVideoSenderTestFixture {
|
||||||
payload_type)),
|
payload_type)),
|
||||||
send_delay_stats_(time_controller_.GetClock()),
|
send_delay_stats_(time_controller_.GetClock()),
|
||||||
bitrate_config_(GetBitrateConfig()),
|
bitrate_config_(GetBitrateConfig()),
|
||||||
<<<<<<< HEAD
|
|
||||||
transport_controller_(
|
|
||||||
time_controller_.GetClock(),
|
|
||||||
&event_log_,
|
|
||||||
nullptr,
|
|
||||||
nullptr,
|
|
||||||
bitrate_config_,
|
|
||||||
time_controller_.CreateProcessThread("PacerThread"),
|
|
||||||
time_controller_.GetTaskQueueFactory(),
|
|
||||||
field_trials ? *field_trials : field_trials_),
|
|
||||||
=======
|
|
||||||
transport_controller_(time_controller_.GetClock(),
|
transport_controller_(time_controller_.GetClock(),
|
||||||
&event_log_,
|
&event_log_,
|
||||||
nullptr,
|
nullptr,
|
||||||
|
@ -147,7 +136,6 @@ class RtpVideoSenderTestFixture {
|
||||||
bitrate_config_,
|
bitrate_config_,
|
||||||
time_controller_.GetTaskQueueFactory(),
|
time_controller_.GetTaskQueueFactory(),
|
||||||
field_trials ? *field_trials : field_trials_),
|
field_trials ? *field_trials : field_trials_),
|
||||||
>>>>>>> m108
|
|
||||||
stats_proxy_(time_controller_.GetClock(),
|
stats_proxy_(time_controller_.GetClock(),
|
||||||
config_,
|
config_,
|
||||||
VideoEncoderConfig::ContentType::kRealtimeVideo,
|
VideoEncoderConfig::ContentType::kRealtimeVideo,
|
||||||
|
@ -165,12 +153,8 @@ class RtpVideoSenderTestFixture {
|
||||||
&transport_controller_, &event_log_, &retransmission_rate_limiter_,
|
&transport_controller_, &event_log_, &retransmission_rate_limiter_,
|
||||||
std::make_unique<FecControllerDefault>(time_controller_.GetClock()),
|
std::make_unique<FecControllerDefault>(time_controller_.GetClock()),
|
||||||
nullptr, CryptoOptions{}, frame_transformer,
|
nullptr, CryptoOptions{}, frame_transformer,
|
||||||
<<<<<<< HEAD
|
|
||||||
field_trials ? *field_trials : field_trials_);
|
|
||||||
=======
|
|
||||||
field_trials ? *field_trials : field_trials_,
|
field_trials ? *field_trials : field_trials_,
|
||||||
time_controller_.GetTaskQueueFactory());
|
time_controller_.GetTaskQueueFactory());
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RtpVideoSenderTestFixture(
|
RtpVideoSenderTestFixture(
|
||||||
|
@ -221,20 +205,11 @@ class RtpVideoSenderTestFixture {
|
||||||
// default thread as the transport queue, explicit checks for the transport
|
// default thread as the transport queue, explicit checks for the transport
|
||||||
// queue (not just using a SequenceChecker) aren't possible unless such a
|
// queue (not just using a SequenceChecker) aren't possible unless such a
|
||||||
// queue is actually active. So RunOnTransportQueue is a convenience function
|
// queue is actually active. So RunOnTransportQueue is a convenience function
|
||||||
<<<<<<< HEAD
|
|
||||||
// that allow for running a closure on the transport queue, similar to
|
|
||||||
// SendTask().
|
|
||||||
template <typename Closure>
|
|
||||||
void RunOnTransportQueue(Closure&& task) {
|
|
||||||
transport_controller_.GetWorkerQueue()->PostTask(std::move(task));
|
|
||||||
AdvanceTime(TimeDelta::Millis(0));
|
|
||||||
=======
|
|
||||||
// that allow for running a `task` on the transport queue, similar to
|
// that allow for running a `task` on the transport queue, similar to
|
||||||
// SendTask().
|
// SendTask().
|
||||||
void RunOnTransportQueue(absl::AnyInvocable<void() &&> task) {
|
void RunOnTransportQueue(absl::AnyInvocable<void() &&> task) {
|
||||||
transport_controller_.GetWorkerQueue()->RunOrPost(std::move(task));
|
transport_controller_.GetWorkerQueue()->RunOrPost(std::move(task));
|
||||||
AdvanceTime(TimeDelta::Zero());
|
AdvanceTime(TimeDelta::Zero());
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -1067,67 +1042,6 @@ TEST(RtpVideoSenderTest, SupportsStoppingUsingDependencyDescriptor) {
|
||||||
sent_packets.back().HasExtension<RtpDependencyDescriptorExtension>());
|
sent_packets.back().HasExtension<RtpDependencyDescriptorExtension>());
|
||||||
}
|
}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
TEST(RtpVideoSenderTest,
|
|
||||||
SupportsStoppingUsingDependencyDescriptorForVp8Simulcast) {
|
|
||||||
RtpVideoSenderTestFixture test({kSsrc1, kSsrc2}, {}, kPayloadType, {});
|
|
||||||
test.SetActive(true);
|
|
||||||
|
|
||||||
RtpHeaderExtensionMap extensions;
|
|
||||||
extensions.Register<RtpDependencyDescriptorExtension>(
|
|
||||||
kDependencyDescriptorExtensionId);
|
|
||||||
std::vector<RtpPacket> sent_packets;
|
|
||||||
ON_CALL(test.transport(), SendRtp)
|
|
||||||
.WillByDefault([&](const uint8_t* packet, size_t length,
|
|
||||||
const PacketOptions& options) {
|
|
||||||
sent_packets.emplace_back(&extensions);
|
|
||||||
EXPECT_TRUE(sent_packets.back().Parse(packet, length));
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
|
|
||||||
const uint8_t kPayload[1] = {'a'};
|
|
||||||
EncodedImage encoded_image;
|
|
||||||
encoded_image.SetTimestamp(1);
|
|
||||||
encoded_image.capture_time_ms_ = 2;
|
|
||||||
encoded_image.SetEncodedData(
|
|
||||||
EncodedImageBuffer::Create(kPayload, sizeof(kPayload)));
|
|
||||||
// VP8 simulcast uses spatial index to communicate simulcast stream.
|
|
||||||
encoded_image.SetSpatialIndex(1);
|
|
||||||
|
|
||||||
CodecSpecificInfo codec_specific;
|
|
||||||
codec_specific.codecType = VideoCodecType::kVideoCodecVP8;
|
|
||||||
codec_specific.template_structure.emplace();
|
|
||||||
codec_specific.template_structure->num_decode_targets = 1;
|
|
||||||
codec_specific.template_structure->templates = {
|
|
||||||
FrameDependencyTemplate().T(0).Dtis("S")};
|
|
||||||
|
|
||||||
// Send two tiny images, mapping to single RTP packets.
|
|
||||||
// Send in a key frame.
|
|
||||||
encoded_image._frameType = VideoFrameType::kVideoFrameKey;
|
|
||||||
codec_specific.generic_frame_info =
|
|
||||||
GenericFrameInfo::Builder().T(0).Dtis("S").Build();
|
|
||||||
codec_specific.generic_frame_info->encoder_buffers = {{0, false, true}};
|
|
||||||
EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error,
|
|
||||||
EncodedImageCallback::Result::OK);
|
|
||||||
test.AdvanceTime(TimeDelta::Millis(33));
|
|
||||||
ASSERT_THAT(sent_packets, SizeIs(1));
|
|
||||||
EXPECT_TRUE(
|
|
||||||
sent_packets.back().HasExtension<RtpDependencyDescriptorExtension>());
|
|
||||||
|
|
||||||
// Send in a new key frame without the support for the dependency descriptor.
|
|
||||||
encoded_image._frameType = VideoFrameType::kVideoFrameKey;
|
|
||||||
codec_specific.template_structure = absl::nullopt;
|
|
||||||
codec_specific.generic_frame_info = absl::nullopt;
|
|
||||||
EXPECT_EQ(test.router()->OnEncodedImage(encoded_image, &codec_specific).error,
|
|
||||||
EncodedImageCallback::Result::OK);
|
|
||||||
test.AdvanceTime(TimeDelta::Millis(33));
|
|
||||||
ASSERT_THAT(sent_packets, SizeIs(2));
|
|
||||||
EXPECT_FALSE(
|
|
||||||
sent_packets.back().HasExtension<RtpDependencyDescriptorExtension>());
|
|
||||||
}
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
TEST(RtpVideoSenderTest, CanSetZeroBitrate) {
|
TEST(RtpVideoSenderTest, CanSetZeroBitrate) {
|
||||||
RtpVideoSenderTestFixture test({kSsrc1}, {kRtxSsrc1}, kPayloadType, {});
|
RtpVideoSenderTestFixture test({kSsrc1}, {kRtxSsrc1}, kPayloadType, {});
|
||||||
test.router()->OnBitrateUpdated(CreateBitrateAllocationUpdate(0),
|
test.router()->OnBitrateUpdated(CreateBitrateAllocationUpdate(0),
|
||||||
|
|
|
@ -13,11 +13,7 @@
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
// The timestamp is always in UTC.
|
// The timestamp is always in UTC.
|
||||||
<<<<<<< HEAD
|
|
||||||
const char* const kSourceTimestamp = "WebRTC source stamp 2022-04-14T04:03:30";
|
|
||||||
=======
|
|
||||||
const char* const kSourceTimestamp = "WebRTC source stamp 2022-10-09T04:11:21";
|
const char* const kSourceTimestamp = "WebRTC source stamp 2022-10-09T04:11:21";
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
void LoadWebRTCVersionInRegister() {
|
void LoadWebRTCVersionInRegister() {
|
||||||
// Using volatile to instruct the compiler to not optimize `p` away even
|
// Using volatile to instruct the compiler to not optimize `p` away even
|
||||||
|
|
|
@ -287,8 +287,6 @@ class VideoReceiveStreamInterface : public MediaReceiveStreamInterface {
|
||||||
|
|
||||||
virtual void SetRtcpMode(RtcpMode mode) = 0;
|
virtual void SetRtcpMode(RtcpMode mode) = 0;
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
// Sets or clears a flexfec RTP sink. This affects `rtp.packet_sink_` and
|
// Sets or clears a flexfec RTP sink. This affects `rtp.packet_sink_` and
|
||||||
// `rtp.protected_by_flexfec` parts of the configuration. Must be called on
|
// `rtp.protected_by_flexfec` parts of the configuration. Must be called on
|
||||||
// the packet delivery thread.
|
// the packet delivery thread.
|
||||||
|
@ -317,7 +315,6 @@ class VideoReceiveStreamInterface : public MediaReceiveStreamInterface {
|
||||||
virtual ~VideoReceiveStreamInterface() {}
|
virtual ~VideoReceiveStreamInterface() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
} // namespace webrtc
|
} // namespace webrtc
|
||||||
|
|
||||||
#endif // CALL_VIDEO_RECEIVE_STREAM_H_
|
#endif // CALL_VIDEO_RECEIVE_STREAM_H_
|
||||||
|
|
|
@ -49,10 +49,6 @@ rtc_library("common_audio") {
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:gtest_prod",
|
"../rtc_base:gtest_prod",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:safe_conversions",
|
"../rtc_base:safe_conversions",
|
||||||
"../rtc_base:sanitizer",
|
"../rtc_base:sanitizer",
|
||||||
"../rtc_base:timeutils",
|
"../rtc_base:timeutils",
|
||||||
|
@ -201,10 +197,6 @@ rtc_library("common_audio_cc") {
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:safe_conversions",
|
"../rtc_base:safe_conversions",
|
||||||
"../system_wrappers",
|
"../system_wrappers",
|
||||||
]
|
]
|
||||||
|
@ -382,10 +374,6 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||||
":sinc_resampler",
|
":sinc_resampler",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:rtc_base_tests_utils",
|
"../rtc_base:rtc_base_tests_utils",
|
||||||
"../rtc_base:stringutils",
|
"../rtc_base:stringutils",
|
||||||
"../rtc_base:timeutils",
|
"../rtc_base:timeutils",
|
||||||
|
|
|
@ -39,10 +39,7 @@ rtc_library("common_video") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"../api:array_view",
|
"../api:array_view",
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
"../api:make_ref_counted",
|
"../api:make_ref_counted",
|
||||||
>>>>>>> m108
|
|
||||||
"../api:scoped_refptr",
|
"../api:scoped_refptr",
|
||||||
"../api:sequence_checker",
|
"../api:sequence_checker",
|
||||||
"../api/task_queue",
|
"../api/task_queue",
|
||||||
|
@ -57,12 +54,6 @@ rtc_library("common_video") {
|
||||||
"../api/video_codecs:bitstream_parser_api",
|
"../api/video_codecs:bitstream_parser_api",
|
||||||
"../api/video_codecs:video_codecs_api",
|
"../api/video_codecs:video_codecs_api",
|
||||||
"../rtc_base",
|
"../rtc_base",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:bitstream_reader",
|
|
||||||
"../rtc_base:checks",
|
|
||||||
"../rtc_base:logging",
|
|
||||||
"../rtc_base:macromagic",
|
|
||||||
=======
|
|
||||||
"../rtc_base:bit_buffer",
|
"../rtc_base:bit_buffer",
|
||||||
"../rtc_base:bitstream_reader",
|
"../rtc_base:bitstream_reader",
|
||||||
"../rtc_base:buffer",
|
"../rtc_base:buffer",
|
||||||
|
@ -72,7 +63,6 @@ rtc_library("common_video") {
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
"../rtc_base:race_checker",
|
"../rtc_base:race_checker",
|
||||||
"../rtc_base:rate_statistics",
|
"../rtc_base:rate_statistics",
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:refcount",
|
"../rtc_base:refcount",
|
||||||
"../rtc_base:rtc_task_queue",
|
"../rtc_base:rtc_task_queue",
|
||||||
"../rtc_base:safe_minmax",
|
"../rtc_base:safe_minmax",
|
||||||
|
@ -135,10 +125,6 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
"../rtc_base:macromagic",
|
"../rtc_base:macromagic",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:rtc_base_tests_utils",
|
"../rtc_base:rtc_base_tests_utils",
|
||||||
"../rtc_base:timeutils",
|
"../rtc_base:timeutils",
|
||||||
"../system_wrappers:system_wrappers",
|
"../system_wrappers:system_wrappers",
|
||||||
|
|
|
@ -48,11 +48,8 @@ class VideoFrameBufferPool {
|
||||||
rtc::scoped_refptr<I420Buffer> CreateI420Buffer(int width, int height);
|
rtc::scoped_refptr<I420Buffer> CreateI420Buffer(int width, int height);
|
||||||
rtc::scoped_refptr<I422Buffer> CreateI422Buffer(int width, int height);
|
rtc::scoped_refptr<I422Buffer> CreateI422Buffer(int width, int height);
|
||||||
rtc::scoped_refptr<I444Buffer> CreateI444Buffer(int width, int height);
|
rtc::scoped_refptr<I444Buffer> CreateI444Buffer(int width, int height);
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
rtc::scoped_refptr<I010Buffer> CreateI010Buffer(int width, int height);
|
rtc::scoped_refptr<I010Buffer> CreateI010Buffer(int width, int height);
|
||||||
rtc::scoped_refptr<I210Buffer> CreateI210Buffer(int width, int height);
|
rtc::scoped_refptr<I210Buffer> CreateI210Buffer(int width, int height);
|
||||||
>>>>>>> m108
|
|
||||||
rtc::scoped_refptr<NV12Buffer> CreateNV12Buffer(int width, int height);
|
rtc::scoped_refptr<NV12Buffer> CreateNV12Buffer(int width, int height);
|
||||||
|
|
||||||
// Changes the max amount of buffers in the pool to the new value.
|
// Changes the max amount of buffers in the pool to the new value.
|
||||||
|
|
|
@ -36,8 +36,6 @@ bool HasOneRef(const rtc::scoped_refptr<VideoFrameBuffer>& buffer) {
|
||||||
return static_cast<rtc::RefCountedObject<I422Buffer>*>(buffer.get())
|
return static_cast<rtc::RefCountedObject<I422Buffer>*>(buffer.get())
|
||||||
->HasOneRef();
|
->HasOneRef();
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
case VideoFrameBuffer::Type::kI010: {
|
case VideoFrameBuffer::Type::kI010: {
|
||||||
return static_cast<rtc::RefCountedObject<I010Buffer>*>(buffer.get())
|
return static_cast<rtc::RefCountedObject<I010Buffer>*>(buffer.get())
|
||||||
->HasOneRef();
|
->HasOneRef();
|
||||||
|
@ -46,7 +44,6 @@ bool HasOneRef(const rtc::scoped_refptr<VideoFrameBuffer>& buffer) {
|
||||||
return static_cast<rtc::RefCountedObject<I210Buffer>*>(buffer.get())
|
return static_cast<rtc::RefCountedObject<I210Buffer>*>(buffer.get())
|
||||||
->HasOneRef();
|
->HasOneRef();
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
case VideoFrameBuffer::Type::kNV12: {
|
case VideoFrameBuffer::Type::kNV12: {
|
||||||
return static_cast<rtc::RefCountedObject<NV12Buffer>*>(buffer.get())
|
return static_cast<rtc::RefCountedObject<NV12Buffer>*>(buffer.get())
|
||||||
->HasOneRef();
|
->HasOneRef();
|
||||||
|
|
|
@ -45,11 +45,8 @@ SubSampling SubSamplingForType(VideoFrameBuffer::Type type) {
|
||||||
return {.x = 1, .y = 1};
|
return {.x = 1, .y = 1};
|
||||||
case VideoFrameBuffer::Type::kI010:
|
case VideoFrameBuffer::Type::kI010:
|
||||||
return {.x = 2, .y = 2};
|
return {.x = 2, .y = 2};
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
case VideoFrameBuffer::Type::kI210:
|
case VideoFrameBuffer::Type::kI210:
|
||||||
return {.x = 2, .y = 1};
|
return {.x = 2, .y = 1};
|
||||||
>>>>>>> m108
|
|
||||||
default:
|
default:
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
@ -178,14 +175,6 @@ void CheckRotate(int width,
|
||||||
int x = corners[j].x * (rotated_width - 1);
|
int x = corners[j].x * (rotated_width - 1);
|
||||||
int y = corners[j].y * (rotated_height - 1);
|
int y = corners[j].y * (rotated_height - 1);
|
||||||
EXPECT_EQ(colors[i].y, rotated.DataY()[x + y * rotated.StrideY()]);
|
EXPECT_EQ(colors[i].y, rotated.DataY()[x + y * rotated.StrideY()]);
|
||||||
<<<<<<< HEAD
|
|
||||||
EXPECT_EQ(colors[i].u,
|
|
||||||
rotated.DataU()[(x / plane_divider.x) +
|
|
||||||
(y / plane_divider.y) * rotated.StrideU()]);
|
|
||||||
EXPECT_EQ(colors[i].v,
|
|
||||||
rotated.DataV()[(x / plane_divider.x) +
|
|
||||||
(y / plane_divider.y) * rotated.StrideV()]);
|
|
||||||
=======
|
|
||||||
if (rotated.type() == VideoFrameBuffer::Type::kI422 ||
|
if (rotated.type() == VideoFrameBuffer::Type::kI422 ||
|
||||||
rotated.type() == VideoFrameBuffer::Type::kI210) {
|
rotated.type() == VideoFrameBuffer::Type::kI210) {
|
||||||
EXPECT_NEAR(colors[i].u,
|
EXPECT_NEAR(colors[i].u,
|
||||||
|
@ -204,7 +193,6 @@ void CheckRotate(int width,
|
||||||
rotated.DataV()[(x / plane_divider.x) +
|
rotated.DataV()[(x / plane_divider.x) +
|
||||||
(y / plane_divider.y) * rotated.StrideV()]);
|
(y / plane_divider.y) * rotated.StrideV()]);
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -314,12 +302,8 @@ rtc::scoped_refptr<T> CreateAndFillBuffer() {
|
||||||
if (buf->type() == VideoFrameBuffer::Type::kI444) {
|
if (buf->type() == VideoFrameBuffer::Type::kI444) {
|
||||||
memset(buf->MutableDataU(), 2, 200);
|
memset(buf->MutableDataU(), 2, 200);
|
||||||
memset(buf->MutableDataV(), 3, 200);
|
memset(buf->MutableDataV(), 3, 200);
|
||||||
<<<<<<< HEAD
|
|
||||||
} else if (buf->type() == VideoFrameBuffer::Type::kI422) {
|
|
||||||
=======
|
|
||||||
} else if (buf->type() == VideoFrameBuffer::Type::kI422 ||
|
} else if (buf->type() == VideoFrameBuffer::Type::kI422 ||
|
||||||
buf->type() == VideoFrameBuffer::Type::kI210) {
|
buf->type() == VideoFrameBuffer::Type::kI210) {
|
||||||
>>>>>>> m108
|
|
||||||
memset(buf->MutableDataU(), 2, 100);
|
memset(buf->MutableDataU(), 2, 100);
|
||||||
memset(buf->MutableDataV(), 3, 100);
|
memset(buf->MutableDataV(), 3, 100);
|
||||||
} else {
|
} else {
|
||||||
|
@ -400,13 +384,8 @@ REGISTER_TYPED_TEST_SUITE_P(TestPlanarYuvBuffer,
|
||||||
CropYNotCenter,
|
CropYNotCenter,
|
||||||
CropAndScale16x9);
|
CropAndScale16x9);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
using TestTypesAll =
|
|
||||||
::testing::Types<I420Buffer, I010Buffer, I444Buffer, I422Buffer>;
|
|
||||||
=======
|
|
||||||
using TestTypesAll = ::testing::
|
using TestTypesAll = ::testing::
|
||||||
Types<I420Buffer, I010Buffer, I444Buffer, I422Buffer, I210Buffer>;
|
Types<I420Buffer, I010Buffer, I444Buffer, I422Buffer, I210Buffer>;
|
||||||
>>>>>>> m108
|
|
||||||
INSTANTIATE_TYPED_TEST_SUITE_P(All, TestPlanarYuvBuffer, TestTypesAll);
|
INSTANTIATE_TYPED_TEST_SUITE_P(All, TestPlanarYuvBuffer, TestTypesAll);
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
@ -424,11 +403,7 @@ TYPED_TEST_P(TestPlanarYuvBufferScale, Scale) {
|
||||||
|
|
||||||
REGISTER_TYPED_TEST_SUITE_P(TestPlanarYuvBufferScale, Scale);
|
REGISTER_TYPED_TEST_SUITE_P(TestPlanarYuvBufferScale, Scale);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
using TestTypesScale = ::testing::Types<I420Buffer, I010Buffer>;
|
|
||||||
=======
|
|
||||||
using TestTypesScale = ::testing::Types<I420Buffer, I010Buffer, I210Buffer>;
|
using TestTypesScale = ::testing::Types<I420Buffer, I010Buffer, I210Buffer>;
|
||||||
>>>>>>> m108
|
|
||||||
INSTANTIATE_TYPED_TEST_SUITE_P(All, TestPlanarYuvBufferScale, TestTypesScale);
|
INSTANTIATE_TYPED_TEST_SUITE_P(All, TestPlanarYuvBufferScale, TestTypesScale);
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
@ -452,13 +427,8 @@ TYPED_TEST_P(TestPlanarYuvBufferRotate, Rotates) {
|
||||||
|
|
||||||
REGISTER_TYPED_TEST_SUITE_P(TestPlanarYuvBufferRotate, Rotates);
|
REGISTER_TYPED_TEST_SUITE_P(TestPlanarYuvBufferRotate, Rotates);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
using TestTypesRotate =
|
|
||||||
::testing::Types<I420Buffer, I010Buffer, I444Buffer, I422Buffer>;
|
|
||||||
=======
|
|
||||||
using TestTypesRotate = ::testing::
|
using TestTypesRotate = ::testing::
|
||||||
Types<I420Buffer, I010Buffer, I444Buffer, I422Buffer, I210Buffer>;
|
Types<I420Buffer, I010Buffer, I444Buffer, I422Buffer, I210Buffer>;
|
||||||
>>>>>>> m108
|
|
||||||
INSTANTIATE_TYPED_TEST_SUITE_P(Rotate,
|
INSTANTIATE_TYPED_TEST_SUITE_P(Rotate,
|
||||||
TestPlanarYuvBufferRotate,
|
TestPlanarYuvBufferRotate,
|
||||||
TestTypesRotate);
|
TestTypesRotate);
|
||||||
|
|
|
@ -781,10 +781,6 @@ if (is_linux || is_chromeos || is_win) {
|
||||||
]
|
]
|
||||||
deps = [
|
deps = [
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:stringutils",
|
"../rtc_base:stringutils",
|
||||||
"../system_wrappers:field_trial",
|
"../system_wrappers:field_trial",
|
||||||
"../test:field_trial",
|
"../test:field_trial",
|
||||||
|
@ -943,10 +939,6 @@ if (!build_with_chromium) {
|
||||||
"../rtc_base",
|
"../rtc_base",
|
||||||
"../rtc_base:checks",
|
"../rtc_base:checks",
|
||||||
"../rtc_base:logging",
|
"../rtc_base:logging",
|
||||||
<<<<<<< HEAD
|
|
||||||
"../rtc_base:rtc_base_approved",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"../rtc_base:socket_address",
|
"../rtc_base:socket_address",
|
||||||
"../rtc_base:threading",
|
"../rtc_base:threading",
|
||||||
"../rtc_base:timeutils",
|
"../rtc_base:timeutils",
|
||||||
|
|
|
@ -208,11 +208,7 @@ void AndroidCallClient::CreatePeerConnection() {
|
||||||
|
|
||||||
void AndroidCallClient::Connect() {
|
void AndroidCallClient::Connect() {
|
||||||
webrtc::MutexLock lock(&pc_mutex_);
|
webrtc::MutexLock lock(&pc_mutex_);
|
||||||
<<<<<<< HEAD
|
|
||||||
pc_->CreateOffer(rtc::make_ref_counted<CreateOfferObserver>(pc_),
|
|
||||||
=======
|
|
||||||
pc_->CreateOffer(rtc::make_ref_counted<CreateOfferObserver>(pc_).get(),
|
pc_->CreateOffer(rtc::make_ref_counted<CreateOfferObserver>(pc_).get(),
|
||||||
>>>>>>> m108
|
|
||||||
webrtc::PeerConnectionInterface::RTCOfferAnswerOptions());
|
webrtc::PeerConnectionInterface::RTCOfferAnswerOptions());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -262,11 +258,7 @@ void CreateOfferObserver::OnSuccess(webrtc::SessionDescriptionInterface* desc) {
|
||||||
|
|
||||||
// Ownership of desc was transferred to us, now we transfer it forward.
|
// Ownership of desc was transferred to us, now we transfer it forward.
|
||||||
pc_->SetLocalDescription(
|
pc_->SetLocalDescription(
|
||||||
<<<<<<< HEAD
|
|
||||||
rtc::make_ref_counted<SetLocalSessionDescriptionObserver>(), desc);
|
|
||||||
=======
|
|
||||||
rtc::make_ref_counted<SetLocalSessionDescriptionObserver>().get(), desc);
|
rtc::make_ref_counted<SetLocalSessionDescriptionObserver>().get(), desc);
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
// Generate a fake answer.
|
// Generate a fake answer.
|
||||||
std::unique_ptr<webrtc::SessionDescriptionInterface> answer(
|
std::unique_ptr<webrtc::SessionDescriptionInterface> answer(
|
||||||
|
|
|
@ -167,11 +167,7 @@ void ObjCCallClient::CreatePeerConnection() {
|
||||||
|
|
||||||
void ObjCCallClient::Connect() {
|
void ObjCCallClient::Connect() {
|
||||||
webrtc::MutexLock lock(&pc_mutex_);
|
webrtc::MutexLock lock(&pc_mutex_);
|
||||||
<<<<<<< HEAD
|
|
||||||
pc_->CreateOffer(rtc::make_ref_counted<CreateOfferObserver>(pc_),
|
|
||||||
=======
|
|
||||||
pc_->CreateOffer(rtc::make_ref_counted<CreateOfferObserver>(pc_).get(),
|
pc_->CreateOffer(rtc::make_ref_counted<CreateOfferObserver>(pc_).get(),
|
||||||
>>>>>>> m108
|
|
||||||
webrtc::PeerConnectionInterface::RTCOfferAnswerOptions());
|
webrtc::PeerConnectionInterface::RTCOfferAnswerOptions());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,12 +213,8 @@ void CreateOfferObserver::OnSuccess(webrtc::SessionDescriptionInterface* desc) {
|
||||||
RTC_LOG(LS_INFO) << "Created offer: " << sdp;
|
RTC_LOG(LS_INFO) << "Created offer: " << sdp;
|
||||||
|
|
||||||
// Ownership of desc was transferred to us, now we transfer it forward.
|
// Ownership of desc was transferred to us, now we transfer it forward.
|
||||||
<<<<<<< HEAD
|
|
||||||
pc_->SetLocalDescription(rtc::make_ref_counted<SetLocalSessionDescriptionObserver>(), desc);
|
|
||||||
=======
|
|
||||||
pc_->SetLocalDescription(absl::WrapUnique(desc),
|
pc_->SetLocalDescription(absl::WrapUnique(desc),
|
||||||
rtc::make_ref_counted<SetLocalSessionDescriptionObserver>());
|
rtc::make_ref_counted<SetLocalSessionDescriptionObserver>());
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
// Generate a fake answer.
|
// Generate a fake answer.
|
||||||
std::unique_ptr<webrtc::SessionDescriptionInterface> answer(
|
std::unique_ptr<webrtc::SessionDescriptionInterface> answer(
|
||||||
|
|
|
@ -57,11 +57,7 @@ const char kSessionDescriptionSdpName[] = "sdp";
|
||||||
class DummySetSessionDescriptionObserver
|
class DummySetSessionDescriptionObserver
|
||||||
: public webrtc::SetSessionDescriptionObserver {
|
: public webrtc::SetSessionDescriptionObserver {
|
||||||
public:
|
public:
|
||||||
<<<<<<< HEAD
|
|
||||||
static DummySetSessionDescriptionObserver* Create() {
|
|
||||||
=======
|
|
||||||
static rtc::scoped_refptr<DummySetSessionDescriptionObserver> Create() {
|
static rtc::scoped_refptr<DummySetSessionDescriptionObserver> Create() {
|
||||||
>>>>>>> m108
|
|
||||||
return rtc::make_ref_counted<DummySetSessionDescriptionObserver>();
|
return rtc::make_ref_counted<DummySetSessionDescriptionObserver>();
|
||||||
}
|
}
|
||||||
virtual void OnSuccess() { RTC_LOG(LS_INFO) << __FUNCTION__; }
|
virtual void OnSuccess() { RTC_LOG(LS_INFO) << __FUNCTION__; }
|
||||||
|
|
|
@ -479,13 +479,8 @@ void PeerConnectionClient::OnClose(rtc::Socket* socket, int err) {
|
||||||
} else {
|
} else {
|
||||||
if (socket == control_socket_.get()) {
|
if (socket == control_socket_.get()) {
|
||||||
RTC_LOG(LS_WARNING) << "Connection refused; retrying in 2 seconds";
|
RTC_LOG(LS_WARNING) << "Connection refused; retrying in 2 seconds";
|
||||||
<<<<<<< HEAD
|
|
||||||
rtc::Thread::Current()->PostDelayed(RTC_FROM_HERE, kReconnectDelay, this,
|
|
||||||
0);
|
|
||||||
=======
|
|
||||||
rtc::Thread::Current()->PostDelayedTask(
|
rtc::Thread::Current()->PostDelayedTask(
|
||||||
SafeTask(safety_.flag(), [this] { DoConnect(); }), kReconnectDelay);
|
SafeTask(safety_.flag(), [this] { DoConnect(); }), kReconnectDelay);
|
||||||
>>>>>>> m108
|
|
||||||
} else {
|
} else {
|
||||||
Close();
|
Close();
|
||||||
callback_->OnDisconnected();
|
callback_->OnDisconnected();
|
||||||
|
|
|
@ -98,11 +98,7 @@ std::string GetPeerConnectionString() {
|
||||||
class DummySetSessionDescriptionObserver
|
class DummySetSessionDescriptionObserver
|
||||||
: public webrtc::SetSessionDescriptionObserver {
|
: public webrtc::SetSessionDescriptionObserver {
|
||||||
public:
|
public:
|
||||||
<<<<<<< HEAD
|
|
||||||
static DummySetSessionDescriptionObserver* Create() {
|
|
||||||
=======
|
|
||||||
static rtc::scoped_refptr<DummySetSessionDescriptionObserver> Create() {
|
static rtc::scoped_refptr<DummySetSessionDescriptionObserver> Create() {
|
||||||
>>>>>>> m108
|
|
||||||
return rtc::make_ref_counted<DummySetSessionDescriptionObserver>();
|
return rtc::make_ref_counted<DummySetSessionDescriptionObserver>();
|
||||||
}
|
}
|
||||||
virtual void OnSuccess() { RTC_LOG(LS_INFO) << __FUNCTION__; }
|
virtual void OnSuccess() { RTC_LOG(LS_INFO) << __FUNCTION__; }
|
||||||
|
|
|
@ -146,11 +146,6 @@ config_groups {
|
||||||
name: "webrtc/try/mac_compile_dbg"
|
name: "webrtc/try/mac_compile_dbg"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "webrtc/try/mac_rel"
|
|
||||||
}
|
|
||||||
builders {
|
|
||||||
=======
|
|
||||||
name: "webrtc/try/mac_dbg_m1"
|
name: "webrtc/try/mac_dbg_m1"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
|
@ -160,7 +155,6 @@ config_groups {
|
||||||
name: "webrtc/try/mac_rel_m1"
|
name: "webrtc/try/mac_rel_m1"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
>>>>>>> m108
|
|
||||||
name: "webrtc/try/presubmit"
|
name: "webrtc/try/presubmit"
|
||||||
disable_reuse: true
|
disable_reuse: true
|
||||||
}
|
}
|
||||||
|
@ -313,11 +307,6 @@ config_groups {
|
||||||
name: "webrtc/try/mac_compile_dbg"
|
name: "webrtc/try/mac_compile_dbg"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "webrtc/try/mac_rel"
|
|
||||||
}
|
|
||||||
builders {
|
|
||||||
=======
|
|
||||||
name: "webrtc/try/mac_dbg_m1"
|
name: "webrtc/try/mac_dbg_m1"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
|
@ -327,7 +316,6 @@ config_groups {
|
||||||
name: "webrtc/try/mac_rel_m1"
|
name: "webrtc/try/mac_rel_m1"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
>>>>>>> m108
|
|
||||||
name: "webrtc/try/presubmit"
|
name: "webrtc/try/presubmit"
|
||||||
disable_reuse: true
|
disable_reuse: true
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,10 +13,6 @@ lucicfg.check_version("1.30.9")
|
||||||
WEBRTC_GIT = "https://webrtc.googlesource.com/src"
|
WEBRTC_GIT = "https://webrtc.googlesource.com/src"
|
||||||
WEBRTC_GERRIT = "https://webrtc-review.googlesource.com/src"
|
WEBRTC_GERRIT = "https://webrtc-review.googlesource.com/src"
|
||||||
WEBRTC_TROOPER_EMAIL = "webrtc-troopers-robots@google.com"
|
WEBRTC_TROOPER_EMAIL = "webrtc-troopers-robots@google.com"
|
||||||
<<<<<<< HEAD
|
|
||||||
WEBRTC_IOS_XCODE_VERSION = "12a7209"
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
WEBRTC_XCODE13 = "13c100"
|
WEBRTC_XCODE13 = "13c100"
|
||||||
DEFAULT_CPU = "x86-64"
|
DEFAULT_CPU = "x86-64"
|
||||||
|
|
||||||
|
@ -41,8 +37,6 @@ def make_goma_properties(enable_ats = True, jobs = None):
|
||||||
goma_properties["jobs"] = jobs
|
goma_properties["jobs"] = jobs
|
||||||
return {"$build/goma": goma_properties}
|
return {"$build/goma": goma_properties}
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
def make_reclient_properties(instance, jobs = None):
|
def make_reclient_properties(instance, jobs = None):
|
||||||
"""Makes a default reclient property with the specified argument.
|
"""Makes a default reclient property with the specified argument.
|
||||||
|
|
||||||
|
@ -60,33 +54,21 @@ def make_reclient_properties(instance, jobs = None):
|
||||||
reclient_props["jobs"] = jobs
|
reclient_props["jobs"] = jobs
|
||||||
return {"$build/reclient": reclient_props}
|
return {"$build/reclient": reclient_props}
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
# Add names of builders to remove from LKGR finder to this list. This is
|
# Add names of builders to remove from LKGR finder to this list. This is
|
||||||
# useful when a failure can be safely ignored while fixing it without
|
# useful when a failure can be safely ignored while fixing it without
|
||||||
# blocking the LKGR finder on it.
|
# blocking the LKGR finder on it.
|
||||||
skipped_lkgr_bots = [
|
skipped_lkgr_bots = [
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
"Android32 (M Nexus5X)(reclient)",
|
"Android32 (M Nexus5X)(reclient)",
|
||||||
"Linux64 Release (reclient)",
|
"Linux64 Release (reclient)",
|
||||||
"Mac64 Release (reclient)",
|
"Mac64 Release (reclient)",
|
||||||
"Win64 Release (Clang)(reclient)",
|
"Win64 Release (Clang)(reclient)",
|
||||||
"iOS64 Release (reclient)",
|
"iOS64 Release (reclient)",
|
||||||
"Fuchsia Release",
|
"Fuchsia Release",
|
||||||
>>>>>>> m108
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# Use LUCI Scheduler BBv2 names and add Scheduler realms configs.
|
# Use LUCI Scheduler BBv2 names and add Scheduler realms configs.
|
||||||
lucicfg.enable_experiment("crbug.com/1182002")
|
lucicfg.enable_experiment("crbug.com/1182002")
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
luci.builder.defaults.experiments.set(
|
|
||||||
{
|
|
||||||
"luci.recipes.use_python3": 100,
|
|
||||||
},
|
|
||||||
)
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
luci.builder.defaults.test_presentation.set(
|
luci.builder.defaults.test_presentation.set(
|
||||||
resultdb.test_presentation(grouping_keys = ["status", "v.test_suite"]),
|
resultdb.test_presentation(grouping_keys = ["status", "v.test_suite"]),
|
||||||
)
|
)
|
||||||
|
@ -94,12 +76,7 @@ luci.builder.defaults.test_presentation.set(
|
||||||
lucicfg.config(
|
lucicfg.config(
|
||||||
config_dir = ".",
|
config_dir = ".",
|
||||||
tracked_files = [
|
tracked_files = [
|
||||||
<<<<<<< HEAD
|
|
||||||
"chops-weetbix-dev.cfg",
|
|
||||||
"chops-weetbix.cfg",
|
|
||||||
=======
|
|
||||||
"luci-analysis.cfg",
|
"luci-analysis.cfg",
|
||||||
>>>>>>> m108
|
|
||||||
"commit-queue.cfg",
|
"commit-queue.cfg",
|
||||||
"cr-buildbucket.cfg",
|
"cr-buildbucket.cfg",
|
||||||
"luci-logdog.cfg",
|
"luci-logdog.cfg",
|
||||||
|
@ -152,8 +129,6 @@ luci.project(
|
||||||
"chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
"chromium-tester@chops-service-accounts.iam.gserviceaccount.com",
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
# Roles for LUCI Analysis.
|
# Roles for LUCI Analysis.
|
||||||
luci.binding(
|
luci.binding(
|
||||||
roles = "role/analysis.reader",
|
roles = "role/analysis.reader",
|
||||||
|
@ -167,7 +142,6 @@ luci.project(
|
||||||
roles = "role/analysis.editor",
|
roles = "role/analysis.editor",
|
||||||
groups = "googlers",
|
groups = "googlers",
|
||||||
),
|
),
|
||||||
>>>>>>> m108
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -183,18 +157,8 @@ luci.milo(
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
lucicfg.emit(
|
lucicfg.emit(
|
||||||
<<<<<<< HEAD
|
|
||||||
dest = "chops-weetbix-dev.cfg",
|
|
||||||
data = io.read_file("chops-weetbix-dev.cfg"),
|
|
||||||
)
|
|
||||||
|
|
||||||
lucicfg.emit(
|
|
||||||
dest = "chops-weetbix.cfg",
|
|
||||||
data = io.read_file("chops-weetbix.cfg"),
|
|
||||||
=======
|
|
||||||
dest = "luci-analysis.cfg",
|
dest = "luci-analysis.cfg",
|
||||||
data = io.read_file("luci-analysis.cfg"),
|
data = io.read_file("luci-analysis.cfg"),
|
||||||
>>>>>>> m108
|
|
||||||
)
|
)
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -320,13 +284,6 @@ luci.bucket(
|
||||||
acl.entry(acl.BUILDBUCKET_TRIGGERER, groups = [
|
acl.entry(acl.BUILDBUCKET_TRIGGERER, groups = [
|
||||||
"project-webrtc-ci-schedulers",
|
"project-webrtc-ci-schedulers",
|
||||||
]),
|
]),
|
||||||
<<<<<<< HEAD
|
|
||||||
acl.entry(acl.BUILDBUCKET_TRIGGERER, groups = [
|
|
||||||
# Allow Pinpoint to trigger builds for bisection
|
|
||||||
"service-account-chromeperf",
|
|
||||||
]),
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -336,13 +293,10 @@ luci.bucket(
|
||||||
acl.entry(acl.BUILDBUCKET_TRIGGERER, users = [
|
acl.entry(acl.BUILDBUCKET_TRIGGERER, users = [
|
||||||
"webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com",
|
"webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com",
|
||||||
]),
|
]),
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
acl.entry(acl.BUILDBUCKET_TRIGGERER, groups = [
|
acl.entry(acl.BUILDBUCKET_TRIGGERER, groups = [
|
||||||
# Allow Pinpoint to trigger builds for bisection
|
# Allow Pinpoint to trigger builds for bisection
|
||||||
"service-account-chromeperf",
|
"service-account-chromeperf",
|
||||||
]),
|
]),
|
||||||
>>>>>>> m108
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -451,12 +405,8 @@ luci.tree_closer(
|
||||||
"compile",
|
"compile",
|
||||||
"gn",
|
"gn",
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude = ".*\\(experimental\\).*",
|
|
||||||
=======
|
|
||||||
# TODO(b/239908030, b/243594984): remove reclient builders after migration.
|
# TODO(b/239908030, b/243594984): remove reclient builders after migration.
|
||||||
failed_step_regexp_exclude = ".*(\\(experimental\\)|\\(reclient\\)).*",
|
failed_step_regexp_exclude = ".*(\\(experimental\\)|\\(reclient\\)).*",
|
||||||
>>>>>>> m108
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Recipe definitions:
|
# Recipe definitions:
|
||||||
|
@ -545,12 +495,6 @@ def webrtc_builder(
|
||||||
A luci.builder.
|
A luci.builder.
|
||||||
"""
|
"""
|
||||||
properties = properties or {}
|
properties = properties or {}
|
||||||
<<<<<<< HEAD
|
|
||||||
properties["$recipe_engine/isolated"] = {
|
|
||||||
"server": "https://isolateserver.appspot.com",
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
resultdb_bq_table = "webrtc-ci.resultdb." + bucket + "_test_results"
|
resultdb_bq_table = "webrtc-ci.resultdb." + bucket + "_test_results"
|
||||||
return luci.builder(
|
return luci.builder(
|
||||||
name = name,
|
name = name,
|
||||||
|
@ -605,13 +549,6 @@ def ci_builder(
|
||||||
|
|
||||||
if enabled:
|
if enabled:
|
||||||
add_milo(name, {"ci": ci_cat, "perf": perf_cat})
|
add_milo(name, {"ci": ci_cat, "perf": perf_cat})
|
||||||
<<<<<<< HEAD
|
|
||||||
if ci_cat:
|
|
||||||
lkgr_builders.append(name)
|
|
||||||
dimensions.update({"pool": "luci.webrtc.ci", "cpu": kwargs.pop("cpu", DEFAULT_CPU)})
|
|
||||||
properties = properties or {}
|
|
||||||
properties["builder_group"] = "client.webrtc"
|
|
||||||
=======
|
|
||||||
if ci_cat and not perf_cat:
|
if ci_cat and not perf_cat:
|
||||||
lkgr_builders.append(name)
|
lkgr_builders.append(name)
|
||||||
dimensions.update({"pool": "luci.webrtc.ci", "cpu": kwargs.pop("cpu", DEFAULT_CPU)})
|
dimensions.update({"pool": "luci.webrtc.ci", "cpu": kwargs.pop("cpu", DEFAULT_CPU)})
|
||||||
|
@ -621,7 +558,6 @@ def ci_builder(
|
||||||
properties.update(make_reclient_properties("rbe-webrtc-trusted"))
|
properties.update(make_reclient_properties("rbe-webrtc-trusted"))
|
||||||
|
|
||||||
# TODO(b/245249582): remove goma properties after reclient migration.
|
# TODO(b/245249582): remove goma properties after reclient migration.
|
||||||
>>>>>>> m108
|
|
||||||
properties.update(make_goma_properties())
|
properties.update(make_goma_properties())
|
||||||
notifies = ["post_submit_failure_notifier", "infra_failure_notifier"]
|
notifies = ["post_submit_failure_notifier", "infra_failure_notifier"]
|
||||||
notifies += ["webrtc_tree_closer"] if name not in skipped_lkgr_bots else []
|
notifies += ["webrtc_tree_closer"] if name not in skipped_lkgr_bots else []
|
||||||
|
@ -629,11 +565,7 @@ def ci_builder(
|
||||||
name = name,
|
name = name,
|
||||||
dimensions = dimensions,
|
dimensions = dimensions,
|
||||||
properties = properties,
|
properties = properties,
|
||||||
<<<<<<< HEAD
|
|
||||||
bucket = "ci",
|
|
||||||
=======
|
|
||||||
bucket = "perf" if perf_cat else "ci",
|
bucket = "perf" if perf_cat else "ci",
|
||||||
>>>>>>> m108
|
|
||||||
service_account = "webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com",
|
service_account = "webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com",
|
||||||
triggered_by = ["webrtc-gitiles-trigger-main"] if enabled else None,
|
triggered_by = ["webrtc-gitiles-trigger-main"] if enabled else None,
|
||||||
repo = WEBRTC_GIT,
|
repo = WEBRTC_GIT,
|
||||||
|
@ -687,10 +619,6 @@ def try_builder(
|
||||||
)
|
)
|
||||||
|
|
||||||
def perf_builder(name, perf_cat, **kwargs):
|
def perf_builder(name, perf_cat, **kwargs):
|
||||||
<<<<<<< HEAD
|
|
||||||
add_milo(name, {"perf": perf_cat})
|
|
||||||
properties = make_goma_properties()
|
|
||||||
=======
|
|
||||||
"""Add a perf builder.
|
"""Add a perf builder.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
@ -705,7 +633,6 @@ def perf_builder(name, perf_cat, **kwargs):
|
||||||
add_milo(name, {"perf": perf_cat})
|
add_milo(name, {"perf": perf_cat})
|
||||||
properties = make_goma_properties()
|
properties = make_goma_properties()
|
||||||
properties.update(make_reclient_properties("rbe-webrtc-trusted"))
|
properties.update(make_reclient_properties("rbe-webrtc-trusted"))
|
||||||
>>>>>>> m108
|
|
||||||
properties["builder_group"] = "client.webrtc.perf"
|
properties["builder_group"] = "client.webrtc.perf"
|
||||||
return webrtc_builder(
|
return webrtc_builder(
|
||||||
name = name,
|
name = name,
|
||||||
|
@ -772,20 +699,7 @@ mac_builder, mac_try_job = normal_builder_factory(
|
||||||
)
|
)
|
||||||
|
|
||||||
ios_builder, ios_try_job = normal_builder_factory(
|
ios_builder, ios_try_job = normal_builder_factory(
|
||||||
<<<<<<< HEAD
|
|
||||||
dimensions = {"os": "Mac-10.15"},
|
|
||||||
properties = {"xcode_build_version": WEBRTC_IOS_XCODE_VERSION},
|
|
||||||
caches = [swarming.cache(
|
|
||||||
name = "xcode_ios_" + WEBRTC_IOS_XCODE_VERSION,
|
|
||||||
path = "xcode_ios_" + WEBRTC_IOS_XCODE_VERSION + ".app",
|
|
||||||
)],
|
|
||||||
)
|
|
||||||
|
|
||||||
ios_builder_macos11, ios_try_job_macos11 = normal_builder_factory(
|
|
||||||
dimensions = {"os": "Mac-11"},
|
|
||||||
=======
|
|
||||||
dimensions = {"os": "Mac"},
|
dimensions = {"os": "Mac"},
|
||||||
>>>>>>> m108
|
|
||||||
properties = {"xcode_build_version": WEBRTC_XCODE13},
|
properties = {"xcode_build_version": WEBRTC_XCODE13},
|
||||||
caches = [swarming.cache(
|
caches = [swarming.cache(
|
||||||
name = "xcode_ios_" + WEBRTC_XCODE13,
|
name = "xcode_ios_" + WEBRTC_XCODE13,
|
||||||
|
@ -799,10 +713,7 @@ android_builder("Android32 (M Nexus5X)(dbg)", "Android|arm|dbg")
|
||||||
android_try_job("android_compile_arm_dbg", cq = None)
|
android_try_job("android_compile_arm_dbg", cq = None)
|
||||||
android_try_job("android_arm_dbg")
|
android_try_job("android_arm_dbg")
|
||||||
android_builder("Android32 (M Nexus5X)", "Android|arm|rel")
|
android_builder("Android32 (M Nexus5X)", "Android|arm|rel")
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
android_builder("Android32 (M Nexus5X)(reclient)", "Android|arm|re")
|
android_builder("Android32 (M Nexus5X)(reclient)", "Android|arm|re")
|
||||||
>>>>>>> m108
|
|
||||||
android_try_job("android_arm_rel")
|
android_try_job("android_arm_rel")
|
||||||
android_builder("Android32 Builder arm", "Android|arm|size", perf_cat = "Android|arm|Builder|", prioritized = True)
|
android_builder("Android32 Builder arm", "Android|arm|size", perf_cat = "Android|arm|Builder|", prioritized = True)
|
||||||
android_try_job("android_compile_arm_rel")
|
android_try_job("android_compile_arm_rel")
|
||||||
|
@ -830,26 +741,16 @@ android_try_job("android_chromium_compile", recipe = "chromium_trybot", branch_c
|
||||||
ios_builder("iOS64 Debug", "iOS|arm64|dbg")
|
ios_builder("iOS64 Debug", "iOS|arm64|dbg")
|
||||||
ios_try_job("ios_compile_arm64_dbg")
|
ios_try_job("ios_compile_arm64_dbg")
|
||||||
ios_builder("iOS64 Release", "iOS|arm64|rel")
|
ios_builder("iOS64 Release", "iOS|arm64|rel")
|
||||||
<<<<<<< HEAD
|
|
||||||
ios_try_job("ios_compile_arm64_rel")
|
|
||||||
ios_builder("iOS64 Sim Debug (iOS 14.0)", "iOS|x64|14")
|
|
||||||
=======
|
|
||||||
ios_builder("iOS64 Release (reclient)", "iOS|arm64|re")
|
ios_builder("iOS64 Release (reclient)", "iOS|arm64|re")
|
||||||
ios_try_job("ios_compile_arm64_rel")
|
ios_try_job("ios_compile_arm64_rel")
|
||||||
ios_builder("iOS64 Sim Debug (iOS 14)", "iOS|x64|14")
|
ios_builder("iOS64 Sim Debug (iOS 14)", "iOS|x64|14")
|
||||||
>>>>>>> m108
|
|
||||||
ios_try_job("ios_sim_x64_dbg_ios14")
|
ios_try_job("ios_sim_x64_dbg_ios14")
|
||||||
ios_builder("iOS64 Sim Debug (iOS 13)", "iOS|x64|13")
|
ios_builder("iOS64 Sim Debug (iOS 13)", "iOS|x64|13")
|
||||||
ios_try_job("ios_sim_x64_dbg_ios13")
|
ios_try_job("ios_sim_x64_dbg_ios13")
|
||||||
ios_builder("iOS64 Sim Debug (iOS 12)", "iOS|x64|12")
|
ios_builder("iOS64 Sim Debug (iOS 12)", "iOS|x64|12")
|
||||||
ios_try_job("ios_sim_x64_dbg_ios12")
|
ios_try_job("ios_sim_x64_dbg_ios12")
|
||||||
<<<<<<< HEAD
|
|
||||||
ios_builder_macos11("iOS API Framework Builder", "iOS|fat|size", recipe = "ios_api_framework", prioritized = True)
|
|
||||||
ios_try_job_macos11("ios_api_framework", recipe = "ios_api_framework")
|
|
||||||
=======
|
|
||||||
ios_builder("iOS API Framework Builder", "iOS|fat|size", recipe = "ios_api_framework", prioritized = True)
|
ios_builder("iOS API Framework Builder", "iOS|fat|size", recipe = "ios_api_framework", prioritized = True)
|
||||||
ios_try_job("ios_api_framework", recipe = "ios_api_framework")
|
ios_try_job("ios_api_framework", recipe = "ios_api_framework")
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
linux_builder("Linux32 Debug", "Linux|x86|dbg")
|
linux_builder("Linux32 Debug", "Linux|x86|dbg")
|
||||||
linux_try_job("linux_x86_dbg")
|
linux_try_job("linux_x86_dbg")
|
||||||
|
@ -859,17 +760,10 @@ linux_builder("Linux64 Debug", "Linux|x64|dbg")
|
||||||
linux_try_job("linux_dbg", cq = None)
|
linux_try_job("linux_dbg", cq = None)
|
||||||
linux_try_job("linux_compile_dbg")
|
linux_try_job("linux_compile_dbg")
|
||||||
linux_builder("Linux64 Release", "Linux|x64|rel")
|
linux_builder("Linux64 Release", "Linux|x64|rel")
|
||||||
<<<<<<< HEAD
|
|
||||||
linux_try_job("linux_rel")
|
|
||||||
linux_builder("Linux64 Builder", "Linux|x64|size", perf_cat = "Linux|x64|Builder|", prioritized = True)
|
|
||||||
linux_try_job("linux_compile_rel")
|
|
||||||
perf_builder("Perf Linux Trusty", "Linux|x64|Tester|Trusty", triggered_by = ["Linux64 Builder"])
|
|
||||||
=======
|
|
||||||
linux_builder("Linux64 Release (reclient)", "Linux|x64|re")
|
linux_builder("Linux64 Release (reclient)", "Linux|x64|re")
|
||||||
linux_try_job("linux_rel")
|
linux_try_job("linux_rel")
|
||||||
linux_builder("Linux64 Builder", "Linux|x64|size", perf_cat = "Linux|x64|Builder|", prioritized = True)
|
linux_builder("Linux64 Builder", "Linux|x64|size", perf_cat = "Linux|x64|Builder|", prioritized = True)
|
||||||
linux_try_job("linux_compile_rel")
|
linux_try_job("linux_compile_rel")
|
||||||
>>>>>>> m108
|
|
||||||
perf_builder("Perf Linux Bionic", "Linux|x64|Tester|Bionic", triggered_by = ["Linux64 Builder"])
|
perf_builder("Perf Linux Bionic", "Linux|x64|Tester|Bionic", triggered_by = ["Linux64 Builder"])
|
||||||
linux_builder("Linux32 Debug (ARM)", "Linux|arm|dbg")
|
linux_builder("Linux32 Debug (ARM)", "Linux|arm|dbg")
|
||||||
linux_try_job("linux_compile_arm_dbg")
|
linux_try_job("linux_compile_arm_dbg")
|
||||||
|
@ -895,22 +789,13 @@ linux_builder("Linux (more configs)", "Linux|x64|more")
|
||||||
linux_try_job("linux_more_configs")
|
linux_try_job("linux_more_configs")
|
||||||
linux_try_job("linux_chromium_compile", recipe = "chromium_trybot", branch_cq = False)
|
linux_try_job("linux_chromium_compile", recipe = "chromium_trybot", branch_cq = False)
|
||||||
linux_try_job("linux_chromium_compile_dbg", recipe = "chromium_trybot", branch_cq = False)
|
linux_try_job("linux_chromium_compile_dbg", recipe = "chromium_trybot", branch_cq = False)
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
linux_builder("Fuchsia Release", "Fuchsia|x64|rel")
|
linux_builder("Fuchsia Release", "Fuchsia|x64|rel")
|
||||||
linux_try_job("fuchsia_rel", cq = None)
|
linux_try_job("fuchsia_rel", cq = None)
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
mac_builder("Mac64 Debug", "Mac|x64|dbg")
|
mac_builder("Mac64 Debug", "Mac|x64|dbg")
|
||||||
mac_try_job("mac_dbg", cq = None)
|
mac_try_job("mac_dbg", cq = None)
|
||||||
mac_try_job("mac_compile_dbg")
|
mac_try_job("mac_compile_dbg")
|
||||||
mac_builder("Mac64 Release", "Mac|x64|rel")
|
mac_builder("Mac64 Release", "Mac|x64|rel")
|
||||||
<<<<<<< HEAD
|
|
||||||
mac_try_job("mac_rel")
|
|
||||||
mac_try_job("mac_compile_rel", cq = None)
|
|
||||||
mac_builder("Mac64 Builder", ci_cat = None, perf_cat = "Mac|x64|Builder|")
|
|
||||||
perf_builder("Perf Mac 10.11", "Mac|x64|Tester|10.11", triggered_by = ["Mac64 Builder"])
|
|
||||||
=======
|
|
||||||
mac_builder("Mac64 Release (reclient)", "Mac|x64|re")
|
mac_builder("Mac64 Release (reclient)", "Mac|x64|re")
|
||||||
mac_try_job("mac_rel")
|
mac_try_job("mac_rel")
|
||||||
mac_try_job("mac_compile_rel", cq = None)
|
mac_try_job("mac_compile_rel", cq = None)
|
||||||
|
@ -919,18 +804,12 @@ mac_builder("MacArm64 Builder", ci_cat = None, perf_cat = "Mac|arm64|Builder")
|
||||||
perf_builder("Perf Mac 11", "Mac|x64|Tester|11", triggered_by = ["Mac64 Builder"])
|
perf_builder("Perf Mac 11", "Mac|x64|Tester|11", triggered_by = ["Mac64 Builder"])
|
||||||
perf_builder("Perf Mac M1 Arm64 12", "Mac|arm64|Tester|12", triggered_by = ["MacArm64 Builder"])
|
perf_builder("Perf Mac M1 Arm64 12", "Mac|arm64|Tester|12", triggered_by = ["MacArm64 Builder"])
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
mac_builder("Mac Asan", "Mac|x64|asan")
|
mac_builder("Mac Asan", "Mac|x64|asan")
|
||||||
mac_try_job("mac_asan")
|
mac_try_job("mac_asan")
|
||||||
mac_try_job("mac_chromium_compile", recipe = "chromium_trybot", branch_cq = False)
|
mac_try_job("mac_chromium_compile", recipe = "chromium_trybot", branch_cq = False)
|
||||||
mac_builder("MacARM64 M1 Release", "Mac|arm64M1|rel", cpu = "arm64-64-Apple_M1")
|
mac_builder("MacARM64 M1 Release", "Mac|arm64M1|rel", cpu = "arm64-64-Apple_M1")
|
||||||
<<<<<<< HEAD
|
|
||||||
mac_try_job("mac_rel_m1", try_cat = None, cq = None)
|
|
||||||
mac_try_job("mac_dbg_m1", try_cat = None, cq = None)
|
|
||||||
=======
|
|
||||||
mac_try_job("mac_rel_m1")
|
mac_try_job("mac_rel_m1")
|
||||||
mac_try_job("mac_dbg_m1")
|
mac_try_job("mac_dbg_m1")
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
win_builder("Win32 Debug (Clang)", "Win Clang|x86|dbg")
|
win_builder("Win32 Debug (Clang)", "Win Clang|x86|dbg")
|
||||||
win_try_job("win_x86_clang_dbg", cq = None)
|
win_try_job("win_x86_clang_dbg", cq = None)
|
||||||
|
@ -945,10 +824,7 @@ win_try_job("win_x64_clang_dbg", cq = None)
|
||||||
win_try_job("win_x64_clang_dbg_win10", cq = None)
|
win_try_job("win_x64_clang_dbg_win10", cq = None)
|
||||||
win_try_job("win_compile_x64_clang_dbg")
|
win_try_job("win_compile_x64_clang_dbg")
|
||||||
win_builder("Win64 Release (Clang)", "Win Clang|x64|rel")
|
win_builder("Win64 Release (Clang)", "Win Clang|x64|rel")
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
win_builder("Win64 Release (Clang)(reclient)", "Win Clang|x64|re")
|
win_builder("Win64 Release (Clang)(reclient)", "Win Clang|x64|re")
|
||||||
>>>>>>> m108
|
|
||||||
win_try_job("win_x64_clang_rel", cq = None)
|
win_try_job("win_x64_clang_rel", cq = None)
|
||||||
win_try_job("win_compile_x64_clang_rel")
|
win_try_job("win_compile_x64_clang_rel")
|
||||||
win_builder("Win64 ASan", "Win Clang|x64|asan")
|
win_builder("Win64 ASan", "Win Clang|x64|asan")
|
||||||
|
@ -983,13 +859,8 @@ lkgr_config = {
|
||||||
"project": "webrtc",
|
"project": "webrtc",
|
||||||
"source_url": WEBRTC_GIT,
|
"source_url": WEBRTC_GIT,
|
||||||
"status_url": "https://webrtc-status.appspot.com",
|
"status_url": "https://webrtc-status.appspot.com",
|
||||||
<<<<<<< HEAD
|
|
||||||
"allowed_lag": 150, # hours
|
|
||||||
"allowed_gap": 4, # commits behind
|
|
||||||
=======
|
|
||||||
"allowed_lag": 9, # hours (up to 10x during low commit volume periods)
|
"allowed_lag": 9, # hours (up to 10x during low commit volume periods)
|
||||||
"allowed_gap": 150, # commits behind
|
"allowed_gap": 150, # commits behind
|
||||||
>>>>>>> m108
|
|
||||||
"error_recipients": WEBRTC_TROOPER_EMAIL,
|
"error_recipients": WEBRTC_TROOPER_EMAIL,
|
||||||
"buckets": {
|
"buckets": {
|
||||||
"webrtc/ci": {
|
"webrtc/ci": {
|
||||||
|
@ -1007,10 +878,6 @@ lkgr_config = {
|
||||||
"WebRTC Chromium FYI Android Builder ARM64 (dbg)",
|
"WebRTC Chromium FYI Android Builder ARM64 (dbg)",
|
||||||
"WebRTC Chromium FYI Android Builder",
|
"WebRTC Chromium FYI Android Builder",
|
||||||
"WebRTC Chromium FYI Android Tests (dbg) (M Nexus5X)",
|
"WebRTC Chromium FYI Android Tests (dbg) (M Nexus5X)",
|
||||||
<<<<<<< HEAD
|
|
||||||
"WebRTC Chromium FYI Android Tests (dbg) (N Nexus5X)",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"WebRTC Chromium FYI Linux Builder (dbg)",
|
"WebRTC Chromium FYI Linux Builder (dbg)",
|
||||||
"WebRTC Chromium FYI Linux Builder",
|
"WebRTC Chromium FYI Linux Builder",
|
||||||
"WebRTC Chromium FYI Linux Tester",
|
"WebRTC Chromium FYI Linux Tester",
|
||||||
|
@ -1020,10 +887,6 @@ lkgr_config = {
|
||||||
"WebRTC Chromium FYI Win Builder (dbg)",
|
"WebRTC Chromium FYI Win Builder (dbg)",
|
||||||
"WebRTC Chromium FYI Win Builder",
|
"WebRTC Chromium FYI Win Builder",
|
||||||
"WebRTC Chromium FYI Win10 Tester",
|
"WebRTC Chromium FYI Win10 Tester",
|
||||||
<<<<<<< HEAD
|
|
||||||
"WebRTC Chromium FYI Win7 Tester",
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
"WebRTC Chromium FYI ios-device",
|
"WebRTC Chromium FYI ios-device",
|
||||||
"WebRTC Chromium FYI ios-simulator",
|
"WebRTC Chromium FYI ios-simulator",
|
||||||
],
|
],
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -22,16 +22,12 @@ consoles {
|
||||||
short_name: "rel"
|
short_name: "rel"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Android32 Builder arm"
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Android32 (M Nexus5X)(reclient)"
|
name: "buildbucket/luci.webrtc.ci/Android32 (M Nexus5X)(reclient)"
|
||||||
category: "Android|arm"
|
category: "Android|arm"
|
||||||
short_name: "re"
|
short_name: "re"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
name: "buildbucket/luci.webrtc.perf/Android32 Builder arm"
|
name: "buildbucket/luci.webrtc.perf/Android32 Builder arm"
|
||||||
>>>>>>> m108
|
|
||||||
category: "Android|arm"
|
category: "Android|arm"
|
||||||
short_name: "size"
|
short_name: "size"
|
||||||
}
|
}
|
||||||
|
@ -41,11 +37,7 @@ consoles {
|
||||||
short_name: "rel"
|
short_name: "rel"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Android64 Builder arm64"
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.perf/Android64 Builder arm64"
|
name: "buildbucket/luci.webrtc.perf/Android64 Builder arm64"
|
||||||
>>>>>>> m108
|
|
||||||
category: "Android|arm64"
|
category: "Android|arm64"
|
||||||
short_name: "size"
|
short_name: "size"
|
||||||
}
|
}
|
||||||
|
@ -80,16 +72,12 @@ consoles {
|
||||||
short_name: "rel"
|
short_name: "rel"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "buildbucket/luci.webrtc.ci/iOS64 Sim Debug (iOS 14.0)"
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.ci/iOS64 Release (reclient)"
|
name: "buildbucket/luci.webrtc.ci/iOS64 Release (reclient)"
|
||||||
category: "iOS|arm64"
|
category: "iOS|arm64"
|
||||||
short_name: "re"
|
short_name: "re"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
name: "buildbucket/luci.webrtc.ci/iOS64 Sim Debug (iOS 14)"
|
name: "buildbucket/luci.webrtc.ci/iOS64 Sim Debug (iOS 14)"
|
||||||
>>>>>>> m108
|
|
||||||
category: "iOS|x64"
|
category: "iOS|x64"
|
||||||
short_name: "14"
|
short_name: "14"
|
||||||
}
|
}
|
||||||
|
@ -129,16 +117,12 @@ consoles {
|
||||||
short_name: "rel"
|
short_name: "rel"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Linux64 Builder"
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Linux64 Release (reclient)"
|
name: "buildbucket/luci.webrtc.ci/Linux64 Release (reclient)"
|
||||||
category: "Linux|x64"
|
category: "Linux|x64"
|
||||||
short_name: "re"
|
short_name: "re"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
name: "buildbucket/luci.webrtc.perf/Linux64 Builder"
|
name: "buildbucket/luci.webrtc.perf/Linux64 Builder"
|
||||||
>>>>>>> m108
|
|
||||||
category: "Linux|x64"
|
category: "Linux|x64"
|
||||||
short_name: "size"
|
short_name: "size"
|
||||||
}
|
}
|
||||||
|
@ -198,14 +182,11 @@ consoles {
|
||||||
short_name: "more"
|
short_name: "more"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Fuchsia Release"
|
name: "buildbucket/luci.webrtc.ci/Fuchsia Release"
|
||||||
category: "Fuchsia|x64"
|
category: "Fuchsia|x64"
|
||||||
short_name: "rel"
|
short_name: "rel"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
>>>>>>> m108
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Mac64 Debug"
|
name: "buildbucket/luci.webrtc.ci/Mac64 Debug"
|
||||||
category: "Mac|x64"
|
category: "Mac|x64"
|
||||||
short_name: "dbg"
|
short_name: "dbg"
|
||||||
|
@ -216,14 +197,11 @@ consoles {
|
||||||
short_name: "rel"
|
short_name: "rel"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Mac64 Release (reclient)"
|
name: "buildbucket/luci.webrtc.ci/Mac64 Release (reclient)"
|
||||||
category: "Mac|x64"
|
category: "Mac|x64"
|
||||||
short_name: "re"
|
short_name: "re"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
>>>>>>> m108
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Mac Asan"
|
name: "buildbucket/luci.webrtc.ci/Mac Asan"
|
||||||
category: "Mac|x64"
|
category: "Mac|x64"
|
||||||
short_name: "asan"
|
short_name: "asan"
|
||||||
|
@ -254,14 +232,11 @@ consoles {
|
||||||
short_name: "rel"
|
short_name: "rel"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Win64 Release (Clang)(reclient)"
|
name: "buildbucket/luci.webrtc.ci/Win64 Release (Clang)(reclient)"
|
||||||
category: "Win Clang|x64"
|
category: "Win Clang|x64"
|
||||||
short_name: "re"
|
short_name: "re"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
>>>>>>> m108
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Win64 ASan"
|
name: "buildbucket/luci.webrtc.ci/Win64 ASan"
|
||||||
category: "Win Clang|x64"
|
category: "Win Clang|x64"
|
||||||
short_name: "asan"
|
short_name: "asan"
|
||||||
|
@ -341,11 +316,7 @@ consoles {
|
||||||
refs: "regexp:refs/heads/main"
|
refs: "regexp:refs/heads/main"
|
||||||
manifest_name: "REVISION"
|
manifest_name: "REVISION"
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Android32 Builder arm"
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.perf/Android32 Builder arm"
|
name: "buildbucket/luci.webrtc.perf/Android32 Builder arm"
|
||||||
>>>>>>> m108
|
|
||||||
category: "Android|arm|Builder"
|
category: "Android|arm|Builder"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
|
@ -359,11 +330,7 @@ consoles {
|
||||||
short_name: "M AOSP Nexus6"
|
short_name: "M AOSP Nexus6"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Android64 Builder arm64"
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.perf/Android64 Builder arm64"
|
name: "buildbucket/luci.webrtc.perf/Android64 Builder arm64"
|
||||||
>>>>>>> m108
|
|
||||||
category: "Android|arm64|Builder"
|
category: "Android|arm64|Builder"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
|
@ -377,39 +344,15 @@ consoles {
|
||||||
short_name: "O Pixel2"
|
short_name: "O Pixel2"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Linux64 Builder"
|
|
||||||
category: "Linux|x64|Builder"
|
|
||||||
}
|
|
||||||
builders {
|
|
||||||
name: "buildbucket/luci.webrtc.perf/Perf Linux Trusty"
|
|
||||||
category: "Linux|x64|Tester"
|
|
||||||
short_name: "Trusty"
|
|
||||||
}
|
|
||||||
builders {
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.perf/Linux64 Builder"
|
name: "buildbucket/luci.webrtc.perf/Linux64 Builder"
|
||||||
category: "Linux|x64|Builder"
|
category: "Linux|x64|Builder"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
>>>>>>> m108
|
|
||||||
name: "buildbucket/luci.webrtc.perf/Perf Linux Bionic"
|
name: "buildbucket/luci.webrtc.perf/Perf Linux Bionic"
|
||||||
category: "Linux|x64|Tester"
|
category: "Linux|x64|Tester"
|
||||||
short_name: "Bionic"
|
short_name: "Bionic"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Mac64 Builder"
|
|
||||||
category: "Mac|x64|Builder"
|
|
||||||
}
|
|
||||||
builders {
|
|
||||||
name: "buildbucket/luci.webrtc.perf/Perf Mac 10.11"
|
|
||||||
category: "Mac|x64|Tester"
|
|
||||||
short_name: "10.11"
|
|
||||||
}
|
|
||||||
builders {
|
|
||||||
name: "buildbucket/luci.webrtc.ci/Win32 Builder (Clang)"
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.perf/Mac64 Builder"
|
name: "buildbucket/luci.webrtc.perf/Mac64 Builder"
|
||||||
category: "Mac|x64|Builder"
|
category: "Mac|x64|Builder"
|
||||||
}
|
}
|
||||||
|
@ -430,7 +373,6 @@ consoles {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
name: "buildbucket/luci.webrtc.perf/Win32 Builder (Clang)"
|
name: "buildbucket/luci.webrtc.perf/Win32 Builder (Clang)"
|
||||||
>>>>>>> m108
|
|
||||||
category: "Win|x86|Builder"
|
category: "Win|x86|Builder"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
|
@ -635,12 +577,9 @@ consoles {
|
||||||
name: "buildbucket/luci.webrtc.try/linux_chromium_compile_dbg"
|
name: "buildbucket/luci.webrtc.try/linux_chromium_compile_dbg"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.try/fuchsia_rel"
|
name: "buildbucket/luci.webrtc.try/fuchsia_rel"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
>>>>>>> m108
|
|
||||||
name: "buildbucket/luci.webrtc.try/mac_dbg"
|
name: "buildbucket/luci.webrtc.try/mac_dbg"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
|
@ -659,15 +598,12 @@ consoles {
|
||||||
name: "buildbucket/luci.webrtc.try/mac_chromium_compile"
|
name: "buildbucket/luci.webrtc.try/mac_chromium_compile"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
name: "buildbucket/luci.webrtc.try/mac_rel_m1"
|
name: "buildbucket/luci.webrtc.try/mac_rel_m1"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
name: "buildbucket/luci.webrtc.try/mac_dbg_m1"
|
name: "buildbucket/luci.webrtc.try/mac_dbg_m1"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
>>>>>>> m108
|
|
||||||
name: "buildbucket/luci.webrtc.try/win_x86_clang_dbg"
|
name: "buildbucket/luci.webrtc.try/win_x86_clang_dbg"
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
|
|
|
@ -28,11 +28,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -59,11 +55,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -84,20 +76,9 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Android32 (more configs)"
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
|
||||||
}
|
|
||||||
tree_closers {
|
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
name: "Android32 (M Nexus5X)(reclient)"
|
name: "Android32 (M Nexus5X)(reclient)"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
notifications {
|
notifications {
|
||||||
|
@ -117,21 +98,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Android32 Builder arm"
|
|
||||||
=======
|
|
||||||
name: "Android32 (more configs)"
|
name: "Android32 (more configs)"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -158,11 +131,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -189,11 +158,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -220,11 +185,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -245,21 +206,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Android64 Builder arm64"
|
|
||||||
=======
|
|
||||||
name: "Android64 Builder x64 (dbg)"
|
name: "Android64 Builder x64 (dbg)"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -280,20 +233,9 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Android64 Builder x64 (dbg)"
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
|
||||||
}
|
|
||||||
tree_closers {
|
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
}
|
|
||||||
=======
|
|
||||||
name: "Fuchsia Release"
|
name: "Fuchsia Release"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
notifications {
|
notifications {
|
||||||
|
@ -319,11 +261,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -350,11 +288,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -381,11 +315,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -412,11 +342,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -443,11 +369,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -474,11 +396,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -505,11 +423,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -536,11 +450,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -567,11 +477,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -598,11 +504,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -623,21 +525,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Linux64 Builder"
|
|
||||||
=======
|
|
||||||
name: "Linux64 Debug"
|
name: "Linux64 Debug"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -658,21 +552,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Linux64 Debug"
|
|
||||||
=======
|
|
||||||
name: "Linux64 Debug (ARM)"
|
name: "Linux64 Debug (ARM)"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -693,21 +579,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Linux64 Debug (ARM)"
|
|
||||||
=======
|
|
||||||
name: "Linux64 Release"
|
name: "Linux64 Release"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -728,21 +606,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Linux64 Release"
|
|
||||||
=======
|
|
||||||
name: "Linux64 Release (ARM)"
|
name: "Linux64 Release (ARM)"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -763,55 +633,36 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Linux64 Release (ARM)"
|
|
||||||
=======
|
|
||||||
name: "Linux64 Release (Libfuzzer)"
|
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
|
||||||
}
|
|
||||||
tree_closers {
|
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
|
||||||
>>>>>>> m108
|
|
||||||
}
|
|
||||||
}
|
|
||||||
notifiers {
|
|
||||||
notifications {
|
|
||||||
on_new_status: INFRA_FAILURE
|
|
||||||
email {
|
|
||||||
recipients: "webrtc-troopers-robots@google.com"
|
|
||||||
}
|
|
||||||
template: "infra_failure"
|
|
||||||
}
|
|
||||||
notifications {
|
|
||||||
on_new_status: FAILURE
|
|
||||||
email {
|
|
||||||
recipients: "webrtc-troopers-robots@google.com"
|
|
||||||
}
|
|
||||||
template: "build_failure"
|
|
||||||
notify_blamelist {}
|
|
||||||
}
|
|
||||||
builders {
|
|
||||||
bucket: "ci"
|
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Linux64 Release (Libfuzzer)"
|
name: "Linux64 Release (Libfuzzer)"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
}
|
}
|
||||||
=======
|
}
|
||||||
|
notifiers {
|
||||||
|
notifications {
|
||||||
|
on_new_status: INFRA_FAILURE
|
||||||
|
email {
|
||||||
|
recipients: "webrtc-troopers-robots@google.com"
|
||||||
|
}
|
||||||
|
template: "infra_failure"
|
||||||
|
}
|
||||||
|
notifications {
|
||||||
|
on_new_status: FAILURE
|
||||||
|
email {
|
||||||
|
recipients: "webrtc-troopers-robots@google.com"
|
||||||
|
}
|
||||||
|
template: "build_failure"
|
||||||
|
notify_blamelist {}
|
||||||
|
}
|
||||||
|
builders {
|
||||||
|
bucket: "ci"
|
||||||
name: "Linux64 Release (reclient)"
|
name: "Linux64 Release (reclient)"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
notifications {
|
notifications {
|
||||||
|
@ -837,11 +688,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -862,21 +709,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Mac64 Builder"
|
|
||||||
=======
|
|
||||||
name: "Mac64 Debug"
|
name: "Mac64 Debug"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -897,55 +736,36 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Mac64 Debug"
|
|
||||||
=======
|
|
||||||
name: "Mac64 Release"
|
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
|
||||||
}
|
|
||||||
tree_closers {
|
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
|
||||||
>>>>>>> m108
|
|
||||||
}
|
|
||||||
}
|
|
||||||
notifiers {
|
|
||||||
notifications {
|
|
||||||
on_new_status: INFRA_FAILURE
|
|
||||||
email {
|
|
||||||
recipients: "webrtc-troopers-robots@google.com"
|
|
||||||
}
|
|
||||||
template: "infra_failure"
|
|
||||||
}
|
|
||||||
notifications {
|
|
||||||
on_new_status: FAILURE
|
|
||||||
email {
|
|
||||||
recipients: "webrtc-troopers-robots@google.com"
|
|
||||||
}
|
|
||||||
template: "build_failure"
|
|
||||||
notify_blamelist {}
|
|
||||||
}
|
|
||||||
builders {
|
|
||||||
bucket: "ci"
|
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Mac64 Release"
|
name: "Mac64 Release"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
}
|
}
|
||||||
=======
|
}
|
||||||
|
notifiers {
|
||||||
|
notifications {
|
||||||
|
on_new_status: INFRA_FAILURE
|
||||||
|
email {
|
||||||
|
recipients: "webrtc-troopers-robots@google.com"
|
||||||
|
}
|
||||||
|
template: "infra_failure"
|
||||||
|
}
|
||||||
|
notifications {
|
||||||
|
on_new_status: FAILURE
|
||||||
|
email {
|
||||||
|
recipients: "webrtc-troopers-robots@google.com"
|
||||||
|
}
|
||||||
|
template: "build_failure"
|
||||||
|
notify_blamelist {}
|
||||||
|
}
|
||||||
|
builders {
|
||||||
|
bucket: "ci"
|
||||||
name: "Mac64 Release (reclient)"
|
name: "Mac64 Release (reclient)"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
notifications {
|
notifications {
|
||||||
|
@ -971,11 +791,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1002,11 +818,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1027,21 +839,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Win32 Builder (Clang)"
|
|
||||||
=======
|
|
||||||
name: "Win32 Debug (Clang)"
|
name: "Win32 Debug (Clang)"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1062,21 +866,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Win32 Debug (Clang)"
|
|
||||||
=======
|
|
||||||
name: "Win32 Release (Clang)"
|
name: "Win32 Release (Clang)"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1097,21 +893,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Win32 Release (Clang)"
|
|
||||||
=======
|
|
||||||
name: "Win64 ASan"
|
name: "Win64 ASan"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1132,21 +920,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Win64 ASan"
|
|
||||||
=======
|
|
||||||
name: "Win64 Debug (Clang)"
|
name: "Win64 Debug (Clang)"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1167,55 +947,36 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Win64 Debug (Clang)"
|
|
||||||
=======
|
|
||||||
name: "Win64 Release (Clang)"
|
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
|
||||||
}
|
|
||||||
tree_closers {
|
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
|
||||||
>>>>>>> m108
|
|
||||||
}
|
|
||||||
}
|
|
||||||
notifiers {
|
|
||||||
notifications {
|
|
||||||
on_new_status: INFRA_FAILURE
|
|
||||||
email {
|
|
||||||
recipients: "webrtc-troopers-robots@google.com"
|
|
||||||
}
|
|
||||||
template: "infra_failure"
|
|
||||||
}
|
|
||||||
notifications {
|
|
||||||
on_new_status: FAILURE
|
|
||||||
email {
|
|
||||||
recipients: "webrtc-troopers-robots@google.com"
|
|
||||||
}
|
|
||||||
template: "build_failure"
|
|
||||||
notify_blamelist {}
|
|
||||||
}
|
|
||||||
builders {
|
|
||||||
bucket: "ci"
|
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Win64 Release (Clang)"
|
name: "Win64 Release (Clang)"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
}
|
}
|
||||||
=======
|
}
|
||||||
|
notifiers {
|
||||||
|
notifications {
|
||||||
|
on_new_status: INFRA_FAILURE
|
||||||
|
email {
|
||||||
|
recipients: "webrtc-troopers-robots@google.com"
|
||||||
|
}
|
||||||
|
template: "infra_failure"
|
||||||
|
}
|
||||||
|
notifications {
|
||||||
|
on_new_status: FAILURE
|
||||||
|
email {
|
||||||
|
recipients: "webrtc-troopers-robots@google.com"
|
||||||
|
}
|
||||||
|
template: "build_failure"
|
||||||
|
notify_blamelist {}
|
||||||
|
}
|
||||||
|
builders {
|
||||||
|
bucket: "ci"
|
||||||
name: "Win64 Release (Clang)(reclient)"
|
name: "Win64 Release (Clang)(reclient)"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
notifications {
|
notifications {
|
||||||
|
@ -1241,11 +1002,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1272,11 +1029,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1303,9 +1056,6 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1329,7 +1079,6 @@ notifiers {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
name: "iOS64 Release (reclient)"
|
name: "iOS64 Release (reclient)"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1356,11 +1105,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1387,11 +1132,7 @@ notifiers {
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1412,21 +1153,13 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "iOS64 Sim Debug (iOS 14.0)"
|
|
||||||
=======
|
|
||||||
name: "iOS64 Sim Debug (iOS 14)"
|
name: "iOS64 Sim Debug (iOS 14)"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
tree_closers {
|
tree_closers {
|
||||||
tree_status_host: "webrtc-status.appspot.com"
|
tree_status_host: "webrtc-status.appspot.com"
|
||||||
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update|extract build|cleanup_temp|taskkill|compile|gn"
|
||||||
<<<<<<< HEAD
|
|
||||||
failed_step_regexp_exclude: ".*\\(experimental\\).*"
|
|
||||||
=======
|
|
||||||
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
failed_step_regexp_exclude: ".*(\\(experimental\\)|\\(reclient\\)).*"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
notifiers {
|
notifiers {
|
||||||
|
@ -1489,8 +1222,6 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
name: "Android32 Builder arm"
|
name: "Android32 Builder arm"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
|
@ -1626,7 +1357,6 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
>>>>>>> m108
|
|
||||||
name: "Perf Android32 (M AOSP Nexus6)"
|
name: "Perf Android32 (M AOSP Nexus6)"
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
|
@ -1737,11 +1467,7 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Perf Linux Trusty"
|
|
||||||
=======
|
|
||||||
name: "Perf Mac 11"
|
name: "Perf Mac 11"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1763,11 +1489,7 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
<<<<<<< HEAD
|
|
||||||
name: "Perf Mac 10.11"
|
|
||||||
=======
|
|
||||||
name: "Perf Mac M1 Arm64 12"
|
name: "Perf Mac M1 Arm64 12"
|
||||||
>>>>>>> m108
|
|
||||||
repository: "https://webrtc.googlesource.com/src"
|
repository: "https://webrtc.googlesource.com/src"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1801,8 +1523,6 @@ notifiers {
|
||||||
}
|
}
|
||||||
template: "infra_failure"
|
template: "infra_failure"
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
notifications {
|
notifications {
|
||||||
on_new_status: FAILURE
|
on_new_status: FAILURE
|
||||||
email {
|
email {
|
||||||
|
@ -1830,7 +1550,6 @@ notifiers {
|
||||||
}
|
}
|
||||||
template: "infra_failure"
|
template: "infra_failure"
|
||||||
}
|
}
|
||||||
>>>>>>> m108
|
|
||||||
builders {
|
builders {
|
||||||
bucket: "try"
|
bucket: "try"
|
||||||
name: "android_arm64_dbg"
|
name: "android_arm64_dbg"
|
||||||
|
@ -2015,8 +1734,6 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "try"
|
bucket: "try"
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
name: "fuchsia_rel"
|
name: "fuchsia_rel"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2030,7 +1747,6 @@ notifiers {
|
||||||
}
|
}
|
||||||
builders {
|
builders {
|
||||||
bucket: "try"
|
bucket: "try"
|
||||||
>>>>>>> m108
|
|
||||||
name: "ios_api_framework"
|
name: "ios_api_framework"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,8 +25,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
id: "Android32 (M Nexus5X)(reclient)"
|
id: "Android32 (M Nexus5X)(reclient)"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -37,7 +35,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
>>>>>>> m108
|
|
||||||
id: "Android32 (more configs)"
|
id: "Android32 (more configs)"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -49,13 +46,8 @@ job {
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
id: "Android32 Builder arm"
|
id: "Android32 Builder arm"
|
||||||
<<<<<<< HEAD
|
|
||||||
realm: "ci"
|
|
||||||
acl_sets: "ci"
|
|
||||||
=======
|
|
||||||
realm: "perf"
|
realm: "perf"
|
||||||
acl_sets: "perf"
|
acl_sets: "perf"
|
||||||
>>>>>>> m108
|
|
||||||
triggering_policy {
|
triggering_policy {
|
||||||
kind: GREEDY_BATCHING
|
kind: GREEDY_BATCHING
|
||||||
max_concurrent_invocations: 3
|
max_concurrent_invocations: 3
|
||||||
|
@ -63,11 +55,7 @@ job {
|
||||||
}
|
}
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
<<<<<<< HEAD
|
|
||||||
bucket: "ci"
|
|
||||||
=======
|
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
>>>>>>> m108
|
|
||||||
builder: "Android32 Builder arm"
|
builder: "Android32 Builder arm"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,13 +91,8 @@ job {
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
id: "Android64 Builder arm64"
|
id: "Android64 Builder arm64"
|
||||||
<<<<<<< HEAD
|
|
||||||
realm: "ci"
|
|
||||||
acl_sets: "ci"
|
|
||||||
=======
|
|
||||||
realm: "perf"
|
realm: "perf"
|
||||||
acl_sets: "perf"
|
acl_sets: "perf"
|
||||||
>>>>>>> m108
|
|
||||||
triggering_policy {
|
triggering_policy {
|
||||||
kind: GREEDY_BATCHING
|
kind: GREEDY_BATCHING
|
||||||
max_concurrent_invocations: 3
|
max_concurrent_invocations: 3
|
||||||
|
@ -117,11 +100,7 @@ job {
|
||||||
}
|
}
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
<<<<<<< HEAD
|
|
||||||
bucket: "ci"
|
|
||||||
=======
|
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
>>>>>>> m108
|
|
||||||
builder: "Android64 Builder arm64"
|
builder: "Android64 Builder arm64"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -147,8 +126,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
id: "Fuchsia Release"
|
id: "Fuchsia Release"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -159,7 +136,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
>>>>>>> m108
|
|
||||||
id: "Linux (more configs)"
|
id: "Linux (more configs)"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -261,13 +237,8 @@ job {
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
id: "Linux64 Builder"
|
id: "Linux64 Builder"
|
||||||
<<<<<<< HEAD
|
|
||||||
realm: "ci"
|
|
||||||
acl_sets: "ci"
|
|
||||||
=======
|
|
||||||
realm: "perf"
|
realm: "perf"
|
||||||
acl_sets: "perf"
|
acl_sets: "perf"
|
||||||
>>>>>>> m108
|
|
||||||
triggering_policy {
|
triggering_policy {
|
||||||
kind: GREEDY_BATCHING
|
kind: GREEDY_BATCHING
|
||||||
max_concurrent_invocations: 3
|
max_concurrent_invocations: 3
|
||||||
|
@ -275,11 +246,7 @@ job {
|
||||||
}
|
}
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
<<<<<<< HEAD
|
|
||||||
bucket: "ci"
|
|
||||||
=======
|
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
>>>>>>> m108
|
|
||||||
builder: "Linux64 Builder"
|
builder: "Linux64 Builder"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -334,36 +301,22 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
<<<<<<< HEAD
|
|
||||||
id: "Mac Asan"
|
|
||||||
=======
|
|
||||||
id: "Linux64 Release (reclient)"
|
id: "Linux64 Release (reclient)"
|
||||||
>>>>>>> m108
|
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
builder: "Mac Asan"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
job {
|
|
||||||
id: "Mac64 Builder"
|
|
||||||
=======
|
|
||||||
builder: "Linux64 Release (reclient)"
|
builder: "Linux64 Release (reclient)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
id: "Mac Asan"
|
id: "Mac Asan"
|
||||||
>>>>>>> m108
|
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
builder: "Mac Asan"
|
builder: "Mac Asan"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -374,7 +327,6 @@ job {
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
>>>>>>> m108
|
|
||||||
builder: "Mac64 Builder"
|
builder: "Mac64 Builder"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -399,8 +351,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
id: "Mac64 Release (reclient)"
|
id: "Mac64 Release (reclient)"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -411,7 +361,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
>>>>>>> m108
|
|
||||||
id: "MacARM64 M1 Release"
|
id: "MacARM64 M1 Release"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -422,8 +371,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
id: "MacArm64 Builder"
|
id: "MacArm64 Builder"
|
||||||
realm: "perf"
|
realm: "perf"
|
||||||
acl_sets: "perf"
|
acl_sets: "perf"
|
||||||
|
@ -434,7 +381,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
>>>>>>> m108
|
|
||||||
id: "Perf Android32 (M AOSP Nexus6)"
|
id: "Perf Android32 (M AOSP Nexus6)"
|
||||||
realm: "perf"
|
realm: "perf"
|
||||||
acls {
|
acls {
|
||||||
|
@ -525,11 +471,7 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
<<<<<<< HEAD
|
|
||||||
id: "Perf Linux Trusty"
|
|
||||||
=======
|
|
||||||
id: "Perf Mac 11"
|
id: "Perf Mac 11"
|
||||||
>>>>>>> m108
|
|
||||||
realm: "perf"
|
realm: "perf"
|
||||||
acls {
|
acls {
|
||||||
role: TRIGGERER
|
role: TRIGGERER
|
||||||
|
@ -543,19 +485,11 @@ job {
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
<<<<<<< HEAD
|
|
||||||
builder: "Perf Linux Trusty"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
job {
|
|
||||||
id: "Perf Mac 10.11"
|
|
||||||
=======
|
|
||||||
builder: "Perf Mac 11"
|
builder: "Perf Mac 11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
id: "Perf Mac M1 Arm64 12"
|
id: "Perf Mac M1 Arm64 12"
|
||||||
>>>>>>> m108
|
|
||||||
realm: "perf"
|
realm: "perf"
|
||||||
acls {
|
acls {
|
||||||
role: TRIGGERER
|
role: TRIGGERER
|
||||||
|
@ -569,11 +503,7 @@ job {
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
<<<<<<< HEAD
|
|
||||||
builder: "Perf Mac 10.11"
|
|
||||||
=======
|
|
||||||
builder: "Perf Mac M1 Arm64 12"
|
builder: "Perf Mac M1 Arm64 12"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
|
@ -628,19 +558,11 @@ job {
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
id: "Win32 Builder (Clang)"
|
id: "Win32 Builder (Clang)"
|
||||||
<<<<<<< HEAD
|
|
||||||
realm: "ci"
|
|
||||||
acl_sets: "ci"
|
|
||||||
buildbucket {
|
|
||||||
server: "cr-buildbucket.appspot.com"
|
|
||||||
bucket: "ci"
|
|
||||||
=======
|
|
||||||
realm: "perf"
|
realm: "perf"
|
||||||
acl_sets: "perf"
|
acl_sets: "perf"
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
bucket: "perf"
|
bucket: "perf"
|
||||||
>>>>>>> m108
|
|
||||||
builder: "Win32 Builder (Clang)"
|
builder: "Win32 Builder (Clang)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -695,8 +617,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
id: "Win64 Release (Clang)(reclient)"
|
id: "Win64 Release (Clang)(reclient)"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -707,7 +627,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
>>>>>>> m108
|
|
||||||
id: "iOS API Framework Builder"
|
id: "iOS API Framework Builder"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -743,8 +662,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
id: "iOS64 Release (reclient)"
|
id: "iOS64 Release (reclient)"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -755,7 +672,6 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
>>>>>>> m108
|
|
||||||
id: "iOS64 Sim Debug (iOS 12)"
|
id: "iOS64 Sim Debug (iOS 12)"
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
|
@ -776,21 +692,13 @@ job {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
job {
|
job {
|
||||||
<<<<<<< HEAD
|
|
||||||
id: "iOS64 Sim Debug (iOS 14.0)"
|
|
||||||
=======
|
|
||||||
id: "iOS64 Sim Debug (iOS 14)"
|
id: "iOS64 Sim Debug (iOS 14)"
|
||||||
>>>>>>> m108
|
|
||||||
realm: "ci"
|
realm: "ci"
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
buildbucket {
|
buildbucket {
|
||||||
server: "cr-buildbucket.appspot.com"
|
server: "cr-buildbucket.appspot.com"
|
||||||
bucket: "ci"
|
bucket: "ci"
|
||||||
<<<<<<< HEAD
|
|
||||||
builder: "iOS64 Sim Debug (iOS 14.0)"
|
|
||||||
=======
|
|
||||||
builder: "iOS64 Sim Debug (iOS 14)"
|
builder: "iOS64 Sim Debug (iOS 14)"
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
trigger {
|
trigger {
|
||||||
|
@ -799,15 +707,6 @@ trigger {
|
||||||
acl_sets: "ci"
|
acl_sets: "ci"
|
||||||
triggers: "Android32 (M Nexus5X)"
|
triggers: "Android32 (M Nexus5X)"
|
||||||
triggers: "Android32 (M Nexus5X)(dbg)"
|
triggers: "Android32 (M Nexus5X)(dbg)"
|
||||||
<<<<<<< HEAD
|
|
||||||
triggers: "Android32 (more configs)"
|
|
||||||
triggers: "Android32 Builder arm"
|
|
||||||
triggers: "Android32 Builder x86"
|
|
||||||
triggers: "Android32 Builder x86 (dbg)"
|
|
||||||
triggers: "Android64 (M Nexus5X)"
|
|
||||||
triggers: "Android64 Builder arm64"
|
|
||||||
triggers: "Android64 Builder x64 (dbg)"
|
|
||||||
=======
|
|
||||||
triggers: "Android32 (M Nexus5X)(reclient)"
|
triggers: "Android32 (M Nexus5X)(reclient)"
|
||||||
triggers: "Android32 (more configs)"
|
triggers: "Android32 (more configs)"
|
||||||
triggers: "Android32 Builder x86"
|
triggers: "Android32 Builder x86"
|
||||||
|
@ -815,7 +714,6 @@ trigger {
|
||||||
triggers: "Android64 (M Nexus5X)"
|
triggers: "Android64 (M Nexus5X)"
|
||||||
triggers: "Android64 Builder x64 (dbg)"
|
triggers: "Android64 Builder x64 (dbg)"
|
||||||
triggers: "Fuchsia Release"
|
triggers: "Fuchsia Release"
|
||||||
>>>>>>> m108
|
|
||||||
triggers: "Linux (more configs)"
|
triggers: "Linux (more configs)"
|
||||||
triggers: "Linux Asan"
|
triggers: "Linux Asan"
|
||||||
triggers: "Linux MSan"
|
triggers: "Linux MSan"
|
||||||
|
@ -826,24 +724,11 @@ trigger {
|
||||||
triggers: "Linux32 Debug (ARM)"
|
triggers: "Linux32 Debug (ARM)"
|
||||||
triggers: "Linux32 Release"
|
triggers: "Linux32 Release"
|
||||||
triggers: "Linux32 Release (ARM)"
|
triggers: "Linux32 Release (ARM)"
|
||||||
<<<<<<< HEAD
|
|
||||||
triggers: "Linux64 Builder"
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
triggers: "Linux64 Debug"
|
triggers: "Linux64 Debug"
|
||||||
triggers: "Linux64 Debug (ARM)"
|
triggers: "Linux64 Debug (ARM)"
|
||||||
triggers: "Linux64 Release"
|
triggers: "Linux64 Release"
|
||||||
triggers: "Linux64 Release (ARM)"
|
triggers: "Linux64 Release (ARM)"
|
||||||
triggers: "Linux64 Release (Libfuzzer)"
|
triggers: "Linux64 Release (Libfuzzer)"
|
||||||
<<<<<<< HEAD
|
|
||||||
triggers: "Mac Asan"
|
|
||||||
triggers: "Mac64 Builder"
|
|
||||||
triggers: "Mac64 Debug"
|
|
||||||
triggers: "Mac64 Release"
|
|
||||||
triggers: "MacARM64 M1 Release"
|
|
||||||
triggers: "Win (more configs)"
|
|
||||||
triggers: "Win32 Builder (Clang)"
|
|
||||||
=======
|
|
||||||
triggers: "Linux64 Release (reclient)"
|
triggers: "Linux64 Release (reclient)"
|
||||||
triggers: "Mac Asan"
|
triggers: "Mac Asan"
|
||||||
triggers: "Mac64 Debug"
|
triggers: "Mac64 Debug"
|
||||||
|
@ -851,20 +736,11 @@ trigger {
|
||||||
triggers: "Mac64 Release (reclient)"
|
triggers: "Mac64 Release (reclient)"
|
||||||
triggers: "MacARM64 M1 Release"
|
triggers: "MacARM64 M1 Release"
|
||||||
triggers: "Win (more configs)"
|
triggers: "Win (more configs)"
|
||||||
>>>>>>> m108
|
|
||||||
triggers: "Win32 Debug (Clang)"
|
triggers: "Win32 Debug (Clang)"
|
||||||
triggers: "Win32 Release (Clang)"
|
triggers: "Win32 Release (Clang)"
|
||||||
triggers: "Win64 ASan"
|
triggers: "Win64 ASan"
|
||||||
triggers: "Win64 Debug (Clang)"
|
triggers: "Win64 Debug (Clang)"
|
||||||
triggers: "Win64 Release (Clang)"
|
triggers: "Win64 Release (Clang)"
|
||||||
<<<<<<< HEAD
|
|
||||||
triggers: "iOS API Framework Builder"
|
|
||||||
triggers: "iOS64 Debug"
|
|
||||||
triggers: "iOS64 Release"
|
|
||||||
triggers: "iOS64 Sim Debug (iOS 12)"
|
|
||||||
triggers: "iOS64 Sim Debug (iOS 13)"
|
|
||||||
triggers: "iOS64 Sim Debug (iOS 14.0)"
|
|
||||||
=======
|
|
||||||
triggers: "Win64 Release (Clang)(reclient)"
|
triggers: "Win64 Release (Clang)(reclient)"
|
||||||
triggers: "iOS API Framework Builder"
|
triggers: "iOS API Framework Builder"
|
||||||
triggers: "iOS64 Debug"
|
triggers: "iOS64 Debug"
|
||||||
|
@ -879,7 +755,6 @@ trigger {
|
||||||
triggers: "Mac64 Builder"
|
triggers: "Mac64 Builder"
|
||||||
triggers: "MacArm64 Builder"
|
triggers: "MacArm64 Builder"
|
||||||
triggers: "Win32 Builder (Clang)"
|
triggers: "Win32 Builder (Clang)"
|
||||||
>>>>>>> m108
|
|
||||||
gitiles {
|
gitiles {
|
||||||
repo: "https://webrtc.googlesource.com/src"
|
repo: "https://webrtc.googlesource.com/src"
|
||||||
refs: "regexp:refs/heads/main"
|
refs: "regexp:refs/heads/main"
|
||||||
|
|
|
@ -7,11 +7,7 @@
|
||||||
name: "webrtc"
|
name: "webrtc"
|
||||||
access: "group:all"
|
access: "group:all"
|
||||||
lucicfg {
|
lucicfg {
|
||||||
<<<<<<< HEAD
|
|
||||||
version: "1.30.11"
|
|
||||||
=======
|
|
||||||
version: "1.32.1"
|
version: "1.32.1"
|
||||||
>>>>>>> m108
|
|
||||||
package_dir: "."
|
package_dir: "."
|
||||||
config_dir: "."
|
config_dir: "."
|
||||||
entry_point: "config.star"
|
entry_point: "config.star"
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
realms {
|
realms {
|
||||||
name: "@root"
|
name: "@root"
|
||||||
bindings {
|
bindings {
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
role: "role/analysis.editor"
|
role: "role/analysis.editor"
|
||||||
principals: "group:googlers"
|
principals: "group:googlers"
|
||||||
}
|
}
|
||||||
|
@ -21,7 +19,6 @@ realms {
|
||||||
principals: "group:all"
|
principals: "group:all"
|
||||||
}
|
}
|
||||||
bindings {
|
bindings {
|
||||||
>>>>>>> m108
|
|
||||||
role: "role/buildbucket.reader"
|
role: "role/buildbucket.reader"
|
||||||
principals: "group:all"
|
principals: "group:all"
|
||||||
}
|
}
|
||||||
|
@ -79,10 +76,6 @@ realms {
|
||||||
bindings {
|
bindings {
|
||||||
role: "role/buildbucket.triggerer"
|
role: "role/buildbucket.triggerer"
|
||||||
principals: "group:project-webrtc-ci-schedulers"
|
principals: "group:project-webrtc-ci-schedulers"
|
||||||
<<<<<<< HEAD
|
|
||||||
principals: "group:service-account-chromeperf"
|
|
||||||
=======
|
|
||||||
>>>>>>> m108
|
|
||||||
}
|
}
|
||||||
bindings {
|
bindings {
|
||||||
role: "role/resultdb.invocationCreator"
|
role: "role/resultdb.invocationCreator"
|
||||||
|
@ -105,10 +98,7 @@ realms {
|
||||||
}
|
}
|
||||||
bindings {
|
bindings {
|
||||||
role: "role/buildbucket.triggerer"
|
role: "role/buildbucket.triggerer"
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
principals: "group:service-account-chromeperf"
|
principals: "group:service-account-chromeperf"
|
||||||
>>>>>>> m108
|
|
||||||
principals: "user:webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
principals: "user:webrtc-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||||
}
|
}
|
||||||
bindings {
|
bindings {
|
||||||
|
@ -126,13 +116,8 @@ realms {
|
||||||
values: "Perf Android64 (M Nexus5X)"
|
values: "Perf Android64 (M Nexus5X)"
|
||||||
values: "Perf Android64 (O Pixel2)"
|
values: "Perf Android64 (O Pixel2)"
|
||||||
values: "Perf Linux Bionic"
|
values: "Perf Linux Bionic"
|
||||||
<<<<<<< HEAD
|
|
||||||
values: "Perf Linux Trusty"
|
|
||||||
values: "Perf Mac 10.11"
|
|
||||||
=======
|
|
||||||
values: "Perf Mac 11"
|
values: "Perf Mac 11"
|
||||||
values: "Perf Mac M1 Arm64 12"
|
values: "Perf Mac M1 Arm64 12"
|
||||||
>>>>>>> m108
|
|
||||||
values: "Perf Win7"
|
values: "Perf Win7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
#!/usr/bin/env vpython3
|
#!/usr/bin/env vpython3
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
# Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
|
# Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
|
||||||
#
|
#
|
||||||
# Use of this source code is governed by a BSD-style license
|
# Use of this source code is governed by a BSD-style license
|
||||||
|
@ -13,12 +10,9 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
# Runs PRESUBMIT.py in py3 mode by git cl presubmit.
|
# Runs PRESUBMIT.py in py3 mode by git cl presubmit.
|
||||||
USE_PYTHON3 = True
|
USE_PYTHON3 = True
|
||||||
|
|
||||||
>>>>>>> m108
|
|
||||||
|
|
||||||
def _HasLocalChanges(input_api):
|
def _HasLocalChanges(input_api):
|
||||||
ret = input_api.subprocess.call(['git', 'diff', '--quiet'])
|
ret = input_api.subprocess.call(['git', 'diff', '--quiet'])
|
||||||
|
@ -46,23 +40,14 @@ def CheckPatchFormatted(input_api, output_api):
|
||||||
|
|
||||||
def CheckSourceSideSpecs(input_api, output_api):
|
def CheckSourceSideSpecs(input_api, output_api):
|
||||||
d = os.path.dirname
|
d = os.path.dirname
|
||||||
<<<<<<< HEAD
|
|
||||||
angle_root = d(d(input_api.PresubmitLocalPath()))
|
|
||||||
gen_script = os.path.join(angle_root, 'testing', 'buildbot',
|
|
||||||
=======
|
|
||||||
webrtc_root = d(d(input_api.PresubmitLocalPath()))
|
webrtc_root = d(d(input_api.PresubmitLocalPath()))
|
||||||
gen_script = os.path.join(webrtc_root, 'testing', 'buildbot',
|
gen_script = os.path.join(webrtc_root, 'testing', 'buildbot',
|
||||||
>>>>>>> m108
|
|
||||||
'generate_buildbot_json.py')
|
'generate_buildbot_json.py')
|
||||||
|
|
||||||
commands = [
|
commands = [
|
||||||
input_api.Command(name='generate_buildbot_json',
|
input_api.Command(name='generate_buildbot_json',
|
||||||
cmd=[
|
cmd=[
|
||||||
<<<<<<< HEAD
|
|
||||||
input_api.python_executable, gen_script, '--check',
|
|
||||||
=======
|
|
||||||
input_api.python3_executable, gen_script, '--check',
|
input_api.python3_executable, gen_script, '--check',
|
||||||
>>>>>>> m108
|
|
||||||
'--verbose', '--pyl-files-dir',
|
'--verbose', '--pyl-files-dir',
|
||||||
input_api.PresubmitLocalPath()
|
input_api.PresubmitLocalPath()
|
||||||
],
|
],
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -17,11 +17,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"low_bandwidth_audio_perf_test"
|
"low_bandwidth_audio_perf_test"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
@ -55,11 +51,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"webrtc_perf_tests"
|
"webrtc_perf_tests"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
@ -101,11 +93,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"low_bandwidth_audio_perf_test"
|
"low_bandwidth_audio_perf_test"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
@ -139,11 +127,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"webrtc_perf_tests"
|
"webrtc_perf_tests"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
@ -185,11 +169,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"low_bandwidth_audio_perf_test"
|
"low_bandwidth_audio_perf_test"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
@ -223,11 +203,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"webrtc_perf_tests"
|
"webrtc_perf_tests"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
@ -269,11 +245,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"low_bandwidth_audio_perf_test"
|
"low_bandwidth_audio_perf_test"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
@ -306,11 +278,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"webrtc_perf_tests"
|
"webrtc_perf_tests"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
@ -349,11 +317,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"low_bandwidth_audio_perf_test"
|
"low_bandwidth_audio_perf_test"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"name": "low_bandwidth_audio_perf_test",
|
"name": "low_bandwidth_audio_perf_test",
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
|
@ -387,11 +351,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"webrtc_perf_tests"
|
"webrtc_perf_tests"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"name": "webrtc_perf_tests",
|
"name": "webrtc_perf_tests",
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
|
@ -414,11 +374,7 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
<<<<<<< HEAD
|
|
||||||
"Perf Linux Trusty": {
|
|
||||||
=======
|
|
||||||
"Perf Mac 11": {
|
"Perf Mac 11": {
|
||||||
>>>>>>> m108
|
|
||||||
"isolated_scripts": [
|
"isolated_scripts": [
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
|
@ -432,11 +388,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"low_bandwidth_audio_perf_test"
|
"low_bandwidth_audio_perf_test"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"name": "low_bandwidth_audio_perf_test",
|
"name": "low_bandwidth_audio_perf_test",
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
|
@ -447,12 +399,8 @@
|
||||||
"can_use_on_swarming_builders": true,
|
"can_use_on_swarming_builders": true,
|
||||||
"dimension_sets": [
|
"dimension_sets": [
|
||||||
{
|
{
|
||||||
<<<<<<< HEAD
|
|
||||||
"os": "Ubuntu-14.04",
|
|
||||||
=======
|
|
||||||
"cpu": "x86-64",
|
"cpu": "x86-64",
|
||||||
"os": "Mac-11",
|
"os": "Mac-11",
|
||||||
>>>>>>> m108
|
|
||||||
"pool": "WebRTC-perf"
|
"pool": "WebRTC-perf"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -475,11 +423,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"webrtc_perf_tests"
|
"webrtc_perf_tests"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"name": "webrtc_perf_tests",
|
"name": "webrtc_perf_tests",
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
|
@ -490,12 +434,8 @@
|
||||||
"can_use_on_swarming_builders": true,
|
"can_use_on_swarming_builders": true,
|
||||||
"dimension_sets": [
|
"dimension_sets": [
|
||||||
{
|
{
|
||||||
<<<<<<< HEAD
|
|
||||||
"os": "Ubuntu-14.04",
|
|
||||||
=======
|
|
||||||
"cpu": "x86-64",
|
"cpu": "x86-64",
|
||||||
"os": "Mac-11",
|
"os": "Mac-11",
|
||||||
>>>>>>> m108
|
|
||||||
"pool": "WebRTC-perf"
|
"pool": "WebRTC-perf"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -507,53 +447,10 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
<<<<<<< HEAD
|
|
||||||
"Perf Mac 10.11": {
|
|
||||||
"isolated_scripts": [
|
|
||||||
{
|
|
||||||
"args": [
|
|
||||||
".",
|
|
||||||
"--remove",
|
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json"
|
|
||||||
],
|
|
||||||
"isolate_name": "low_bandwidth_audio_perf_test",
|
|
||||||
"merge": {
|
|
||||||
"args": [
|
|
||||||
"--test-suite",
|
|
||||||
"low_bandwidth_audio_perf_test"
|
|
||||||
],
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
},
|
|
||||||
"name": "low_bandwidth_audio_perf_test",
|
|
||||||
"resultdb": {
|
|
||||||
"result_file": "${ISOLATED_OUTDIR}/gtest_output.json",
|
|
||||||
"result_format": "gtest_json"
|
|
||||||
},
|
|
||||||
"swarming": {
|
|
||||||
"can_use_on_swarming_builders": true,
|
|
||||||
"dimension_sets": [
|
|
||||||
{
|
|
||||||
"cpu": "x86-64",
|
|
||||||
"os": "Mac-10.12.6",
|
|
||||||
"pool": "WebRTC-perf"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"hard_timeout": 10800,
|
|
||||||
"idempotent": false,
|
|
||||||
"io_timeout": 10800
|
|
||||||
},
|
|
||||||
"test_id_prefix": "ninja://audio:low_bandwidth_audio_perf_test/"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"args": [
|
|
||||||
"--test_artifacts_dir=${ISOLATED_OUTDIR}",
|
|
||||||
"--save_worst_frame",
|
|
||||||
=======
|
|
||||||
"Perf Mac M1 Arm64 12": {
|
"Perf Mac M1 Arm64 12": {
|
||||||
"isolated_scripts": [
|
"isolated_scripts": [
|
||||||
{
|
{
|
||||||
"args": [
|
"args": [
|
||||||
>>>>>>> m108
|
|
||||||
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json",
|
"--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json",
|
||||||
"--nologs"
|
"--nologs"
|
||||||
],
|
],
|
||||||
|
@ -563,11 +460,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"webrtc_perf_tests"
|
"webrtc_perf_tests"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"name": "webrtc_perf_tests",
|
"name": "webrtc_perf_tests",
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
|
@ -578,13 +471,8 @@
|
||||||
"can_use_on_swarming_builders": true,
|
"can_use_on_swarming_builders": true,
|
||||||
"dimension_sets": [
|
"dimension_sets": [
|
||||||
{
|
{
|
||||||
<<<<<<< HEAD
|
|
||||||
"cpu": "x86-64",
|
|
||||||
"os": "Mac-10.12.6",
|
|
||||||
=======
|
|
||||||
"cpu": "arm64-64-Apple_M1",
|
"cpu": "arm64-64-Apple_M1",
|
||||||
"os": "Mac-12",
|
"os": "Mac-12",
|
||||||
>>>>>>> m108
|
|
||||||
"pool": "WebRTC-perf"
|
"pool": "WebRTC-perf"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -610,11 +498,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"low_bandwidth_audio_perf_test"
|
"low_bandwidth_audio_perf_test"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"name": "low_bandwidth_audio_perf_test",
|
"name": "low_bandwidth_audio_perf_test",
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
|
@ -625,11 +509,7 @@
|
||||||
"can_use_on_swarming_builders": true,
|
"can_use_on_swarming_builders": true,
|
||||||
"dimension_sets": [
|
"dimension_sets": [
|
||||||
{
|
{
|
||||||
<<<<<<< HEAD
|
|
||||||
"os": "Windows",
|
|
||||||
=======
|
|
||||||
"os": "Windows-10",
|
"os": "Windows-10",
|
||||||
>>>>>>> m108
|
|
||||||
"pool": "WebRTC-perf"
|
"pool": "WebRTC-perf"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -652,11 +532,7 @@
|
||||||
"--test-suite",
|
"--test-suite",
|
||||||
"webrtc_perf_tests"
|
"webrtc_perf_tests"
|
||||||
],
|
],
|
||||||
<<<<<<< HEAD
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results_py2.py"
|
|
||||||
=======
|
|
||||||
"script": "//tools_webrtc/perf/process_perf_results.py"
|
"script": "//tools_webrtc/perf/process_perf_results.py"
|
||||||
>>>>>>> m108
|
|
||||||
},
|
},
|
||||||
"name": "webrtc_perf_tests",
|
"name": "webrtc_perf_tests",
|
||||||
"resultdb": {
|
"resultdb": {
|
||||||
|
@ -667,11 +543,7 @@
|
||||||
"can_use_on_swarming_builders": true,
|
"can_use_on_swarming_builders": true,
|
||||||
"dimension_sets": [
|
"dimension_sets": [
|
||||||
{
|
{
|
||||||
<<<<<<< HEAD
|
|
||||||
"os": "Windows",
|
|
||||||
=======
|
|
||||||
"os": "Windows-10",
|
"os": "Windows-10",
|
||||||
>>>>>>> m108
|
|
||||||
"pool": "WebRTC-perf"
|
"pool": "WebRTC-perf"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -102,8 +102,6 @@
|
||||||
},
|
},
|
||||||
"sdk_unittests": {
|
"sdk_unittests": {
|
||||||
"label": "//sdk:sdk_unittests",
|
"label": "//sdk:sdk_unittests",
|
||||||
<<<<<<< HEAD:infra/specs/gn_isolate_map.pyl
|
|
||||||
=======
|
|
||||||
"type": "console_test_launcher",
|
"type": "console_test_launcher",
|
||||||
},
|
},
|
||||||
"slow_peer_connection_unittests": {
|
"slow_peer_connection_unittests": {
|
||||||
|
@ -112,7 +110,6 @@
|
||||||
},
|
},
|
||||||
"svc_tests": {
|
"svc_tests": {
|
||||||
"label": "//pc:svc_tests",
|
"label": "//pc:svc_tests",
|
||||||
>>>>>>> m108:tools_webrtc/mb/gn_isolate_map.pyl
|
|
||||||
"type": "console_test_launcher",
|
"type": "console_test_launcher",
|
||||||
},
|
},
|
||||||
"system_wrappers_unittests": {
|
"system_wrappers_unittests": {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue