Commit Graph

9942 Commits

Author SHA1 Message Date
717432f130 Remove network_enabled_crit_ in call.cc.
After #10321 (5a289393928c18af580c6339ba77600fb67006e2) I don't see that
we still need this lock.

R=pbos@webrtc.org, solenberg@webrtc.org

Review URL: https://codereview.webrtc.org/1409193003 .

Cr-Commit-Position: refs/heads/master@{#10410}
2015-10-26 15:34:58 +00:00
09b38f3ca0 Re-enable VP9 resize test.
TBR=stefan@webrtc.org
BUG=webrtc:5097

Review URL: https://codereview.webrtc.org/1409143005 .

Cr-Commit-Position: refs/heads/master@{#10409}
2015-10-26 15:22:41 +00:00
7ef0553c85 Fix for Win GN Build.
This changes it to inherit common configuration, in order to LOG() macro
take effect (hopefully).

This should fix the following errors:
FAILED: ninja -t msvc -e environment.x86 -- E:\b\build\goma/gomacc.exe "E:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64_x86/cl.exe" /nologo /showIncludes /FC @obj/third_party/webrtc/sound/rtc_sound/nullsoundsystem.obj.rsp /c ../../third_party/webrtc/sound/nullsoundsystem.cc /Foobj/third_party/webrtc/sound/rtc_sound/nullsoundsystem.obj /Fdobj/third_party/webrtc/sound/rtc_sound_cc.pdb
e:\b\build\slave\win_gn\build\src\third_party\webrtc\sound\nullsoundsystem.cc(78) : error C3861: 'LOG': identifier not found
FAILED: ninja -t msvc -e environment.x86 -- E:\b\build\goma/gomacc.exe "E:\b\depot_tools\win_toolchain\vs2013_files\VC\bin\amd64_x86/cl.exe" /nologo /showIncludes /FC @obj/third_party/webrtc/sound/rtc_sound/platformsoundsystemfactory.obj.rsp /c ../../third_party/webrtc/sound/platformsoundsystemfactory.cc /Foobj/third_party/webrtc/sound/rtc_sound/platformsoundsystemfactory.obj /Fdobj/third_party/webrtc/sound/rtc_sound_cc.pdb
e:\b\build\slave\win_gn\build\src\third_party\webrtc\sound\platformsoundsystemfactory.cc(29) : error C3861: 'LOG': identifier not found
ninja: build stopped: subcommand failed.

BUG=webrtc:4160
R=kjellander@webrtc.org
NOTRY=True

Review URL: https://codereview.webrtc.org/1419413002

Cr-Commit-Position: refs/heads/master@{#10408}
2015-10-26 13:48:11 +00:00
2d3747de9b Fix for Mac GN BUILD.
It can't find //webrtc/base:rtc_base, which is weird, the fix is to use
a relative path.

This should fix the following error:

ERROR at //third_party/webrtc/sound/BUILD.gn:38:5: Can't load input
file.
    "//webrtc/base:rtc_base",
    ^-----------------------

NOTRY=true
BUG=webrtc:4160
TBR=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/1419953003

Cr-Commit-Position: refs/heads/master@{#10407}
2015-10-26 12:47:41 +00:00
e9eca8f5ae Removing AudioCoding class, a.k.a the new ACM API
We have decided not to do a switch from old (AudioCodingModule) to new
(AudioCoding) API. Instead, we will gradually evolve the old API to
meet the new design goals.

As a consequence of this decision, the AudioCoding and AudioCodingImpl
classes are deleted. Also removing associated unit test sources. No
test coverage is lost with this operation, since the tests for the
"old" API are testing more than the deleted tests did.

BUG=webrtc:3520

Review URL: https://codereview.webrtc.org/1415163002

Cr-Commit-Position: refs/heads/master@{#10406}
2015-10-26 12:26:45 +00:00
f054819e25 Add GN Build file for rtc_sound target.
Tested on Linux with the following command lines:

$ gn gen out-gn/Release --args='is_debug=false target_cpu="x64"
build_with_chromium=false'
$ ninja -C out-gn/Release rtc_sound

BUG=webrtc:4160
R=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/1425583002

Cr-Commit-Position: refs/heads/master@{#10405}
2015-10-26 12:15:33 +00:00
213b5987c9 Roll chromium_revision c86a4e2..27af50f (356002:356022)
Change log: c86a4e2..27af50f
Full diff: c86a4e2..27af50f

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1425623002

Cr-Commit-Position: refs/heads/master@{#10404}
2015-10-26 11:24:08 +00:00
415d2cd745 Use webrtc/base/logging.h for video.
BUG=webrtc:5118
R=mflodman@webrtc.org

Review URL: https://codereview.webrtc.org/1415413004 .

Cr-Commit-Position: refs/heads/master@{#10403}
2015-10-26 10:35:26 +00:00
f9af108e08 Roll chromium_revision c708f39..c86a4e2 (355993:356002)
Change log: c708f39..c86a4e2
Full diff: c708f39..c86a4e2

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1418413002

Cr-Commit-Position: refs/heads/master@{#10402}
2015-10-26 02:54:22 +00:00
484e5482f9 Roll chromium_revision bbfaf80..c708f39 (355989:355993)
Change log: bbfaf80..c708f39
Full diff: bbfaf80..c708f39

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1416873006

Cr-Commit-Position: refs/heads/master@{#10401}
2015-10-25 18:53:38 +00:00
eb2a91e28f Roll chromium_revision 5512fa0..bbfaf80 (355985:355989)
Change log: 5512fa0..bbfaf80
Full diff: 5512fa0..bbfaf80

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1405323005

Cr-Commit-Position: refs/heads/master@{#10400}
2015-10-25 10:55:04 +00:00
7542ed604c Roll chromium_revision da8662f..5512fa0 (355980:355985)
Change log: da8662f..5512fa0
Full diff: da8662f..5512fa0

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1423863002

Cr-Commit-Position: refs/heads/master@{#10399}
2015-10-25 05:27:52 +00:00
9ec27e14b7 Roll chromium_revision da9833c..da8662f (355969:355980)
Change log: da9833c..da8662f
Full diff: da9833c..da8662f

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1411083011

Cr-Commit-Position: refs/heads/master@{#10398}
2015-10-24 18:53:36 +00:00
5d9b92b53d Update Bind to match its comments and always capture by value. Also update the generated count to 9 args.
The existing comment is wrong, and the test even ensures it: Bind will capture reference values by reference. That makes it hard to use with AsyncInvoker, because you can't safely Bind to a function that takes (const) reference params.

The new version of this code strips references in the bound object, so it captures by value, but can bind against functions that take const references, they'll just be references to the copy.

As the class comment implies, actual by-reference args should be passed as pointers or things that safely share (e.g. scoped_refptr) and not references directly. A new test case ensures the pointer reference works. The new code will also give a compiler error if you try to bind
to a non-const reference.

BUG=

Review URL: https://codereview.webrtc.org/1291543006

Cr-Commit-Position: refs/heads/master@{#10397}
2015-10-24 18:14:52 +00:00
2dd8bf825a Roll chromium_revision 53f0e22..da9833c (355953:355969)
Change log: 53f0e22..da9833c
Full diff: 53f0e22..da9833c

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1404353009

Cr-Commit-Position: refs/heads/master@{#10396}
2015-10-24 10:57:15 +00:00
7d35afdcbf Roll chromium_revision bd99556..53f0e22 (355580:355953)
Change log: bd99556..53f0e22
Full diff: bd99556..53f0e22

Changed dependencies:
* src/third_party/libyuv: e6a54f2..ad36ba5
DEPS diff: bd99556..53f0e22/DEPS

No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1422883002

Cr-Commit-Position: refs/heads/master@{#10395}
2015-10-24 03:31:52 +00:00
401fb0648a SurfaceTextureHelper: Remove use of quitSafely() because it's API lvl 18
There is no reason to not just quit() in release().

Review URL: https://codereview.webrtc.org/1418563005

Cr-Commit-Position: refs/heads/master@{#10394}
2015-10-24 01:17:59 +00:00
238b15d543 SurfaceViewRenderer: Remove use of quitSafely() because it's API lvl 18
I replaced quitSafely() with a CountDownLatch. The reason for not using ThreadUtils.invokeUninterruptibly() is that I want to stop accepting frames asap, and invokeUninterruptibly() would still accept frames during the waiting time.

BUG=webrtc:4742

Review URL: https://codereview.webrtc.org/1418223002

Cr-Commit-Position: refs/heads/master@{#10393}
2015-10-24 01:14:33 +00:00
c3402fc3ef EGL10.eglCreateWindowSurface(): Replace Surface input with SurfaceHolder
Sending a Surface as input to EGL10.eglCreateWindowSurface() is not supported everywhere. See this code as reference:
ae9610220b/opengl/tools/glgen/stubs/egl/eglCreateWindowSurface.java (42)

Sending a SurfaceHolder as input instead should hopefully be supported everywhere, and this is also what GlSurfaceView does:
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/5.1.1_r1/android/opengl/GLSurfaceView.java#1076

Review URL: https://codereview.webrtc.org/1416213004

Cr-Commit-Position: refs/heads/master@{#10392}
2015-10-24 01:13:20 +00:00
90d67ddc1d Remove two more deprecated methods from SocketAddress API.
This patch removes IPToString and IPToSensitiveString static helper
methods, since there are class methods that replace them already, and
they aren't used by anyone anymore.

BUG=None
R=pthacher@webrtc.org

Review URL: https://codereview.webrtc.org/1408873005

Cr-Commit-Position: refs/heads/master@{#10391}
2015-10-23 18:22:06 +00:00
49e196af40 Remove VideoFrameType aliases for FrameType.
No longer used in Chromium, so these can now be removed.

BUG=webrtc:5042
R=mflodman@webrtc.org
TBR=magjed@webrtc.org

Review URL: https://codereview.webrtc.org/1415693002 .

Cr-Commit-Position: refs/heads/master@{#10390}
2015-10-23 13:58:27 +00:00
a99069db63 Fix win32 header include order in rtp_utility.h.
Matches the include order in webrtc/base/criticalsection.h and makes use
of winsock2.h instead of winsock.h for consistency.

BUG=
R=tommi@webrtc.org

Review URL: https://codereview.webrtc.org/1407053008

Cr-Commit-Position: refs/heads/master@{#10389}
2015-10-23 13:32:44 +00:00
225789d067 Move logging CriticalSection into implementation.
Prevents including platform headers from all files that include logging.
Also removes warn_slow_logs_delay_ which adds contention to the logging
critical section.

BUG=
R=tommi@webrtc.org

Review URL: https://codereview.webrtc.org/1416373004 .

Cr-Commit-Position: refs/heads/master@{#10388}
2015-10-23 13:21:10 +00:00
aa0429928d Don't wait until distant future to shut down video app.
BUG=
R=pbos@webrtc.org

Review URL: https://codereview.webrtc.org/1415033005 .

Cr-Commit-Position: refs/heads/master@{#10387}
2015-10-23 13:10:05 +00:00
27dfe201a5 Remove final from rtc::Buffer.
With it removed, you can now use it with scoped_refptr by wrapping it in
an rtc::RefCountedObject<rtc::Buffer>.

BUG=

Review URL: https://codereview.webrtc.org/1414053003

Cr-Commit-Position: refs/heads/master@{#10386}
2015-10-23 13:01:14 +00:00
1e737c6f2c Fix thread safety in VcmCapturer.
Makes VcmCapturer::Stop() blocking so that no frames can be in delivery
while the camera has stopped.

BUG=
R=mflodman@webrtc.org

Review URL: https://codereview.webrtc.org/1411813004 .

Cr-Commit-Position: refs/heads/master@{#10385}
2015-10-23 12:46:06 +00:00
bbe876f0d3 Set send times in send time history via OnSentPacket.
BUG=webrtc:4173

Review URL: https://codereview.webrtc.org/1419503004

Cr-Commit-Position: refs/heads/master@{#10384}
2015-10-23 09:05:43 +00:00
9a4cd87640 Add support for handling reordered SS data on the receive-side for VP9.
BUG=chromium:500602

Review URL: https://codereview.webrtc.org/1386903002

Cr-Commit-Position: refs/heads/master@{#10383}
2015-10-23 07:27:22 +00:00
a3587fb779 clean up field_trial_default target, to be used by remoting_perftests.
TBR=tommi@webrtc.org
BUG=

Review URL: https://codereview.webrtc.org/1415743005

Cr-Commit-Position: refs/heads/master@{#10382}
2015-10-23 02:33:22 +00:00
00507f8eb6 Separate StunProber::Start into Prepare and Run so we could create multiple of them and send out STUN pings at regular interval.
Also update the wake up logic to handle the case if <5 ms interval is requested.

BUG=

Review URL: https://codereview.webrtc.org/1422593002

Cr-Commit-Position: refs/heads/master@{#10381}
2015-10-23 02:16:02 +00:00
4f6a8b5f55 Revert of Add experiment on weak ping delay during call set up time (patchset #1 id:1 of https://codereview.webrtc.org/1406153005/ )
Reason for revert:
Still cause break on mac. reverting it again.

Original issue's description:
> Reland of Add experiment on weak ping delay during call set up time (patchset #1 id:1 of https://codereview.webrtc.org/1423443002/ )
>
> Reason for revert:
> This should be safe to land now.
>
> Original issue's description:
> > Revert of Add experiment on weak ping delay during call set up time (patchset #4 id:60001 of https://codereview.webrtc.org/1411883002/ )
> >
> > Reason for revert:
> > guoweis - Here's the target that's failing:
> > https://code.google.com/p/chromium/codesearch#chromium/src/third_party/libjingle/libjingle_nacl.gyp&l=17
> >
> > This has unfortunately been causing problems repeatedly for us since libjingle_nacl is maintained separately from libjingle (I don't know the history).
> >
> > The way this works for Chrome in general is that the FindFullName method is implemented in init_webrtc.cc in the overrides folder in Chrome and that hooks WebRTC up with Chrome's implementation.  I'm not sure if that's the right thing to do for nacl, how webrtc is initialized there etc.  I'll ping the nacl team for some help too offline and include you.  Reverting this change for now.
> >
> > Original issue's description:
> > > Add experiment on weak ping delay during call set up time
> > >
> > > BUG=
> > > R=pthatcher@webrtc.org
> > >
> > > Committed: https://crrev.com/3bf69b15f4c0c0ca4ab17c237084684a37bb8279
> > > Cr-Commit-Position: refs/heads/master@{#10343}
> >
> > TBR=pthatcher@webrtc.org,juberti@webrtc.org,guoweis@webrtc.org
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=
> >
> > Committed: https://crrev.com/a01d44022355796d4fd86d00aae6d3263573b6f1
> > Cr-Commit-Position: refs/heads/master@{#10350}
>
> TBR=pthatcher@webrtc.org,juberti@webrtc.org,tommi@webrtc.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=
>
> Committed: https://crrev.com/e26ce1b7a4644942b239ed788a737200762db3b3
> Cr-Commit-Position: refs/heads/master@{#10379}

TBR=pthatcher@webrtc.org,juberti@webrtc.org,tommi@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

Review URL: https://codereview.webrtc.org/1413843003

Cr-Commit-Position: refs/heads/master@{#10380}
2015-10-23 01:00:46 +00:00
e26ce1b7a4 Reland of Add experiment on weak ping delay during call set up time (patchset #1 id:1 of https://codereview.webrtc.org/1423443002/ )
Reason for revert:
This should be safe to land now.

Original issue's description:
> Revert of Add experiment on weak ping delay during call set up time (patchset #4 id:60001 of https://codereview.webrtc.org/1411883002/ )
>
> Reason for revert:
> guoweis - Here's the target that's failing:
> https://code.google.com/p/chromium/codesearch#chromium/src/third_party/libjingle/libjingle_nacl.gyp&l=17
>
> This has unfortunately been causing problems repeatedly for us since libjingle_nacl is maintained separately from libjingle (I don't know the history).
>
> The way this works for Chrome in general is that the FindFullName method is implemented in init_webrtc.cc in the overrides folder in Chrome and that hooks WebRTC up with Chrome's implementation.  I'm not sure if that's the right thing to do for nacl, how webrtc is initialized there etc.  I'll ping the nacl team for some help too offline and include you.  Reverting this change for now.
>
> Original issue's description:
> > Add experiment on weak ping delay during call set up time
> >
> > BUG=
> > R=pthatcher@webrtc.org
> >
> > Committed: https://crrev.com/3bf69b15f4c0c0ca4ab17c237084684a37bb8279
> > Cr-Commit-Position: refs/heads/master@{#10343}
>
> TBR=pthatcher@webrtc.org,juberti@webrtc.org,guoweis@webrtc.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=
>
> Committed: https://crrev.com/a01d44022355796d4fd86d00aae6d3263573b6f1
> Cr-Commit-Position: refs/heads/master@{#10350}

TBR=pthatcher@webrtc.org,juberti@webrtc.org,tommi@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=

Review URL: https://codereview.webrtc.org/1406153005

Cr-Commit-Position: refs/heads/master@{#10379}
2015-10-23 00:49:34 +00:00
8c425aa8f6 Android: Replace EGL14 with EGL10
The purpose with this change is to support older API levels by replacing EGL14 (API lvl 17) with EGL10 (API lvl 1). The main purpose is to lower API lvl requirement for SurfaceViewRenderer from API lvl 17 to API lvl 15. Also, camera texture capture will work on API lvl < 17 (and texture encode/decode in MediaCodec, but we don't use MediaCodec below API lvl 18?).

GLSurfaceView/VideoRendererGui is already using EGL10.

EGL 1.1 - 1.4 added new functionality, but won't affect performance. We don't need the functionality, so there should be no reason to not use EGL 1.0.

I have profiled AppRTCDemo with Qualcomm Trepn Profiler on a Nexus 5 and Nexus 6 and couldn't see any difference.

Specifically, this CL:
 * Update EglBase to use EGL10 instead of EGL14.
 * Update imports from EGL14 to EGL10 in a lot of files (plus changing import order in some cases).
 * Update VideoCapturerAndroid to always support texture capture.

Review URL: https://codereview.webrtc.org/1396013004

Cr-Commit-Position: refs/heads/master@{#10378}
2015-10-22 23:52:45 +00:00
ff134ebd3d talk: Use NDEBUG macro.
NDEBUG is a standard macro with the semantic "Not Debug" for C89, C99, C++98,
  C++2003, C++2011, C++2014 standards. There are no _DEBUG macros in the
  standards.

_DEBUG is a macro Visual Studio defines when you specify the /MTd or /MDd
option.

http://stackoverflow.com/a/29253284/5237416

This should help fix the TODO in third_party/libjingle/libjingle.gyp

BUG=None
R=sergeyu@chromium.org

Review URL: https://codereview.webrtc.org/1419733004

Cr-Commit-Position: refs/heads/master@{#10377}
2015-10-22 23:15:25 +00:00
c80741f895 Fixing some issues with the direction attribute of m-lines in offers.
By default, we'll now offer to receive if already receiving
(meaning that the last remote description contained a track).

Also, m-lines that are neither receiving nor sending are now correctly
marked "inactive".

Also moved some logic relating to default tracks out of webrtcsdp.cc,
such that now the direction seen by upper layers will always be
consistent with the consumed/produced SDP.

BUG=528089

Review URL: https://codereview.webrtc.org/1406803004

Cr-Commit-Position: refs/heads/master@{#10376}
2015-10-22 20:14:51 +00:00
56149e57bb Roll chromium_revision 7c002e5..bd99556 (355518:355580)
Change log: 7c002e5..bd99556
Full diff: 7c002e5..bd99556

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1408043003

Cr-Commit-Position: refs/heads/master@{#10375}
2015-10-22 18:53:04 +00:00
b7edb88ae2 Prevent BWE rampdowns without new loss reports.
Before this change, UpdateEstimate would repeatedly decrease bitrate
even though there's no fresh corresponding RTCP loss report, triggering
multiple reactions to a single indication of high packet loss.

BUG=webrtc:5101
R=stefan@webrtc.org

Review URL: https://codereview.webrtc.org/1417723005

Cr-Commit-Position: refs/heads/master@{#10374}
2015-10-22 15:52:28 +00:00
4a859fdce5 Roll chromium_revision 2c4120b..7c002e5 (355476:355518)
Change log: 2c4120b..7c002e5
Full diff: 2c4120b..7c002e5

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1422663002

Cr-Commit-Position: refs/heads/master@{#10373}
2015-10-22 11:31:35 +00:00
797ef12324 Added StopAecDump function to PeerConnectionFactory.
The function to stop recording an AEC dump was missing from the PeerConnectionFactory interface (only a start function was provided). This CL adds the missing stop function.

BUG=webrtc:4741

Review URL: https://codereview.webrtc.org/1415733005

Cr-Commit-Position: refs/heads/master@{#10372}
2015-10-22 10:25:45 +00:00
a74c08dced Move i420 files to the right location
There's also a presubmit check that disallows .. references
in GYP files, which this solves.

BUG=webrtc:5095
R=stefan@webrtc.org

Review URL: https://codereview.webrtc.org/1418753002 .

Cr-Commit-Position: refs/heads/master@{#10371}
2015-10-22 10:23:21 +00:00
48e66b4463 GN: Remove build_overrides/v8.gni
After https://codereview.chromium.org/1413893003
this workaround is no longer needed (since we've now
rolled that revision into WebRTC).

BUG=541791
R=phoglund@webrtc.org

Review URL: https://codereview.webrtc.org/1418063002 .

Cr-Commit-Position: refs/heads/master@{#10370}
2015-10-22 08:50:43 +00:00
4f4ec0a927 Re-Land: Implement AudioReceiveStream::GetStats().
R=tommi@webrtc.org
BUG=webrtc:4690

Committed: a457752f4a

Review URL: https://codereview.webrtc.org/1390753002 .

Cr-Commit-Position: refs/heads/master@{#10369}
2015-10-22 08:49:39 +00:00
b1ce663d16 Allow encoders to fall back dynamically to software.
Like video_decoder.cc, a call to Encode that returns
WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE will trigger an attempted fallback
to a built-in software encoder. Initialization information, along with
any rate and channel parameter info, will be replayed on the software
encoder and then the frame (that cause the fallback) will be immediately
replayed for the software encoder.

Also modified the existing behavior to Release() the "real" encoder even
if a fallback encoder exists. That seems like the correct behavior.

BUG=webrtc:2920

Review URL: https://codereview.webrtc.org/1328863002

Cr-Commit-Position: refs/heads/master@{#10368}
2015-10-22 06:54:57 +00:00
b788bc25f3 Add Mac-specific resource to modules_unittests.isolate
This should make
http://build.chromium.org/p/client.webrtc.fyi/builders/Mac64%20Release%20%28swarming%29
go green.

BUG=chromium:497757
TBR=stip@chromium.org

Review URL: https://codereview.webrtc.org/1415093005 .

Cr-Commit-Position: refs/heads/master@{#10367}
2015-10-22 05:31:39 +00:00
93ea78bfc2 Add test resources to libjingle_media_unittest.isolate
These should be the final missing pieces before
http://build.chromium.org/p/client.webrtc.fyi/builders/Linux64%20Release%20%28swarming%29
can go green.

BUG=chromium:497757
TBR=stip@chromium.org

Review URL: https://codereview.webrtc.org/1413973004 .

Cr-Commit-Position: refs/heads/master@{#10366}
2015-10-22 05:25:58 +00:00
9589e2af16 Update isolate files for swarming tests
Xvfb is needed for the screen capture tests in modules_unittests,
which also brings in xdisplaycheck used by testing/xvfb.py.

libjingle_media_unittest was missing a resource video in the .isolate
file.

BUG=chromium:497757
R=stip@chromium.org

Review URL: https://codereview.webrtc.org/1415603005 .

Cr-Commit-Position: refs/heads/master@{#10365}
2015-10-22 04:48:34 +00:00
4f47ed45db Roll chromium_revision fecea52..2c4120b (355266:355476)
Change log: fecea52..2c4120b
Full diff: fecea52..2c4120b

Changed dependencies:
* src/tools/swarming_client: b64f042..8fce796
DEPS diff: fecea52..2c4120b/DEPS

No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1415933004

Cr-Commit-Position: refs/heads/master@{#10364}
2015-10-22 03:18:09 +00:00
522fac791c Roll chromium_revision 9a72f7c..fecea52 (355218:355266)
Change log: 9a72f7c..fecea52
Full diff: 9a72f7c..fecea52

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1409983003

Cr-Commit-Position: refs/heads/master@{#10363}
2015-10-21 21:32:21 +00:00
affa39cb39 Remove time constraint on first retransmit of a packet.
We don't allow more than one retransmission within one RTT, but the RTT
estimate might be off. Reasonably, the remote end will not send a NACK
until the packet after has been received - so always resend on first
request.

Review URL: https://codereview.webrtc.org/1414563003

Cr-Commit-Position: refs/heads/master@{#10362}
2015-10-21 20:46:42 +00:00
c96df779b0 - Introduce internal classes WebRtcAudio[Send|Receive]Stream in WebRtcVoiceMediaChannel.
- Remove WebRtcVoiceMediaChannel::WebRtcVoiceChannelRenderer
- Create webrtc::AudioSendStreams.

BUG=webrtc:4690

Review URL: https://codereview.webrtc.org/1415563003

Cr-Commit-Position: refs/heads/master@{#10361}
2015-10-21 20:02:00 +00:00