17447 Commits

Author SHA1 Message Date
brandtr
0b8bfb9d98 Reuse allocated encoders in SimulcastEncoderAdapter.
Prior to this change, the SimulcastEncoderAdapter would destroy and create
encoders whenever it is being reinitialized. After this change, the
SimulcastEncoderAdapter will cache the already allocated encoders, and reuse
them after reinitialization.

This change will help in reducing the number of PictureID "jumps" that have
been seen around encoder reinitialization.

TESTED=AppRTCMobile, Chrome desktop, and internal app, with forced encoder reinits every 30 frames and https://codereview.webrtc.org/2833493003/ applied.
BUG=webrtc:7475

Review-Url: https://codereview.webrtc.org/2830793005
Cr-Commit-Position: refs/heads/master@{#18215}
2017-05-19 13:51:42 +00:00
philipel
e87c87651f Check H264 NALUs for frametype and insert SPS/PPS packets into the PacketBuffer.
BUG=chromium:719095

Review-Url: https://codereview.webrtc.org/2889163003
Cr-Commit-Position: refs/heads/master@{#18214}
2017-05-19 13:38:50 +00:00
perkj
bbbad6da7e Change how event_log_visualizer ignore duplicate incoming RTCP packets.
Instead of only looking at Audio or ANY media type, we ignore duplicate RTCP packets.

BUG=webrtc:7538

Review-Url: https://codereview.webrtc.org/2892913002
Cr-Commit-Position: refs/heads/master@{#18213}
2017-05-19 13:30:28 +00:00
nisse
eed52bff8d New class RtxReceiveStream.
BUG=webrtc:7135

Review-Url: https://codereview.webrtc.org/2888093002
Cr-Commit-Position: refs/heads/master@{#18212}
2017-05-19 13:15:19 +00:00
brandtr
31bd224f35 Reduce VideoSendStream recreations due to FlexFEC.
This CL reduces the number of VideoSendStream recreations during SDP
renegotiation by checking the FlexFEC field trials before, and not after,
the SDP codec diffing logic.

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2882433003
Cr-Commit-Position: refs/heads/master@{#18211}
2017-05-19 12:47:46 +00:00
perkj
c52bd61f65 Change rtp_event_log2text to ignore webrtc::MediaType from proto.
BUG=webrtc:7538

Review-Url: https://codereview.webrtc.org/2894833003
Cr-Commit-Position: refs/heads/master@{#18210}
2017-05-19 12:32:56 +00:00
asapersson
30df64f143 Update plot_webrtc_test_logs.py:
- Add codec_type-implementation_name label option.
- Update figure title to exclude information that exist in legend.
- Change frame info in title from: # of frames in file -> # of processed frames.

BUG=webrtc:6634

Review-Url: https://codereview.webrtc.org/2890223002
Cr-Commit-Position: refs/heads/master@{#18209}
2017-05-19 11:07:38 +00:00
sakal
633e22ebbe Land ContextUtils separately.
External dependencies need to be updated to call ContextUtils.initialize
before rest of the CL can be landed.

BUG=webrtc:7665

Review-Url: https://codereview.webrtc.org/2893933003
Cr-Commit-Position: refs/heads/master@{#18208}
2017-05-19 08:29:10 +00:00
peah
ce4d91527a Avoid render resampling when there is no need for render signal analysis.
This CL adjusts the render processing rate such to avoid resampling of the
render signal when that is not needed.
Note that to avoid acquiring more locks than needed, this should be achieved
during initialization.

BUG=webrtc:7667

Review-Url: https://codereview.webrtc.org/2887693002
Cr-Commit-Position: refs/heads/master@{#18207}
2017-05-19 08:28:05 +00:00
thomasanderson
7f52f08421 Replace sanitizers:deps with exe_and_shlib_deps (webrtc)
BUG=chromium:723069
R=kjellander@webrtc.org

Review-Url: https://codereview.webrtc.org/2897523002
Cr-Commit-Position: refs/heads/master@{#18206}
2017-05-19 06:51:46 +00:00
kjellander
49aaaf1053 Remove CheckChangeHasTestField PRESUBMIT check.
Depot tools removed it in
https://chromium-review.googlesource.com/c/506450/ so we
don't have a choice. We never enforced it or had it connected
to any organized follow-up anyway, so it makes sense to remove it.

BUG=None
TBR=ehmaldonado@webrtc.org
NOTRY=True

Review-Url: https://codereview.webrtc.org/2892873002
Cr-Commit-Position: refs/heads/master@{#18205}
2017-05-19 06:46:01 +00:00
peah
b274204feb AppRTCMobile support to turn off the WebRTC AGC and HPF
This CL adds support for turning off the WebRTC AGC
and HPF in AppRTCMobile.

BUG=webrtc:6183,webrtc:6220

Review-Url: https://codereview.webrtc.org/2871393002
Cr-Commit-Position: refs/heads/master@{#18204}
2017-05-18 22:09:33 +00:00
minyue
93e4522105 Renaming probing_interval to bwe_period globally.
probing_interval as a name is used for the period that BWE attempt to increase its estimate. The name is confusing since it is not related to "probing" which is a special mechanism for estimating BWE.

BUG=None

Review-Url: https://codereview.webrtc.org/2888893002
Cr-Commit-Position: refs/heads/master@{#18203}
2017-05-18 21:32:41 +00:00
kjellander
fb0ff45aa0 MB: Make Code Search builders use the phase configs.
The code search recipe passes --phase flag to the MB command
(see https://chromium-review.googlesource.com/c/505619/7)
so the MB config needs to be configured to support this.

BUG=chromium:699463
NOTRY=True

Review-Url: https://codereview.webrtc.org/2891583005
Cr-Commit-Position: refs/heads/master@{#18202}
2017-05-18 20:04:30 +00:00
zijiehe
8eef7aa7cf Add DesktopRectTest for UnionWith() function
DesktopRect::UnionWith() function has been added by change
https://codereview.webrtc.org/2845213002. This change adds test cases to cover
the newly added logic. More specifically, union between an empty rectangle and a
non-empty one or two empty rectangles.

BUG=webrtc:7541

Review-Url: https://codereview.webrtc.org/2891593003
Cr-Commit-Position: refs/heads/master@{#18201}
2017-05-18 19:27:16 +00:00
deadbeef
119c407848 Fixing memory leak of generated session descriptions on Android.
SessionDescriptionObserver::OnSuccess takes ownership of the
description, but it doesn't use a unique_ptr, so the JNI code was
neglecting to delete it.

BUG=webrtc:7680

Review-Url: https://codereview.webrtc.org/2886263003
Cr-Commit-Position: refs/heads/master@{#18200}
2017-05-18 15:45:59 +00:00
philipel
3184f8e329 Dont request keyframes if the stream is inactive or if we are currently receiving a keyframe.
BUG=webrtc:7520

Review-Url: https://codereview.webrtc.org/2853503002
Cr-Commit-Position: refs/heads/master@{#18199}
2017-05-18 15:08:53 +00:00
ehmaldonado
5ccdd7285c Revert of Roll chromium_revision b4155a0bbd..2ccdd05fd1 (471848:472782) (patchset #1 id:1 of https://codereview.webrtc.org/2888093005/ )
Reason for revert:
Breaks the bots.

Original issue's description:
> Roll chromium_revision b4155a0bbd..2ccdd05fd1 (471848:472782)
>
> Change log: b4155a0bbd..2ccdd05fd1
> Full diff: b4155a0bbd..2ccdd05fd1
>
> Changed dependencies:
> * src/base: 4545fc1f63..f40ac0d051
> * src/build: e9efa695c3..ceaf1af875
> * src/ios: 411732c0b9..0b384428e5
> * src/testing: dbbebc0d54..82450b0ef9
> * src/third_party: 744b88f9a8..466e75f46e
> * src/third_party/catapult: 9e7bc18ce7..dd9db5d3f6
> * src/third_party/gtest-parallel: c95bf7d82c..21b383f81a
> * src/third_party/icu: 87232d8d76..fd2abab88d
> * src/third_party/libvpx/source/libvpx: ac8f58f6ab..31cb852a90
> * src/tools: e095601b86..7a3c95ddbb
> DEPS diff: b4155a0bbd..2ccdd05fd1/DEPS
>
> No update to Clang.
>
> TBR=marpan@webrtc.org,
> BUG=None
>
> Review-Url: https://codereview.webrtc.org/2888093005
> Cr-Commit-Position: refs/heads/master@{#18197}
> Committed: d2d752ffb1

TBR=marpan@webrtc.org,buildbot@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=None

Review-Url: https://codereview.webrtc.org/2887043004
Cr-Commit-Position: refs/heads/master@{#18198}
2017-05-18 14:10:23 +00:00
buildbot
d2d752ffb1 Roll chromium_revision b4155a0bbd..2ccdd05fd1 (471848:472782)
Change log: b4155a0bbd..2ccdd05fd1
Full diff: b4155a0bbd..2ccdd05fd1

Changed dependencies:
* src/base: 4545fc1f63..f40ac0d051
* src/build: e9efa695c3..ceaf1af875
* src/ios: 411732c0b9..0b384428e5
* src/testing: dbbebc0d54..82450b0ef9
* src/third_party: 744b88f9a8..466e75f46e
* src/third_party/catapult: 9e7bc18ce7..dd9db5d3f6
* src/third_party/gtest-parallel: c95bf7d82c..21b383f81a
* src/third_party/icu: 87232d8d76..fd2abab88d
* src/third_party/libvpx/source/libvpx: ac8f58f6ab..31cb852a90
* src/tools: e095601b86..7a3c95ddbb
DEPS diff: b4155a0bbd..2ccdd05fd1/DEPS

No update to Clang.

TBR=marpan@webrtc.org,
BUG=None

Review-Url: https://codereview.webrtc.org/2888093005
Cr-Commit-Position: refs/heads/master@{#18197}
2017-05-18 13:55:35 +00:00
sakal
40d224814a Revert of Removes usage of native base::android::GetApplicationContext() (patchset #6 id:120001 of https://codereview.webrtc.org/2888093004/ )
Reason for revert:
Breaks bot on chromium.webrtc.fyi.

Original issue's description:
> Removes usage of native base::android::GetApplicationContext()
>
> BUG=webrtc:7665
>
> Review-Url: https://codereview.webrtc.org/2888093004
> Cr-Commit-Position: refs/heads/master@{#18195}
> Committed: bc83e2ee69

TBR=magjed@webrtc.org,henrika@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7665

Review-Url: https://codereview.webrtc.org/2894593002
Cr-Commit-Position: refs/heads/master@{#18196}
2017-05-18 13:44:20 +00:00
sakal
bc83e2ee69 Removes usage of native base::android::GetApplicationContext()
BUG=webrtc:7665

Review-Url: https://codereview.webrtc.org/2888093004
Cr-Commit-Position: refs/heads/master@{#18195}
2017-05-18 13:28:45 +00:00
nisse
b243ee91c3 Delete FilesystemInterface::DeleteFolderAndContents and related methods.
Additional methods deleted:

  DeleteFolderContents
  IsTemporaryPath
  GetAppTempFolder

Unused since cl https://codereview.webrtc.org/2872283002/

BUG=webrtc:7345,webrtc:6424

Review-Url: https://codereview.webrtc.org/2887093002
Cr-Commit-Position: refs/heads/master@{#18194}
2017-05-18 12:49:58 +00:00
nisse
57efb038bb Reland of reduce dependencies on rtc::FileSystem in FileRotatingStream tests... (patchset #1 id:1 of https://codereview.webrtc.org/2885393002/ )
Reason for revert:
Downstream project now fixed.

Original issue's description:
> Revert of Reduce dependencies on rtc::FileSystem in FileRotatingStream tests, adding helpers in webrtc::test:: (patchset #7 id:120001 of https://codereview.webrtc.org/2872283002/ )
>
> Reason for revert:
> Fails to compile successfully.
>
>
> Original issue's description:
> > Reduce dependencies on rtc::FileSystem in FileRotatingStream tests.
> >
> > Use webrtc::test::OutputPath instead of Filesystem::GetAppTempFolder.
> > Added functions RemoveFile and RemoveDir in the webrtc::test namespace,
> > to replace use of Filesystem::DeleteFolderAndContents.
> >
> > This makes Filesystem::DeleteFolderAndContents unused, to be deleted
> > together with related code in a followup cl.
> >
> > BUG=webrtc:7345
> >
> > Review-Url: https://codereview.webrtc.org/2872283002
> > Cr-Commit-Position: refs/heads/master@{#18173}
> > Committed: dd7b5f32b5
>
> TBR=pthatcher@webrtc.org,kjellander@webrtc.org,tommi@webrtc.org,nisse@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:7345
>
> Review-Url: https://codereview.webrtc.org/2885393002
> Cr-Commit-Position: refs/heads/master@{#18180}
> Committed: deaa33d2f5

TBR=pthatcher@webrtc.org,kjellander@webrtc.org,tommi@webrtc.org,ehmaldonado@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7345

Review-Url: https://codereview.webrtc.org/2885413002
Cr-Commit-Position: refs/heads/master@{#18193}
2017-05-18 10:55:59 +00:00
kjellander
8838f13072 MB: Add WebRTC codesearch builder config
Identical to Chromium's code search builders with the exception
that is_component_build=true is not set, as it doesn't have any
effect on WebRTC builds.

Adding strip_absolute_paths_from_debug_symbols=true to the
minimal_symbols mixin as recently changed in Chromium.

BUG=chromium:699463
NOTRY=True

Review-Url: https://codereview.webrtc.org/2892723002
Cr-Commit-Position: refs/heads/master@{#18192}
2017-05-18 10:32:49 +00:00
philipel
539107175a Break backwards traversal loop if we have looped around all packets in the PacketBuffer for H264 frames.
BUG=webrtc:7532

Review-Url: https://codereview.webrtc.org/2868723003
Cr-Commit-Position: refs/heads/master@{#18191}
2017-05-18 09:24:40 +00:00
hewwatt
7cc881d190 iOS: Fix runtime error in AppRTCMobile
bugFix: `poping-up` alert message before `hanging-up` will result in runtime assertation as:
[Assert] Trying to dismiss the presentation controller while transitioning already.
Warning: Attempt to dismiss from view controller <UINavigationController: 0x13081e200> while a presentation or dismiss is in progress!
[Assert] transitionViewForCurrentTransition is not set, presentation controller was dismissed during the presentation? (<_UIAlertControllerAlertPresentationController: 0x12fd57bf0>)

BUG=webrtc:7569

Review-Url: https://codereview.webrtc.org/2863473005
Cr-Commit-Position: refs/heads/master@{#18190}
2017-05-18 08:33:34 +00:00
jbauch
577f5dc60b Add methods to change enabled events in PhysicalSocket.
This is in preparation for "epoll" integration where additional code needs to
run when the enabled events change.

BUG=webrtc:7585

Review-Url: https://codereview.webrtc.org/2893723002
Cr-Commit-Position: refs/heads/master@{#18189}
2017-05-17 23:32:26 +00:00
jtteh
855aeead57 Updated comments for unit tests to validate iOS audio session isInterrupted flag does not get reset correctly.
BUG=webrtc:7605

Review-Url: https://codereview.webrtc.org/2886183002
Cr-Commit-Position: refs/heads/master@{#18188}
2017-05-17 19:37:17 +00:00
zstein
8c96a148a8 Simple tests for Call::SetBitrateConfig.
This will enable safer refactoring of SetBitrateConfig when we add methods to control BWE from PeerConnection (https://codereview.chromium.org/2838233002/).

BUG=webrtc:7395

Review-Url: https://codereview.webrtc.org/2870383003
Cr-Commit-Position: refs/heads/master@{#18187}
2017-05-17 18:49:12 +00:00
kjellander
12fa8f444c Remove gflags dependency for screenshare_loopback
BUG=webrtc:7644
NOTRY=True

Review-Url: https://codereview.webrtc.org/2888643003
Cr-Commit-Position: refs/heads/master@{#18186}
2017-05-17 18:19:58 +00:00
ivoc
1592c74d8a Add log message to help analyze why echo likelihood > 1.1
This CL adds a log message with the relevant part of the internal state of the echo detector to the text log when this unexpected scenario occurs.

BUG=b/38014838

Review-Url: https://codereview.webrtc.org/2883283002
Cr-Commit-Position: refs/heads/master@{#18185}
2017-05-17 16:53:02 +00:00
erikvarga
76a5593835 Don't add FEC and RTX overheads when calculating a padding packet's maximum payload size.
BUG=webrtc:7433

Review-Url: https://codereview.webrtc.org/2892583002
Cr-Commit-Position: refs/heads/master@{#18184}
2017-05-17 14:50:17 +00:00
kthelgason
d743c8dd68 Revert of Update build_ios_libs.py to new GN target names. (patchset #1 id:1 of https://codereview.webrtc.org/2888903002/ )
Reason for revert:
This depends on another CL that has been reverted.

Original issue's description:
> Update build_ios_libs.py to new GN target names.
>
> TBR=kjellander@webrtc.org
> NOTRY=true
> BUG=None
>
> Review-Url: https://codereview.webrtc.org/2888903002
> Cr-Commit-Position: refs/heads/master@{#18175}
> Committed: c3f110a1f9

TBR=
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=None

Review-Url: https://codereview.webrtc.org/2886873007
Cr-Commit-Position: refs/heads/master@{#18183}
2017-05-17 13:54:06 +00:00
kthelgason
37144b214e Revert of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890733003/ )
Reason for revert:
Still problems with downstream projects

Original issue's description:
> Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890513002/ )
>
> Reason for revert:
> Fixing downstream breakages
>
> Original issue's description:
> > Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
> >
> > Reason for revert:
> > Breaking downstream projects.
> >
> > Original issue's description:
> > > Split iOS sdk in to separate targets
> > >
> > > This CL splits the iOS sdk into separate static libraries for video,
> > > audio, ui, common, and peerconnection-related code. This will in the
> > > future make it easier to compile WebRTC without unneeded components.
> > >
> > > BUG=webrtc:4867
> > >
> > > Review-Url: https://codereview.webrtc.org/2862543002
> > > Cr-Commit-Position: refs/heads/master@{#18166}
> > > Committed: 52c83fe710
> >
> > TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:4867
> >
> > Review-Url: https://codereview.webrtc.org/2890513002
> > Cr-Commit-Position: refs/heads/master@{#18170}
> > Committed: 9756238084
>
> TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2890733003
> Cr-Commit-Position: refs/heads/master@{#18174}
> Committed: d51e042492

TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867

Review-Url: https://codereview.webrtc.org/2893593002
Cr-Commit-Position: refs/heads/master@{#18182}
2017-05-17 13:52:58 +00:00
ehmaldonado
acb8e41718 Reland of Add gerrit to cq.cfg (patchset #1 id:1 of https://codereview.webrtc.org/2888113002/ )
Reason for revert:
False alarm

Original issue's description:
> Revert of Add gerrit to cq.cfg (patchset #2 id:20001 of https://codereview.webrtc.org/2888533004/ )
>
> Reason for revert:
> Might have broken CQ.
>
> Original issue's description:
> > Add gerrit to cq.cfg
> >
> > BUG=chromium:672378
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2888533004
> > Cr-Commit-Position: refs/heads/master@{#18177}
> > Committed: 81a28f1174
>
> TBR=tandrii@chromium.org,kjellander@webrtc.org,tandrii@google.com
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=chromium:672378
>
> Review-Url: https://codereview.webrtc.org/2888113002
> Cr-Commit-Position: refs/heads/master@{#18178}
> Committed: b30843a2fa

TBR=tandrii@chromium.org,kjellander@webrtc.org,tandrii@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:672378

Review-Url: https://codereview.webrtc.org/2886143002
Cr-Commit-Position: refs/heads/master@{#18181}
2017-05-17 12:26:34 +00:00
ehmaldonado
deaa33d2f5 Revert of Reduce dependencies on rtc::FileSystem in FileRotatingStream tests, adding helpers in webrtc::test:: (patchset #7 id:120001 of https://codereview.webrtc.org/2872283002/ )
Reason for revert:
Fails to compile successfully.

Original issue's description:
> Reduce dependencies on rtc::FileSystem in FileRotatingStream tests.
>
> Use webrtc::test::OutputPath instead of Filesystem::GetAppTempFolder.
> Added functions RemoveFile and RemoveDir in the webrtc::test namespace,
> to replace use of Filesystem::DeleteFolderAndContents.
>
> This makes Filesystem::DeleteFolderAndContents unused, to be deleted
> together with related code in a followup cl.
>
> BUG=webrtc:7345
>
> Review-Url: https://codereview.webrtc.org/2872283002
> Cr-Commit-Position: refs/heads/master@{#18173}
> Committed: dd7b5f32b5

TBR=pthatcher@webrtc.org,kjellander@webrtc.org,tommi@webrtc.org,nisse@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7345

Review-Url: https://codereview.webrtc.org/2885393002
Cr-Commit-Position: refs/heads/master@{#18180}
2017-05-17 12:22:14 +00:00
erikvarga
2788373528 Remove hardcoded kValueSizeBytes values from variable-length header extensions.
Since the RtpStreamId and RepairedRtpStreamId extensions can have variable
length, it makes no sense for them to have a constant valueSize field.
The header length calculation in RtpHeaderExtensionMap needed to be changed
for this because it previously worked with the assumption that all header
types have a constant size. Now it's the caller's job to specify the length
of the extensions that it might use.

BUG=webrtc:7433

Review-Url: https://codereview.webrtc.org/2867713003
Cr-Commit-Position: refs/heads/master@{#18179}
2017-05-17 12:08:38 +00:00
ehmaldonado
b30843a2fa Revert of Add gerrit to cq.cfg (patchset #2 id:20001 of https://codereview.webrtc.org/2888533004/ )
Reason for revert:
Might have broken CQ.

Original issue's description:
> Add gerrit to cq.cfg
>
> BUG=chromium:672378
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2888533004
> Cr-Commit-Position: refs/heads/master@{#18177}
> Committed: 81a28f1174

TBR=tandrii@chromium.org,kjellander@webrtc.org,tandrii@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:672378

Review-Url: https://codereview.webrtc.org/2888113002
Cr-Commit-Position: refs/heads/master@{#18178}
2017-05-17 12:01:47 +00:00
ehmaldonado
81a28f1174 Add gerrit to cq.cfg
BUG=chromium:672378
NOTRY=True

Review-Url: https://codereview.webrtc.org/2888533004
Cr-Commit-Position: refs/heads/master@{#18177}
2017-05-17 11:46:06 +00:00
ossu
6488ea424a Remove temporary include of builtin_audio_encoder_factory.h.
Add the include to the files where it is actually used instead.

BUG=webrtc:5806

Review-Url: https://codereview.webrtc.org/2869863003
Cr-Commit-Position: refs/heads/master@{#18176}
2017-05-17 11:39:36 +00:00
kthelgason
c3f110a1f9 Update build_ios_libs.py to new GN target names.
TBR=kjellander@webrtc.org
NOTRY=true
BUG=None

Review-Url: https://codereview.webrtc.org/2888903002
Cr-Commit-Position: refs/heads/master@{#18175}
2017-05-17 11:26:42 +00:00
kthelgason
d51e042492 Reland of Split iOS sdk in to separate targets (patchset #1 id:1 of https://codereview.webrtc.org/2890513002/ )
Reason for revert:
Fixing downstream breakages

Original issue's description:
> Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
>
> Reason for revert:
> Breaking downstream projects.
>
> Original issue's description:
> > Split iOS sdk in to separate targets
> >
> > This CL splits the iOS sdk into separate static libraries for video,
> > audio, ui, common, and peerconnection-related code. This will in the
> > future make it easier to compile WebRTC without unneeded components.
> >
> > BUG=webrtc:4867
> >
> > Review-Url: https://codereview.webrtc.org/2862543002
> > Cr-Commit-Position: refs/heads/master@{#18166}
> > Committed: 52c83fe710
>
> TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2890513002
> Cr-Commit-Position: refs/heads/master@{#18170}
> Committed: 9756238084

TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,charujain@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867

Review-Url: https://codereview.webrtc.org/2890733003
Cr-Commit-Position: refs/heads/master@{#18174}
2017-05-17 10:33:49 +00:00
nisse
dd7b5f32b5 Reduce dependencies on rtc::FileSystem in FileRotatingStream tests.
Use webrtc::test::OutputPath instead of Filesystem::GetAppTempFolder.
Added functions RemoveFile and RemoveDir in the webrtc::test namespace,
to replace use of Filesystem::DeleteFolderAndContents.

This makes Filesystem::DeleteFolderAndContents unused, to be deleted
together with related code in a followup cl.

BUG=webrtc:7345

Review-Url: https://codereview.webrtc.org/2872283002
Cr-Commit-Position: refs/heads/master@{#18173}
2017-05-17 08:08:35 +00:00
deadbeef
98e186c71c Remove VirtualSocketServer's dependency on PhysicalSocketServer.
The only thing the physical socket server was used for was
"Wait"/"WakeUp", but it could be replaced by a simple rtc::Event.

So, removing this dependency makes things less confusing; the fact that
VirtualSocketServer takes a PhysicalSocketServer may lead someone to
think it uses real sockets internally, when it doesn't.

BUG=None

Review-Url: https://codereview.webrtc.org/2883313003
Cr-Commit-Position: refs/heads/master@{#18172}
2017-05-17 01:00:06 +00:00
zijiehe
73c1234f6a Add a DesktopRect::UnionWith() function to extend current instance to cover both instances
This small piece of logic is duplicated in DxgiDuplicatorController,
DxgiAdapterDuplicator and desktop_configuration.mm. Meanwhile, the
implementation in desktop_configuration.mm is not safe. So I think a function in
DesktopRect to cover the requirement could be more efficient and safer.

BUG=webrtc:7541

Review-Url: https://codereview.webrtc.org/2845213002
Cr-Commit-Position: refs/heads/master@{#18171}
2017-05-16 23:50:32 +00:00
charujain
9756238084 Revert of Split iOS sdk in to separate targets (patchset #13 id:280001 of https://codereview.webrtc.org/2862543002/ )
Reason for revert:
Breaking downstream projects.

Original issue's description:
> Split iOS sdk in to separate targets
>
> This CL splits the iOS sdk into separate static libraries for video,
> audio, ui, common, and peerconnection-related code. This will in the
> future make it easier to compile WebRTC without unneeded components.
>
> BUG=webrtc:4867
>
> Review-Url: https://codereview.webrtc.org/2862543002
> Cr-Commit-Position: refs/heads/master@{#18166}
> Committed: 52c83fe710

TBR=magjed@webrtc.org,denicija@webrtc.org,tkchin@webrtc.org,henrika@webrtc.org,kthelgason@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4867

Review-Url: https://codereview.webrtc.org/2890513002
Cr-Commit-Position: refs/heads/master@{#18170}
2017-05-16 15:08:28 +00:00
philipel
2c53b13a3b Request keyframe if the first received frame is not a keyframe.
BUG=webrtc:7669

Review-Url: https://codereview.webrtc.org/2874933004
Cr-Commit-Position: refs/heads/master@{#18169}
2017-05-16 15:06:30 +00:00
peah
94f6fa0526 Removed implicit divisions in the residual echo detector
This CL changes the updating of a loop index from using the modulus
operator to using a conditional, avoiding the divisions done in the
modulus operator which had a measurable impact on mpbile
platforms.

Additionally, there is a similar removal of another modulus operator, but the impact of that should be negligible.

BUG=webrtc:7666

Review-Url: https://codereview.webrtc.org/2882183004
Cr-Commit-Position: refs/heads/master@{#18168}
2017-05-16 14:25:06 +00:00
ivoc
e3fc11464e Fixed NetEq overflow bug.
Negating an int can result in a value that cannot be represented as an int. This is fixed here by using a 64 bit variable.

BUG=chromium:663611

Review-Url: https://codereview.webrtc.org/2879863002
Cr-Commit-Position: refs/heads/master@{#18167}
2017-05-16 14:13:15 +00:00
kthelgason
52c83fe710 Split iOS sdk in to separate targets
This CL splits the iOS sdk into separate static libraries for video,
audio, ui, common, and peerconnection-related code. This will in the
future make it easier to compile WebRTC without unneeded components.

BUG=webrtc:4867

Review-Url: https://codereview.webrtc.org/2862543002
Cr-Commit-Position: refs/heads/master@{#18166}
2017-05-16 14:06:59 +00:00