Commit Graph

11056 Commits

Author SHA1 Message Date
d8dccd57ea uses standard types instead of RTCPUtility type to store data.
got member read accessors, got Parse function.

BUG=webrtc:5260
R=åsapersson

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

Cr-Commit-Position: refs/heads/master@{#11324}
2016-01-20 20:08:58 +00:00
72c08edced Reenables several NetEq unittests on android.
Several unittests were disabled on android, this CL will reenable them. One of
the tests was accidentally disabled on all platforms, and now no longer gives a
bitexact result.

BUG=webrtc:3343,webrtc:5349

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

Cr-Commit-Position: refs/heads/master@{#11323}
2016-01-20 15:26:28 +00:00
32f81542c2 Support REMB in combination with send-side BWE.
BUG=webrtc:4173

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

Cr-Commit-Position: refs/heads/master@{#11322}
2016-01-20 15:14:03 +00:00
a5dec16b42 Name SimulcastEncoderApdater on InitEncode.
Provides a better string (provides names of all implementations), but
also fixes a crash when accessing the ImplementationName() of
SimulcastEncoderAdapter where InitEncode has failed.

BUG=chromium:577932, webrtc:4897
R=stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11321}
2016-01-20 14:54:02 +00:00
a2b4c40928 Roll chromium_revision 15d94b7..6a04368 (370289:370362)
Change log: 15d94b7..6a04368
Full diff: 15d94b7..6a04368

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11320}
2016-01-20 13:38:48 +00:00
9090e0b147 Switch CriticalSectionWrapper->rtc::CriticalSection in modules/audio_coding.
This is a part of cleaning up CriticalSectionWrapper in general.

BUG=
R=henrik.lundin@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11319}
2016-01-20 12:39:45 +00:00
84df580d52 Switch to rtc::CriticalSection in IncomingVideoStream and remove one lock.
BUG=

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

Cr-Commit-Position: refs/heads/master@{#11318}
2016-01-20 12:38:00 +00:00
e8493326f2 Remove ConditionVariableWrapper.
ConditionVariableEventWin remains for now since it's still needed for the rw lock on Windows XP.

BUG=
R=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11317}
2016-01-20 12:36:42 +00:00
63cb434691 Switch use of CriticalSectionWrapper -> rtc::CriticalSection in call/
This is a first cl of removing use of CriticalSectionWrapper after a series of cleanup CLs that have been landing recently (and still are landing).

BUG=

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

