Commit Graph

9530 Commits

Author SHA1 Message Date
0a6380f069 Roll chromium_revision d47c242..df4218d (352743:352811)
Change log: d47c242..df4218d
Full diff: d47c242..df4218d

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/1389293002

Cr-Commit-Position: refs/heads/master@{#10198}
2015-10-07 11:44:03 +00:00
70a5e0ead6 Remove (u)int typedefs from basictypes.h.
BUG=webrtc:5024
R=henrikg@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10197}
2015-10-07 11:19:47 +00:00
0c4e06b4c6 Use suffixed {uint,int}{8,16,32,64}_t types.
Removes the use of uint8, etc. in favor of uint8_t.

BUG=webrtc:5024
R=henrik.lundin@webrtc.org, henrikg@webrtc.org, perkj@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, tina.legrand@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10196}
2015-10-07 10:23:32 +00:00
8d15bd6dab Reland of Collecting encode_time_ms for each frame (patchset #1 id:1 of https://codereview.webrtc.org/1383283005/ )
Reason for revert:
The reverted commit didn't affect the tests, but the one before: https://codereview.webrtc.org/1385563005/

I've run the test that was failing (EndToEndTest.AssignsTransportSequenceNumbers) locally multiple times, and it works fine (finishes successfully in 150-170ms).

Original issue's description:
> Revert of Collecting encode_time_ms for each frame (patchset #13 id:220001 of https://codereview.webrtc.org/1374233002/ )
>
> Reason for revert:
> Breaks EndToEndTest.AssignsTransportSequenceNumbers in video_engine_tests
> on several bots:
> http://build.chromium.org/p/client.webrtc/builders/Linux64%20Debug/builds/5507
> http://build.chromium.org/p/client.webrtc/builders/Mac64%20Debug/builds/4815
> http://build.chromium.org/p/client.webrtc/builders/Win%20SyzyASan/builds/3272
> http://build.chromium.org/p/client.webrtc/builders/Linux%20Memcheck/builds/4414
>
> It seems very unfortunate that it breaks on _exactly_ the bot configs that aren't covered by the CQ trybots.
>
> Original issue's description:
> > Collecting encode_time_ms for each frame.
> >
> > Also, in Sample struct, replacing double with the original type.
> > It makes more sense to save the original data as truthful as possible, and then
> > convert it to double later if necessary (in the plot script).
> >
> > Committed: https://crrev.com/092b13384e57b33e2003d9736dfa1f491e76f938
> > Cr-Commit-Position: refs/heads/master@{#10184}
>
> TBR=sprang@webrtc.org,pbos@webrtc.org,mflodman@webrtc.org,asapersson@webrtc.org,ivica@webrtc.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
>
> Committed: https://crrev.com/810447972425e890bc7911af27f894b86e9b7e6f
> Cr-Commit-Position: refs/heads/master@{#10185}

TBR=sprang@webrtc.org,pbos@webrtc.org,mflodman@webrtc.org,asapersson@webrtc.org,kjellander@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#10195}
2015-10-07 09:43:25 +00:00
d97ec30ce4 Remove default receive channel from WVoE; baby step 0.
Cleanup + add thread checker DCHECKs to various method in WebRtcVoiceEngine/MediaChannel.

BUG=webrtc:4690

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

Cr-Commit-Position: refs/heads/master@{#10194}
2015-10-07 08:40:38 +00:00
67bcb609a3 GN: Port frame_analyzer and rgba_to_i420_converter targets
Original patch by tfarina@chromium.org at
https://webrtc-codereview.appspot.com/42999004/

BUG=chromium:461019, webrtc:4504
TESTED=Tested on Linux with the following command lines:
$ gn gen/out/Debug --args='is_debug=true build_with_chromium=false'
$ ninja -C out/Debug frame_analyzer rgba_to_i420_converter
Also successfully compiled from a Chromium checkout using the steps in webrtc:4504.

R=tfarina@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#10193}
2015-10-07 06:43:07 +00:00
7f315f58bc Roll chromium_revision 6ebca7d..d47c242 (352640:352743)
Change log: 6ebca7d..d47c242
Full diff: 6ebca7d..d47c242

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/1390983002

Cr-Commit-Position: refs/heads/master@{#10192}
2015-10-07 06:31:39 +00:00
a38e31a054 Update lower-level codereview.settings files.
Every now and then we get CLs to codereview.webrtc.org
that are created from a Chromium checkout by editing
the code in third_party/webrtc or third_party/libjingle.

By editing these lower-level codereview.settings files,
we instead cause a crash during 'git cl upload', but the
contents of the file will also be printed, which can work
as an error message. The alternative would be to entirely
remove the files.

BUG=
R=andrew@webrtc.org, tommi@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10191}
2015-10-06 21:19:34 +00:00
a10492ff33 Fix VS 2015 warning by adding an additional cast
The OwningThread member of CRITICAL_SECTION is declared as having type
HANDLE but it is actually the thread's Thread ID which is a DWORD. When
doing 64-bit builds of Chromium with VS 2015 this triggers a warning
because of the suspicious conversion from 32-bit integer to 64-bit
pointer.

This change adds a cast (and some comments) to make the conversion
explicit and avoid the warning.

R=henrikg@webrtc.org
BUG=440500

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

Cr-Commit-Position: refs/heads/master@{#10190}
2015-10-06 20:34:34 +00:00
4139c0f1c5 Java binding for RtpSender/RtpReceiver.
The Java PeerConnection maintains a cached list of Java RtpSenders
and RtpReceivers so that the same objects are returned every time
getSenders() or getReceivers() is called. They are disposed of when
PeerConnection.dispose() is called, which will also dispose their
referenced MediaStreamTracks.

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

Cr-Commit-Position: refs/heads/master@{#10189}
2015-10-06 19:29:32 +00:00
10950692d6 Revert "Transport sequence number should be set also for retransmissions."
After this CL, video_engine_test started failing flakily in different bots for different CLs.

TBR=sprang@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10188}
2015-10-06 19:27:12 +00:00
a295320639 Roll chromium_revision 2a1b03e..6ebca7d (352576:352640)
Change log: 2a1b03e..6ebca7d
Full diff: 2a1b03e..6ebca7d

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/1393453003

Cr-Commit-Position: refs/heads/master@{#10187}
2015-10-06 19:20:31 +00:00
0a6c4ca942 Catching more errors when parsing ICE server URLs.
Every malformed URL should now produce an error message in JS, rather than
silently failing and possibly printing a warning message to the console (and
possibly crashing).

Also added some unit tests, and made "ParseIceServers" public.

BUG=445002

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

Cr-Commit-Position: refs/heads/master@{#10186}
2015-10-06 18:38:33 +00:00
8104479724 Revert of Collecting encode_time_ms for each frame (patchset #13 id:220001 of https://codereview.webrtc.org/1374233002/ )
Reason for revert:
Breaks EndToEndTest.AssignsTransportSequenceNumbers in video_engine_tests
on several bots:
http://build.chromium.org/p/client.webrtc/builders/Linux64%20Debug/builds/5507
http://build.chromium.org/p/client.webrtc/builders/Mac64%20Debug/builds/4815
http://build.chromium.org/p/client.webrtc/builders/Win%20SyzyASan/builds/3272
http://build.chromium.org/p/client.webrtc/builders/Linux%20Memcheck/builds/4414

It seems very unfortunate that it breaks on _exactly_ the bot configs that aren't covered by the CQ trybots.

Original issue's description:
> Collecting encode_time_ms for each frame.
>
> Also, in Sample struct, replacing double with the original type.
> It makes more sense to save the original data as truthful as possible, and then
> convert it to double later if necessary (in the plot script).
>
> Committed: https://crrev.com/092b13384e57b33e2003d9736dfa1f491e76f938
> Cr-Commit-Position: refs/heads/master@{#10184}

TBR=sprang@webrtc.org,pbos@webrtc.org,mflodman@webrtc.org,asapersson@webrtc.org,ivica@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#10185}
2015-10-06 18:34:14 +00:00
092b13384e Collecting encode_time_ms for each frame.
Also, in Sample struct, replacing double with the original type.
It makes more sense to save the original data as truthful as possible, and then
convert it to double later if necessary (in the plot script).

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

Cr-Commit-Position: refs/heads/master@{#10184}
2015-10-06 14:13:50 +00:00
af4ced986b Transport sequence number should be set also for retransmissions.
When fetching a packet from the rtp packet history, cuased by a
retransmission, the transport seq extension header is enabled but the
sequence number is set to 0. A new transport seq should be assigned in
this case.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#10183}
2015-10-06 13:02:57 +00:00
86fa298c3e Roll chromium_revision 4bf3678..2a1b03e (352512:352576)
Change log: 4bf3678..2a1b03e
Full diff: 4bf3678..2a1b03e

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/1383123004

Cr-Commit-Position: refs/heads/master@{#10182}
2015-10-06 12:28:22 +00:00
5d0379da2c Remove kSkipFrame usage.
Since padding is no longer sent on Encoded() callbacks, dummy callbacks
aren't required to generate padding. This skip-frame behavior can then
be removed to get rid of dummy callbacks though nothing was encoded. As
frames don't have to be generated for frames that don't have to be sent
we skip encoding frames that aren't intended to be sent either, reducing
CPU load.

BUG=
R=mflodman@webrtc.org, stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10181}
2015-10-06 12:05:03 +00:00
13c433c299 Add delay metric (includes network delay (rtt/2) + jitter delay + decode time + render delay):
- "WebRTC.Video.OnewayDelayInMs"

BUG=chromium:512752

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

Cr-Commit-Position: refs/heads/master@{#10180}
2015-10-06 11:08:22 +00:00
7bd242e53d Enabling screensharing tests for Android
This CL runs the screensharing tests 5 times, and none of the Android trybots failed:
https://codereview.webrtc.org/1377663003/

Therefore, we can now probably enable the tests.

BUG=chromium:513170

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

Cr-Commit-Position: refs/heads/master@{#10179}
2015-10-06 09:04:15 +00:00
9359b5b978 Disabling AudioDeviceTest.StartStopPlayout on Android.
BUG=5046
TBR=henrika@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10178}
2015-10-06 07:13:45 +00:00
d89f82ab65 Roll chromium_revision c511263..4bf3678 (352322:352512)
Change log: c511263..4bf3678
Full diff: c511263..4bf3678

Changed dependencies:
* src/buildtools: 0c88009..5fc8d39
DEPS diff: c511263..4bf3678/DEPS

No update to Clang.

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

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

Cr-Commit-Position: refs/heads/master@{#10177}
2015-10-06 02:47:40 +00:00
09f1350efa Add option to reset Android video renderer first frame flag.
This allows to correctly report first frame event in applications which
use same remote video renderer for multiple calls.

R=wzh@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10176}
2015-10-05 20:01:41 +00:00
6caafbe5b6 Convert uint16_t to int for WebRTC cipher/crypto suite.
This is a follow up CL on https://codereview.webrtc.org/1337673002

BUG=
R=pthatcher@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10175}
2015-10-05 19:43:33 +00:00
1b33da1298 SurfaceTextureHelper fixes
Fixed a problem where eglBase.makecurrent() could be called after the context had been released if SurfaceTextureHelper was first created and immedately disconnected.

Add the possibility to inject a thread to use instead of creating a new.

BUG= webrtc:4993
R=magjed@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10174}
2015-10-05 19:06:48 +00:00
418503275c Add ThreadChecker class to ThreadUtils
This class can be used for checking that method calls are made on the correct thread.

R=magjed@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10173}
2015-10-05 18:49:15 +00:00
d2838a74f1 Roll chromium_revision 07b4a8e..c511263 (352281:352322)
Change log: 07b4a8e..c511263
Full diff: 07b4a8e..c511263

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/1384943002 .

Cr-Commit-Position: refs/heads/master@{#10172}
2015-10-05 16:12:25 +00:00
e0bce24065 VideoCapturerAndroid: Add custom nativeCreateVideoCapturer()
This CL shouldn't make any functional changes. It adds a new VideoCapturerAndroid.nativeCreateVideoCapturer() instead of always using VideoCapturer.nativeCreateVideoCapturer(). The purpose is to simplify androidvideocapturer_jni and VideoCapturerAndroid.create(). This way, it is possible to use the ctor instead of VideoCapturerAndroid.init() to initialize variables, and they can be made final etc.

R=perkj@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10171}
2015-10-05 14:22:06 +00:00
723dff1e6d Poll stats more often to get more stable stats in ramp-up tests.
BUG=chromium:538649
R=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10170}
2015-10-05 12:59:50 +00:00
4cd053fe88 Only catch UnsatisfiedLinkError in Logging.java.
BUG=

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

Cr-Commit-Position: refs/heads/master@{#10169}
2015-10-05 12:27:50 +00:00
f3a7c9d732 In rampup tests, set start time when starting poller thread.
This should avoid perf change caused by
https://codereview.webrtc.org/1378303004

BUG=539257
R=stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10168}
2015-10-05 12:03:29 +00:00
95cd8ea31a Enable HW NS for N6 to fix HW AEC issue
TBR=magjed
BUG=b/24595150

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

Cr-Commit-Position: refs/heads/master@{#10167}
2015-10-05 11:59:01 +00:00
dec5ebf106 Move sent key frame stats to send_statistics_proxy class.
BUG=

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

Cr-Commit-Position: refs/heads/master@{#10166}
2015-10-05 09:36:20 +00:00
42b6c634f0 autoroller: Allow to specify Rietveld e-mail.
This is useful in order to specify which account to be used
for creating the Rietveld CL.
Always pass -f to force yes to any prompts during uplaod.

BUG=webrtc:4688
R=phoglund@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10165}
2015-10-05 08:44:34 +00:00
990d57dc65 Fix file order in base.gyp.
Review URL: https://codereview.webrtc.org/1386613003

Cr-Commit-Position: refs/heads/master@{#10164}
2015-10-05 08:22:32 +00:00
ba0f0a51d6 Disable flaky WebRtcVideoChannel2BaseTest.* on DrMemory/memcheck.
BUG=webrtc:4963
R=kjellander@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10163}
2015-10-05 08:11:07 +00:00
4bd8d092a2 Roll chromium_revision ca4c339..07b4a8e (352257:352281)
Change log: ca4c339..07b4a8e
Full diff: ca4c339..07b4a8e

No dependencies changed.
No update to Clang.

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

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

Cr-Commit-Position: refs/heads/master@{#10162}
2015-10-05 04:20:31 +00:00
96a70f0183 Exclude WebRtcVideoChannel2BaseTest.AddRemoveCapturerMultipleSources on Dr Memory.
The test is flaky on Dr Memory (not at Linux memcheck as previously
committed in https://codereview.webrtc.org/1388663002).

BUG=5050
TBR=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10161}
2015-10-05 03:42:50 +00:00
b5fd46edec Exclude WebRtcVideoChannel2BaseTest.AddRemoveCapturerMultipleSources on Memcheck
The test is flaky on Linux Memcheck.

BUG=5050
TBR=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10160}
2015-10-05 03:33:17 +00:00
42b4faa28a Fix a build issue when use external OpenSSL.
R=juberti@google.com
TBR=juberti@webrtc.org
BUG=webrtc:5049

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

Cr-Commit-Position: refs/heads/master@{#10159}
2015-10-05 03:02:52 +00:00
6df1ef60dc Roll chromium_revision 4ce3c08..ca4c339 (352000:352257)
Change log: 4ce3c08..ca4c339
Full diff: 4ce3c08..ca4c339

No dependencies changed.
No update to Clang.

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

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

Cr-Commit-Position: refs/heads/master@{#10158}
2015-10-03 18:56:12 +00:00
bc0938e8e7 Android VideoRendererGui: Make deep copy of incoming texture frames
VideoRendererGui may need to render incoming frames multiple times. We currently call VideoRenderer.renderFrameDone() while we still hold references to the OES texture. This CL makes a deep copy of the OES texture before calling renderFrameDone(). This will truly release the dependency to the incoming frame, so that video textures sources can rely on the renderFrameDone() callback.

This CL is a part of the plan in https://codereview.webrtc.org/1357923002/.

The texture copy doesn't cause any measurable performance difference on a Nexus 5 using VideoRendererGui in a AppRTCDemo loopback call.

BUG=webrtc:4993
TEST=Revert "Enable SurfaceViewRenderer for AppRTCDemo" https://codereview.webrtc.org/1356603004/ and try AppRTCDemo.
R=perkj@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10157}
2015-10-03 15:30:12 +00:00
44bf6f5f67 Android MediaCodecVideoDecoder: Split DecoderOutputBufferInfo into DecodedByteBuffer and DecodedTextureBuffer
This CL separates the types and code paths for textures vs byte buffers in MediaCodecVideoDecoder.dequeueOutputBuffer() and MediaCodecVideoDecoder::DeliverPendingOutputs(). The purpose is to prepare for lifetime management of textures received from the SurfaceTexture.

This CL is a part of the plan in https://codereview.webrtc.org/1357923002/.

BUG=webrtc:4993

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

Cr-Commit-Position: refs/heads/master@{#10156}
2015-10-03 09:08:06 +00:00
13b96ba90f Adding APM configuration in AEC dump.
The AEC dump was not self-contented enough in the sense that APM configuration is missing, and therefore, given an AEC dump, it is sometimes not clear how to reproduce problems.

This CL tries to address the problem.

Note that this cannot guarantee a perfect reproduction in all cases. Dumping from the middle of a call makes the initial states unknown and thus may make the result non-reproducible.

BUG=
TEST= 1. new dump in Chromium and unpack
      2. unpack old dump

R=andrew@webrtc.org, peah@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10155}
2015-10-02 22:39:27 +00:00
371dc7e560 WebRtc Win Desktop capture: ignore Win8+ Modern Apps' windows.
Microsoft introduced modern app from win8. Modern apps can be used cross Microsoft's platforms.

It was confirmed from Microsoft that there is no support for modern app's window capture.

BUG=526883

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

Cr-Commit-Position: refs/heads/master@{#10154}
2015-10-02 22:36:36 +00:00
913e645e10 Loopback and audio only mode.
Adds a loopback button that will connect to itself by simulating another client connection to the web socket server.

Adds an audio only mode switch.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#10153}
2015-10-02 18:45:13 +00:00
f9c23ca1b9 Exclude WebRtcVideoChannel2BaseTest.GetStats on linux memcheck
BUG=webrtc:5048
TBR=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#10152}
2015-10-02 18:26:14 +00:00
9dff0ba8c1 Fix MSVS project files generation.
BUG=5044
TBR=kjellander@webrtc.org
TEST=Runhooks with GYP_GENERATORS=msvs-ninja

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

Cr-Commit-Position: refs/heads/master@{#10151}
2015-10-02 17:07:58 +00:00
067fb652c1 Roll chromium_revision 7fddcec..4ce3c08 (351973:352000)
Change log: 7fddcec..4ce3c08
Full diff: 7fddcec..4ce3c08

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/1379333002

Cr-Commit-Position: refs/heads/master@{#10150}
2015-10-02 14:44:18 +00:00
a050e982b0 Avoid race in RampUpTest
Poller thread is currently started in the constructor, so the first call
to PollStats() may happen even before the streams have been configured.
This will blow up on RTC_DCHECK_GT(expected_bitrate_bps_, 0);

Thread should instead be started on PerformTest() call.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#10149}
2015-10-02 13:51:56 +00:00