12927 Commits

Author SHA1 Message Date
ehmaldonado
048ab2f08f Rename linux_ubsan_clang_vptr to linux_ubsan_vptr.
I mistyped the name of the bot as 'linux_ubsan_clang_vptr'.
The real name is 'linux_ubsan_vptr'.

Also erase the libfuzzer bot, since it's alreading using GN.

BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2227043002
Cr-Commit-Position: refs/heads/master@{#13695}
2016-08-09 14:55:50 +00:00
danilchap
5fb291ac88 Remove RTPSenderInterface
Review-Url: https://codereview.webrtc.org/2218153002
Cr-Commit-Position: refs/heads/master@{#13694}
2016-08-09 14:43:33 +00:00
brandtr
d90fa0be29 Unit test for media packet reordering in ForwardErrorCorrection.
This CL expands the test coverage by checking that the FEC can
handle reordered received media packets. Specifically, this checks
that |recovered_packets| is kept in sorted order.

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2101253002
Cr-Commit-Position: refs/heads/master@{#13693}
2016-08-09 13:57:18 +00:00
aleloi
e5106e75da Removed target rtp_to_text. The code does not even run.
NOTRY=True

BUG=webrtc:6162, webrtc:2692

Review-Url: https://codereview.webrtc.org/2199803002
Cr-Commit-Position: refs/heads/master@{#13692}
2016-08-09 13:56:16 +00:00
buildbot
12e26f8644 Roll chromium_revision b71df30770..db8d32de07 (410517:410624)
Change log: b71df30770..db8d32de07
Full diff: b71df30770..db8d32de07

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2221943004
Cr-Commit-Position: refs/heads/master@{#13691}
2016-08-09 11:02:21 +00:00
brandtr
3e2d6ac0c0 Updated comments and renaming of variables in ForwardErrorCorrection.
This CL should have no changes to functionality.

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2107703002
Cr-Commit-Position: refs/heads/master@{#13690}
2016-08-09 10:29:57 +00:00
ehmaldonado
09abaa0c7d Add Linux bots to mb_config.pyl.
BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2223893002
Cr-Commit-Position: refs/heads/master@{#13689}
2016-08-09 09:26:20 +00:00
sakal
5d4d59c069 Remove LooperExecutor and replace it with built-in HandlerThread.
Review-Url: https://codereview.webrtc.org/2206473003
Cr-Commit-Position: refs/heads/master@{#13688}
2016-08-09 09:03:41 +00:00
brandtr
35c480cf18 Use std::unique_ptr in ForwardErrorCorrection.
This CL converts the ForwardErrorCorrection class to use std::unique_ptr
for memory management, rather than manually delete'ing allocated memory.

It further renames some data structures and types to distinguish between
generated FEC packets (i.e. coming from the encode operation) and
received FEC packets (i.e. coming in over the wire, intended for the
decode operation).

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2099243003
Cr-Commit-Position: refs/heads/master@{#13687}
2016-08-09 08:23:35 +00:00
jbauch
ed2f1ef369 Remove memcheck suppressions pointing to libnss3.so
NSS has been replaced by BoringSSL/OpenSSL on all platforms, so the memcheck
suppressions should no longer be required.

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

Review-Url: https://codereview.webrtc.org/2222243002
Cr-Commit-Position: refs/heads/master@{#13686}
2016-08-09 06:01:36 +00:00
buildbot
752ce524e1 Roll chromium_revision 23c669b5b4..b71df30770 (410390:410517)
Change log: 23c669b5b4..b71df30770
Full diff: 23c669b5b4..b71df30770

Changed dependencies:
* src/buildtools: e4aa960cb9..33a32b8aa2
DEPS diff: 23c669b5b4..b71df30770/DEPS

No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2222083003
Cr-Commit-Position: refs/heads/master@{#13685}
2016-08-09 02:48:10 +00:00
zijiehe
2d618de25a [Chromoting] Improve DirectX capturer to support multiple outputs
Current DirectX capturer cannot capture multiple video cards or monitors. But
according to DXGI desktop duplication sample (https://goo.gl/An0L9l), we can
capture multiple video cards and monitors by duplicating them one by one. So
instead of one IDXGIOutputDuplication instance, this change creates an
IDXGIOutputDuplication instance for each monitor, and merge the output into
one DesktopFrame.
Several other changes are also included,
1. Add supports to DXGI_OUTDUPL_DESC.DesktopImageInSystemMemory. When this flag
is true, we won't copy its content to staging buffer.
2. Capture one monitor instead of entire screen.

Above changes make the logic complex. But with some refactor work, the logic is
not disordered. Please refer to the doc @ https://goo.gl/hU1ifG.

BUG=314516

Review-Url: https://codereview.webrtc.org/2099123002
Cr-Commit-Position: refs/heads/master@{#13684}
2016-08-09 00:50:28 +00:00
jbauch
e3eff7c062 Check that table evenly divides 256 when generating random string.
This prevents biased modulo arithmetic when selecting a character for a
random value from the provided table.

BUG=webrtc:5870

Review-Url: https://codereview.webrtc.org/2115793003
Cr-Commit-Position: refs/heads/master@{#13683}
2016-08-09 00:13:44 +00:00
jbauch
912f46a348 Don't silently ignore RNG failures when creating strings / numbers.
RTC_CHECK in functions that return the random value.

BUG=webrtc:6072

Review-Url: https://codereview.webrtc.org/2119003002
Cr-Commit-Position: refs/heads/master@{#13682}
2016-08-08 23:33:14 +00:00
jbauch
d3b953db30 Remove NSS SecureRandomGenerator.
All platforms should be using OpenSSL/BoringSSL.

BUG=

Review-Url: https://codereview.webrtc.org/2115123002
Cr-Commit-Position: refs/heads/master@{#13681}
2016-08-08 23:23:00 +00:00
tkchin
6a450105cd Adjust H264 QP thresholds.
NOTRY=True
BUG=

Review-Url: https://codereview.webrtc.org/2228683002
Cr-Commit-Position: refs/heads/master@{#13680}
2016-08-08 22:27:41 +00:00
buildbot
5afa3539b4 Roll chromium_revision c020edf5c5..23c669b5b4 (410323:410390)
Change log: c020edf5c5..23c669b5b4
Full diff: c020edf5c5..23c669b5b4

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2224003002
Cr-Commit-Position: refs/heads/master@{#13679}
2016-08-08 19:38:36 +00:00
Alex Glaznev
0060c56b22 Catch exceptions thrown by getCodecInfoAt() and getCapabilitiesForType().
BUG=b/30715199
R=jiayl@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#13678}
2016-08-08 19:27:37 +00:00
aleloi
df9e4d9fce Added new mixer folder to CPPLINT_DIRS. Fixed one small issue.
NOTRY=True

Review-Url: https://codereview.webrtc.org/2228503003
Cr-Commit-Position: refs/heads/master@{#13677}
2016-08-08 17:26:17 +00:00
aleloi
6382a19dc4 Renamed old-style variables.
Review-Url: https://codereview.webrtc.org/2227633002
Cr-Commit-Position: refs/heads/master@{#13676}
2016-08-08 17:25:10 +00:00
terelius
0740a2040a Track SSRCs configured for each media type in event log visualization tool.
Review-Url: https://codereview.webrtc.org/2207453003
Cr-Commit-Position: refs/heads/master@{#13675}
2016-08-08 17:21:09 +00:00
aleloi
4496809b28 Changed mixing api and moved resampler.
Removed resampler from NewAudioConferenceMixer and AudioMixer (which started as a copy of former OutputMixer). This is part of the mixer rewrite project. In particular,
this is one of the steps required to have a single mixing component
instead of two doing the same thing.

The next planned change (which is not part of this CL) is to plug in the
new mixer (NewAudioConferenceMixer) into AudioState and AudioDeviceModule.

NOTRY=True

Review-Url: https://codereview.webrtc.org/2221443002
Cr-Commit-Position: refs/heads/master@{#13674}
2016-08-08 17:19:03 +00:00
kthelgason
0727f15186 Create gn target for peerconnection examples
BUG=

Review-Url: https://codereview.webrtc.org/2218053002
Cr-Commit-Position: refs/heads/master@{#13673}
2016-08-08 16:03:27 +00:00
brandtr
03bc3cfb3e GN target for test_packet_masks_metrics.
NOTRY=True
BUG=webrtc:6193

Review-Url: https://codereview.webrtc.org/2229473002
Cr-Commit-Position: refs/heads/master@{#13672}
2016-08-08 15:09:00 +00:00
ehmaldonado
d046d985f9 Cleaning up mb_config.pyl style.
BUG=589510
NOTRY=True

Review-Url: https://codereview.webrtc.org/2222853003
Cr-Commit-Position: refs/heads/master@{#13671}
2016-08-08 13:59:24 +00:00
sakal
f4433ef14e Add argument support for stand-alone WebRTC tracing.
BUG=webrtc:6186

Review-Url: https://codereview.webrtc.org/2215153003
Cr-Commit-Position: refs/heads/master@{#13670}
2016-08-08 11:10:17 +00:00
buildbot
d4664d4f44 Roll chromium_revision 039ff70eec..c020edf5c5 (410288:410323)
Change log: 039ff70eec..c020edf5c5
Full diff: 039ff70eec..c020edf5c5

No dependencies changed.
Clang version changed 274369:277962
Details: 039ff70eec..c020edf5c5/tools/clang/scripts/update.py

TBR=pbos@webrtc.org

Review-Url: https://codereview.webrtc.org/2227603002
Cr-Commit-Position: refs/heads/master@{#13669}
2016-08-08 11:02:16 +00:00
tkchin
04dbb34d51 iOS: Add support for rendering native CVPixelBuffers directly
This CL adds support in RTCEAGLVideoView for rendering CVPixelBuffers as
OpenGL ES textures directly, compared to the current code that first
converts the CVPixelBuffers to I420, and then reuploads them as
textures. This is only supported on iOS with the use of a
CVOpenGLESTextureCache.

The I420 rendering and native rendering are separated in two different
implementations of a simple shader interface:
@protocol Shader
- (BOOL)drawFrame:(RTCVideoFrame*)frame;
@end
GL resources are allocated when the shader is instantiated and released
when the shader is destroyed. RTCEAGLVideoView will lazily instantiate
the necessary shader when it receives the first frame of that kind. This
is primarily done to avoid allocating GL resources for both I420 and
native rendering.

Some other changes are:
 - Print GL shader compilation errors.
 - Remove updateTextureSizesForFrame() function. The textures will
   resize automatically anyway when the texture data is uploaded with
   glTexImage2D().

patch from issue 2154243002 at patchset 140001 (http://crrev.com/2154243002#ps140001)
Continuing magjed@'s work since he is OOO this week.

BUG=

Review-Url: https://codereview.webrtc.org/2202823004
Cr-Commit-Position: refs/heads/master@{#13668}
2016-08-08 10:10:12 +00:00
peah
c3ec1fd23c Adding GN targets for audioproc, audioproc_f and unpack_aecdump
BUG=webrtc:6171
NOTRY=True

Review-Url: https://codereview.webrtc.org/2222643002
Cr-Commit-Position: refs/heads/master@{#13667}
2016-08-08 06:19:35 +00:00
tkchin
2ddfdba989 GN: Add targets for AppRTCDemo on Mac+iOS
BUG=webrtc:6022
NOTRY=True

Review-Url: https://codereview.webrtc.org/2211413003
Cr-Commit-Position: refs/heads/master@{#13666}
2016-08-08 04:37:56 +00:00
buildbot
968c9ccfe8 Roll chromium_revision c792d1ca22..039ff70eec (410283:410288)
Change log: c792d1ca22..039ff70eec
Full diff: c792d1ca22..039ff70eec

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2224823002
Cr-Commit-Position: refs/heads/master@{#13665}
2016-08-08 02:58:15 +00:00
buildbot
7064d648e5 Roll chromium_revision 7ac4976476..c792d1ca22 (410281:410283)
Change log: 7ac4976476..c792d1ca22
Full diff: 7ac4976476..c792d1ca22

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2224773002
Cr-Commit-Position: refs/heads/master@{#13664}
2016-08-07 19:21:22 +00:00
buildbot
08bbcc4eb3 Roll chromium_revision 8577969f1d..7ac4976476 (410275:410281)
Change log: 8577969f1d..7ac4976476
Full diff: 8577969f1d..7ac4976476

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2220843002
Cr-Commit-Position: refs/heads/master@{#13663}
2016-08-07 10:46:55 +00:00
buildbot
4d14d24790 Roll chromium_revision 8d0c21dddb..8577969f1d (410266:410275)
Change log: 8d0c21dddb..8577969f1d
Full diff: 8d0c21dddb..8577969f1d

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2221763002
Cr-Commit-Position: refs/heads/master@{#13662}
2016-08-07 02:46:20 +00:00
buildbot
14ac655b90 Roll chromium_revision 066f6569a1..8d0c21dddb (410263:410266)
Change log: 066f6569a1..8d0c21dddb
Full diff: 066f6569a1..8d0c21dddb

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2224703002
Cr-Commit-Position: refs/heads/master@{#13661}
2016-08-06 18:49:48 +00:00
buildbot
ef3852952a Roll chromium_revision d90908aa34..066f6569a1 (410251:410263)
Change log: d90908aa34..066f6569a1
Full diff: d90908aa34..066f6569a1

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2222583003
Cr-Commit-Position: refs/heads/master@{#13660}
2016-08-06 10:56:30 +00:00
buildbot
92f4d6e818 Roll chromium_revision b7b51c4bcf..d90908aa34 (410104:410251)
Change log: b7b51c4bcf..d90908aa34
Full diff: b7b51c4bcf..d90908aa34

Changed dependencies:
* src/buildtools: 9c6ad6f5cb..e4aa960cb9
DEPS diff: b7b51c4bcf..d90908aa34/DEPS

No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2223643003
Cr-Commit-Position: refs/heads/master@{#13659}
2016-08-06 03:33:42 +00:00
buildbot
f31e87f10d Roll chromium_revision 9ace14b3b2..b7b51c4bcf (410022:410104)
Change log: 9ace14b3b2..b7b51c4bcf
Full diff: 9ace14b3b2..b7b51c4bcf

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2223483003
Cr-Commit-Position: refs/heads/master@{#13658}
2016-08-05 18:47:15 +00:00
zhihuang
9763d56464 Modified PeerConnection and WebRtcSession for end-to-end QuicDataChannel usage.
To allow end-to-end QuicDataChannel usage with a
PeerConnection, RTCConfiguration has been modified to
include a boolean for whether to do QUIC, since negotiation of
QUIC is not implemented. If one peer does QUIC, then it will be
assumed that the other peer must do QUIC or the connection
will fail.

PeerConnection has been modified to create data channels of type
QuicDataChannel when the peer wants to do QUIC.

WebRtcSession has ben modified to use a QuicDataTransport
instead of a DtlsTransportChannelWrapper/DataChannel
when QUIC should be used

QuicDataTransport implements the generic functions of
BaseChannel to manage the QuicTransportChannel.

Committed: https://crrev.com/34b54c36a533dadb6ceb70795119194e6f530ef5
Review-Url: https://codereview.webrtc.org/2166873002
Cr-Original-Commit-Position: refs/heads/master@{#13645}
Cr-Commit-Position: refs/heads/master@{#13657}
2016-08-05 18:14:54 +00:00
johan
3859c89b2e Add decoder-specific settings with proper lifetime.
Utilize these settings for h264 sprop-parameter-sets.

BUG=webrtc:5948

Review-Url: https://codereview.webrtc.org/2185953002
Cr-Commit-Position: refs/heads/master@{#13656}
2016-08-05 16:19:33 +00:00
mflodman
4cd2790f17 Move RTP for synchroninzation and rename classes, files and variables.
This CL removes (almost) the last RTP references in VideoReceiveStream.
There are still references to RTPFragmentationHeader and SSRCs, which
will be dealt with later.

There are also new GUARDED_BY and thred checker added to the
synchronization class.

When there are othre transports than RTP, there will instead be an
interface + inheritance for RtpStreamReceiver and
RtpStreamSynchronizattion in VideoReceiveStream. This work will be done
when we actually know how we want to make thee transport interface.

BUG=webrtc:5838

Review-Url: https://codereview.webrtc.org/2216533002
Cr-Commit-Position: refs/heads/master@{#13655}
2016-08-05 13:28:50 +00:00
danilchap
b7b9dca4e4 Reland Enable socketservers unittests on windows.
Original CL: https://codereview.webrtc.org/2199193004/
Revert CL: https://codereview.webrtc.org/2209333002/

NOTRY=true
BUG=webrtc:6167,webrtc:6178

Review-Url: https://codereview.webrtc.org/2218853002
Cr-Commit-Position: refs/heads/master@{#13654}
2016-08-05 12:55:49 +00:00
buildbot
ac86c68e22 Roll chromium_revision 9d5d9721db..9ace14b3b2 (409966:410022)
Change log: 9d5d9721db..9ace14b3b2
Full diff: 9d5d9721db..9ace14b3b2

No dependencies changed.
No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2222443002
Cr-Commit-Position: refs/heads/master@{#13653}
2016-08-05 10:55:22 +00:00
danilchap
262e486128 TMMBRHelp::FindBoundingSet function cleaned
it become static to clearly state input, output and temporary variables
style updated with minor improvments to actual algorithm.

Review-Url: https://codereview.webrtc.org/1989363006
Cr-Commit-Position: refs/heads/master@{#13652}
2016-08-05 10:37:43 +00:00
ehmaldonado
1f8ed10aae Add win trybots to the default trybot set.
Adds win_x64_dbg to the default trybot set.
Replaces win_compile_dbg with win_dbg.

This is to cover 32 bit and 64 bit debug configuration in the default
trybot set.

BUG=webrtc:6178
NOTRY=True

Review-Url: https://codereview.webrtc.org/2219763002
Cr-Commit-Position: refs/heads/master@{#13651}
2016-08-05 08:59:38 +00:00
buildbot
902821619d Roll chromium_revision 8b35b05724..9d5d9721db (409830:409966)
Change log: 8b35b05724..9d5d9721db
Full diff: 8b35b05724..9d5d9721db

Changed dependencies:
* src/buildtools: 88c6fc5bde..9c6ad6f5cb
DEPS diff: 8b35b05724..9d5d9721db/DEPS

No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2214363002
Cr-Commit-Position: refs/heads/master@{#13650}
2016-08-05 02:48:19 +00:00
tkchin
33f00e1272 Fix case-sensitive build system errors.
This is https://codereview.webrtc.org/2141093002/, just wanted to get it in.

NOTRY=True
BUG=

Review-Url: https://codereview.webrtc.org/2214113002
Cr-Commit-Position: refs/heads/master@{#13649}
2016-08-04 19:46:51 +00:00
kjellander
a4e4e7a523 Revert of Temporarily disable android_arm64_rel trybot. (patchset #1 id:1 of https://codereview.webrtc.org/2212913002/ )
Reason for revert:
The bot is now back online.

Original issue's description:
> Temporarily disable android_arm64_rel trybot.
>
> The trybot machine build140-b4 has issues with its devices:
> https://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel
>
> BUG=634266
> NOTRY=True
>
> Committed: https://crrev.com/bfc7a30c663dbc7ecad145b8e834ebb47b3f75ec
> Cr-Commit-Position: refs/heads/master@{#13634}

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

Review-Url: https://codereview.webrtc.org/2209103004
Cr-Commit-Position: refs/heads/master@{#13648}
2016-08-04 19:45:42 +00:00
deadbeef
907abe4411 Revert of Modified PeerConnection and WebRtcSession for end-to-end QuicDataChannel usage. (patchset #8 id:280001 of https://codereview.webrtc.org/2166873002/ )
Reason for revert:
Reverting because it broke an RTP data channel test on the FYI bots.

Original issue's description:
> Modified PeerConnection and WebRtcSession for end-to-end QuicDataChannel usage.
>
> To allow end-to-end QuicDataChannel usage with a
> PeerConnection, RTCConfiguration has been modified to
> include a boolean for whether to do QUIC, since negotiation of
> QUIC is not implemented. If one peer does QUIC, then it will be
> assumed that the other peer must do QUIC or the connection
> will fail.
>
> PeerConnection has been modified to create data channels of type
> QuicDataChannel when the peer wants to do QUIC.
>
> WebRtcSession has ben modified to use a QuicDataTransport
> instead of a DtlsTransportChannelWrapper/DataChannel
> when QUIC should be used
>
> QuicDataTransport implements the generic functions of
> BaseChannel to manage the QuicTransportChannel.
>
> Committed: https://crrev.com/34b54c36a533dadb6ceb70795119194e6f530ef5
> Cr-Commit-Position: refs/heads/master@{#13645}

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

Review-Url: https://codereview.webrtc.org/2206793007
Cr-Commit-Position: refs/heads/master@{#13647}
2016-08-04 19:22:22 +00:00
buildbot
e7db69bc3c Roll chromium_revision f65883a9c0..8b35b05724 (409751:409830)
Change log: f65883a9c0..8b35b05724
Full diff: f65883a9c0..8b35b05724

Changed dependencies:
* src/third_party/opus/src: https://chromium.googlesource.com/chromium/deps/opus.git/+log/aa32042a50..None
DEPS diff: https://chromium.googlesource.com/chromium/src/+/f65883a9c0..8b35b05724/DEPS

No update to Clang.

TBR=

Review-Url: https://codereview.webrtc.org/2210393002
Cr-Commit-Position: refs/heads/master@{#13646}
2016-08-04 19:16:20 +00:00