Cr-Commit-Position: refs/heads/master@{#11316}
2016-01-20 10:32:58 +00:00
1d61a518ac Send key frame if time difference between incoming frames exceeds a certain limit.
BUG=

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

Cr-Commit-Position: refs/heads/master@{#11315}
2016-01-20 09:13:51 +00:00
436ff3129e Update exclude files for renamed test
The test binary libjingle_peerconnection_unittest was
renamed to peerconnection_unittests in
https://codereview.webrtc.org/1602443004/ but these
files were not renamed.

TBR=perkj@webrtc.org
NOTRY=True

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

Cr-Commit-Position: refs/heads/master@{#11314}
2016-01-20 08:19:23 +00:00
a927dcf9cd Roll chromium_revision 542b77a..15d94b7 (370158:370289)
Change log: 542b77a..15d94b7
Full diff: 542b77a..15d94b7

Changed dependencies:
* src/third_party/ffmpeg: d1e9c4b..7deada1
DEPS diff: 542b77a..15d94b7/DEPS

Clang version changed 257953:257955
Details: 542b77a..15d94b7/tools/clang/scripts/update.py

TBR=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11313}
2016-01-20 04:09:43 +00:00
f0b8a3784f Allow disabling denoiser when it is enabled.
BUG=webrtc:5255

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

Cr-Commit-Position: refs/heads/master@{#11312}
2016-01-20 02:19:01 +00:00
3a6bf2d68b Enable full screen windows to be shown in window picker for mac. Before this patch a full screen window can be shared if sharing is started before the window is entered into full screen mode, but not if it's already in full screen.
BUG=chromium:575990
TEST: Manual test using TextEdit full screen mode.

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

Cr-Commit-Position: refs/heads/master@{#11311}
2016-01-20 01:34:20 +00:00
95c8b401fd Roll chromium_revision f527e86..542b77a (370073:370158)
Change log: f527e86..542b77a
Full diff: f527e86..542b77a

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11310}
2016-01-19 22:15:05 +00:00
f01ea4f847 Remove use of ConditionVariableWrapper and CriticalSectionWrapper from UdpSocket2Windows.
This helps with untangling CriticalSectionWrapper from ConditionVariableWrapper and looks like we can just delete ConditionVariableWrapper and use rtc::Event instead.

BUG=
R=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11309}
2016-01-19 21:50:04 +00:00
cd255cc07b Remove unused ConditionVariableWrapper on POSIX platforms
BUG=

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

Cr-Commit-Position: refs/heads/master@{#11308}
2016-01-19 21:13:21 +00:00
7b971e728b Remove extra_options from VideoCodec.
Constructing default options is racy when initializing multiple VP8
encoders in parallel. This is only used for VP8 temporal layers. Adding
TemporalLayerFactory to VP8 codec specifics instead of generic options.

Removes the last webrtc::Config uses/includes from video code.

Also removes VideoCodec equality operators which are no longer in use.

BUG=webrtc:5410
R=stefan@webrtc.org
TBR=mflodman@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11307}
2016-01-19 15:26:24 +00:00
ee5a309f12 Make CriticalSectionWrapper non-virtual.
There's no need for this class to have a vtable since there exists only a single implementation (per platform).  It's also not good for performance.

BUG=
R=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11306}
2016-01-19 14:42:58 +00:00
dd45eb6801 Remove use-after-free when quality tests stall.
Reduces TSan warnings when running screenshare FullStack tests.

BUG=
R=sprang@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11305}
2016-01-19 14:22:45 +00:00
8a2c31d208 Make it possible to run peerconnection_unittests on Android.
- renamed libjingle_peerconnection_unittest to peerconnection_unittest to circumvent cr issue http://crbug.com/543820

TEST=On an android build webrtc/build/android/test_runner.py gtest -s peerconnection_unittests --verbose -t 900
BUG=webrtc:2365,543820
NOTRY=True

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

Cr-Commit-Position: refs/heads/master@{#11304}
2016-01-19 14:20:07 +00:00
0edb05b344 Declare that rent_a_codec depends on the audio codecs
That these declarations were missing was a bug, which apparently
didn't actually cause build problems in either Chromium or WebRTC
standalone. (Presumably, because rent_a_codec was always linked
together with other build targets that did declare such dependencies.)

BUG=webrtc:5435

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

Cr-Commit-Position: refs/heads/master@{#11303}
2016-01-19 13:54:31 +00:00
73674f8064 Replace hardcoded constant in video capture with macro.
The roll in https://codereview.webrtc.org/1593713013 introduced a
cast that is undefined behavior. The right way to fix it is to use
a macro.

NOTRY=True
TESTED=Tommi verified that the values are the same.

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

Cr-Commit-Position: refs/heads/master@{#11302}
2016-01-19 13:49:25 +00:00
3c85cad1d4 Roll chromium_revision 7a4fb8d..f527e86 (370025:370073)
Change log: 7a4fb8d..f527e86
Full diff: 7a4fb8d..f527e86

No dependencies changed.

Clang was updated 255169:257953.
Details: 7a4fb8d..f527e86/tools/clang/scripts/update.py

NOTRY=True
NOPRESUBMIT=True

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

Cr-Commit-Position: refs/heads/master@{#11301}
2016-01-19 12:47:24 +00:00
61046eb38d Rename RWLockGeneric to RWLockWinXP to more accurately reflect when it's used.
Since this is on Windows only, I'm also using the CriticalSectionWrapper and ConditionVariableWrapper Windows types directly which allows us to skip 3 extra heap allocations. It also helps with the removal of the 'friend' relationship between ConditionVariableWrapper and CriticalSectionWrapper, which is causing headaches on Mac.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#11300}
2016-01-19 11:00:01 +00:00
3860c7f873 Fix parsing of CLANG_REVISON from tools/clang/scripts/update.py
The regex didn't match the revision before after the switch
from tools/clang/scripts/update.sh to
tools/clang/scripts/update.py.
This should have been done in https://codereview.webrtc.org/1493683003
when the filename changed.

TESTED=Ran the script and verified parsing worked and showed
the currently pending Clang change in ongoing roll in
https://codereview.webrtc.org/1593713013/
NOTRY=True

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

Cr-Commit-Position: refs/heads/master@{#11299}
2016-01-19 10:04:49 +00:00
c4c8485662 Deleted renderer-related SetSize methods, and all uses.
webrtc::VideoRendererInterface::SetSize was completely unused.

cricket::VideoRenderer::SetSize only had dummy implementations
returning true and doing nothing.

BUG=webrtc:5426

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

Cr-Commit-Position: refs/heads/master@{#11298}
2016-01-19 08:52:55 +00:00
81354f5ef6 Added mute logic to VideoTrackRenderers.
If the track is disabled, replace incoming frames by black frames. Affects local rendering of disabled tracks.
Also intended to replace the similar logic in
WebRtcVideoChannel2::WebRtcVideoSendStream::InputFrame, once
VideoRtpSender is hooked up as a renderer for the track.

BUG=webrtc:5426

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

Cr-Commit-Position: refs/heads/master@{#11297}
2016-01-19 08:23:31 +00:00
8d6fab8fac Remove two dead 'using' instances.
BUG=
TBR=pthatcher@webrtc.org, stefan@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11296}
2016-01-18 23:24:36 +00:00
2067826a5e Remove dependency on ConditionVariableWrapper and CriticalSectionWrapper in UdpSocketPosix.
This is a part of cleaning up 'friend' parts of ConditionVariableWrapper's implementation where it accesses private variables of CriticalSectionWrapper, which is not good since it makes assumptions about the implementation on all posix platforms.
Instead I'm using rtc::Event, another condition variable based implementation we have, and fits the requirements of UdpSocketPosix.

BUG=
R=pbos@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11295}
2016-01-18 19:35:49 +00:00
233bfd2da4 Move keyframe requests outside encoder mutex.
Enables faster keyframe requests since they are no longer blocked by
calls to the encoder.

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

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

Cr-Commit-Position: refs/heads/master@{#11294}
2016-01-18 19:23:51 +00:00
49c740264c Roll chromium_revision ad2f344..7a4fb8d (370010:370025)
Change log: ad2f344..7a4fb8d
Full diff: ad2f344..7a4fb8d

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11293}
2016-01-18 19:05:34 +00:00
aff4b70db0 Simplify the implementation of LoggingTest.
This removes dependency on ConditionVariableWrapper and CriticalSectionWrapper which currently have a 'friend' relationship that I'd like to get rid of.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#11292}
2016-01-18 18:20:21 +00:00
f8c2baca4e Add a gyp/gn variable for whether to use iLBC or not
BUG=webrtc:5415

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

Cr-Commit-Position: refs/heads/master@{#11291}
2016-01-18 14:38:40 +00:00
f5a3a93d26 Add 5-argument wrapper WebRtcVideoFrame::InitToBlack
For some reason, inheriting it doesn't work.

BUG=webrtc:5426
R=perkj@webrtc.org

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

Cr-Commit-Position: refs/heads/master@{#11290}
2016-01-18 14:24:54 +00:00
d1420673e3 Roll chromium_revision 1c9621e..ad2f344 (369979:370010)
Change log: 1c9621e..ad2f344
Full diff: 1c9621e..ad2f344

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11289}
2016-01-18 14:03:32 +00:00
34ed2b95a5 [rtp_rtcp] rtcp::SenderReport moved into own file and got Parse function
BUG=webrtc:5260
R=åsapersson

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

Cr-Commit-Position: refs/heads/master@{#11288}
2016-01-18 10:43:38 +00:00
8b1e431231 Delete remnants of non-square pixel support from cricket::VideoFrame.
If ever needed, add some aspect ratio parameter, without pixel_width
and pixel_height arguments cluttering commonly used functions.

BUG=webrtc:5426

Committed: https://crrev.com/709513d4133107d5c02aed34a5ee99444c4d4e25
Cr-Commit-Position: refs/heads/master@{#11243}

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

Cr-Commit-Position: refs/heads/master@{#11287}
2016-01-18 09:46:33 +00:00
33c1dca48b Roll chromium_revision 89ca041..1c9621e (369966:369979)
Change log: 89ca041..1c9621e
Full diff: 89ca041..1c9621e

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11286}
2016-01-18 04:01:48 +00:00
9d2a3c51d9 Roll chromium_revision 4b805fe..89ca041 (369965:369966)
Change log: 4b805fe..89ca041
Full diff: 4b805fe..89ca041

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11285}
2016-01-17 20:00:42 +00:00
e110e5c09b Roll chromium_revision 6058a7b..4b805fe (369961:369965)
Change log: 6058a7b..4b805fe
Full diff: 6058a7b..4b805fe

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11284}
2016-01-17 12:03:25 +00:00
d7db862622 Roll chromium_revision 9e8fb7a..6058a7b (369957:369961)
Change log: 9e8fb7a..6058a7b
Full diff: 9e8fb7a..6058a7b

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11283}
2016-01-17 04:33:42 +00:00
c1cf0d3ba7 Roll chromium_revision 0a79aa1..9e8fb7a (369950:369957)
Change log: 0a79aa1..9e8fb7a
Full diff: 0a79aa1..9e8fb7a

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11282}
2016-01-16 21:21:41 +00:00
011df0acd2 Roll chromium_revision 553c2cb..0a79aa1 (369932:369950)
Change log: 553c2cb..0a79aa1
Full diff: 553c2cb..0a79aa1

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11281}
2016-01-16 12:02:43 +00:00
f624a22c86 Roll chromium_revision 46fd746..553c2cb (369797:369932)
Change log: 46fd746..553c2cb
Full diff: 46fd746..553c2cb

Changed dependencies:
* src/third_party/ffmpeg: a41fa51..d1e9c4b
DEPS diff: 46fd746..553c2cb/DEPS

No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11280}
2016-01-16 04:04:13 +00:00
cec0a08275 Add a new interface for creating a udp socket in which it binds the socket to a network if the network handle is set.
Plus, in stunport, turnport and allocation sequence, create a socket using the new interface.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#11279}
2016-01-15 22:49:15 +00:00
56271ed889 fix bug 5430
Fixed misusage of Connection function and also fixed the test case.

BUG=webrtc:5430

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

Cr-Commit-Position: refs/heads/master@{#11278}
2016-01-15 22:45:11 +00:00
f4decb5469 Add QP statistics logging to Android HW encoder.
- Similar to HW decoder log timing for first 5 frames
of HW encoder input and output to track correct encoder
start.
- Increment input timestamp when frame is dropped.
- Better calculate average encoding time.
- Use different tags for encoder and decoder modules.

BUG=b/26504665

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

Cr-Commit-Position: refs/heads/master@{#11277}
2016-01-15 21:49:26 +00:00
305ca25a67 Roll chromium_revision ff895e2..46fd746 (369726:369797)
Change log: ff895e2..46fd746
Full diff: ff895e2..46fd746

No dependencies changed.
No update to Clang.

TBR=

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

Cr-Commit-Position: refs/heads/master@{#11276}
2016-01-15 20:03:06 +00:00
884f58523a Storing raw audio sink for default audio track.
BUG=webrtc:5250

Committed: https://crrev.com/e591f9377f33f3f725a30faecd1bef1a71fa6b99
Cr-Commit-Position: refs/heads/master@{#11230}

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

Cr-Commit-Position: refs/heads/master@{#11275}
2016-01-15 17:20:08 +00:00