17680 Commits

Author SHA1 Message Date
buildbot
c3586c7e46 Roll chromium_revision 52148d9dec..9171a2ab96 (476974:476991)
Change log: 52148d9dec..9171a2ab96
Full diff: 52148d9dec..9171a2ab96

Changed dependencies:
* src/base: 1388609df6..beb8ac7103
* src/third_party: 4070c01b9d..f5766b7b46
* src/tools: bb19fceac2..32e45c1dac
DEPS diff: 52148d9dec..9171a2ab96/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2925563002
Cr-Commit-Position: refs/heads/master@{#18448}
2017-06-05 16:12:30 +00:00
terelius
1c187dcd80 Replace RingBuffer by std::deque in RtcEventLog.
BUG=webrtc:7732

Review-Url: https://codereview.webrtc.org/2875823003
Cr-Commit-Position: refs/heads/master@{#18447}
2017-06-05 15:55:40 +00:00
brandtr
92732ecc5c Revert of Only compare sequence numbers from the same SSRC in ForwardErrorCorrection. (patchset #5 id:120001 of https://codereview.webrtc.org/2893293003/ )
Reason for revert:
Breaks fuzzer.

Original issue's description:
> Only compare sequence numbers from the same SSRC in ForwardErrorCorrection.
>
> Prior to this CL, the ForwardErrorCorrection state would be reset whenever
> the difference in sequence numbers of the last recovered media packet
> and the new packet (media or FEC) was too large. This comparison did not
> take into account that FlexFEC uses a different SSRC for the FEC packets,
> meaning that the the state would be reset very frequently when FlexFEC
> is used. This should not have led to any major problems, except for a
> decreased decoding efficiency.
>
> This CL verifies that whenever we compare sequence numbers in
> ForwardErrorCorrection, they do indeed belong to the same SSRC.
>
> BUG=webrtc:5654
>
> Review-Url: https://codereview.webrtc.org/2893293003
> Cr-Commit-Position: refs/heads/master@{#18399}
> Committed: 1476a9d789

TBR=stefan@webrtc.org,holmer@google.com
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2919313005
Cr-Commit-Position: refs/heads/master@{#18446}
2017-06-05 14:25:01 +00:00
buildbot
a6dfd173aa Roll chromium_revision 60116edfec..52148d9dec (476963:476974)
Change log: 60116edfec..52148d9dec
Full diff: 60116edfec..52148d9dec

Changed dependencies:
* src/third_party: 84f00656e0..4070c01b9d
* src/third_party/catapult: 6866edfb97..ccb57adfd1
DEPS diff: 60116edfec..52148d9dec/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2924553002
Cr-Commit-Position: refs/heads/master@{#18445}
2017-06-05 13:39:57 +00:00
gnish
6dcdf10c76 This is an initial cl, which contains small amount of implemented functions, and large amount of unimplemented ones.
Code should implement BBR which is the congestion controlling algorithm. BBR tries to estimate two values bottle-neck bandwidth(bw) and round trip time(rtt),then use these two values to set two control parameters pacing rate(pacing_rate),the rate at which data should be sent and congestion window size (cwnd), cwnd is the upper bound for data in flight,data_in_flight <= cwnd at all time.
BBR has four modes:
1)Startup-ramping up throughput discovering estimated bw.
2)Drain-after Startup decrease throughput to drain queues.
3)Probe Bandwidth-most of the time BBR should be in this mode,
sending data at the rate of estimated bw, while sometimes trying to discover new bandwidth.
4)Probe Rtt-in this mode BBR tries to discover new rtt for the connection.

The key moment in BBR is when we receive feedback from the receiver,as this is the only moment which should effect our two estimators. At this moment all the switches between modes should happen, except switch to ProbeRtt mode (switching to ProbeRtt mode should happen when current min_rtt value expires).

This cl serves to emphasize the structure of Bbr, when switches happen and what key classes/functions should be implemented for proper functionality.

BUG=webrtc:7713
NOTRY=True

Review-Url: https://codereview.webrtc.org/2904183002
Cr-Commit-Position: refs/heads/master@{#18444}
2017-06-05 13:01:26 +00:00
denicija
59ee91b68a Move RTCAudioSession* files modules/audio_device/ -> sdk/Framework.
BUG=NONE

Review-Url: https://codereview.webrtc.org/2855023003
Cr-Commit-Position: refs/heads/master@{#18443}
2017-06-05 12:48:47 +00:00
buildbot
90d9e10330 Roll chromium_revision a443085799..60116edfec (476956:476963)
Change log: a443085799..60116edfec
Full diff: a443085799..60116edfec

Changed dependencies:
* src/third_party: b61cada430..84f00656e0
DEPS diff: a443085799..60116edfec/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2920213002
Cr-Commit-Position: refs/heads/master@{#18442}
2017-06-05 10:14:48 +00:00
Sami Kalliomäki
e2410e9ab4 Interfaces for injectable video codecs.
These interfaces will be used by the future refactoring that will
allow clients to provide custom codec implementations.

Change-Id: If199bc2807e1c27094c05983c62fa43d2eec5700
Bug: webrtc:7760
Reviewed-on: https://chromium-review.googlesource.com/522065
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Bjorn Mellem <mellem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18441}
2017-06-05 07:49:47 +00:00
buildbot
5aa31e94f5 Roll chromium_revision c3e34b2e51..a443085799 (476936:476956)
Change log: c3e34b2e51..a443085799
Full diff: c3e34b2e51..a443085799

Changed dependencies:
* src/third_party: e0be345a50..b61cada430
DEPS diff: c3e34b2e51..a443085799/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2920193002
Cr-Commit-Position: refs/heads/master@{#18440}
2017-06-05 07:49:11 +00:00
asapersson
68b91d766f Small updates to test::Stats.
BUG=webrtc:6634

Review-Url: https://codereview.webrtc.org/2916883002
Cr-Commit-Position: refs/heads/master@{#18439}
2017-06-05 06:43:41 +00:00
buildbot
520b68e422 Roll chromium_revision 9fb852ff15..c3e34b2e51 (476917:476936)
Change log: 9fb852ff15..c3e34b2e51
Full diff: 9fb852ff15..c3e34b2e51

Changed dependencies:
* src/build: f6841a17e2..31e28f7d87
* src/ios: 16d4f88405..2388835fd0
* src/testing: a0b84c9d55..e922fbd25c
* src/third_party: bdc35df774..e0be345a50
* src/third_party/catapult: 64ea479454..6866edfb97
* src/tools: a8af645ed2..bb19fceac2
DEPS diff: 9fb852ff15..c3e34b2e51/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2917333002
Cr-Commit-Position: refs/heads/master@{#18438}
2017-06-05 04:13:22 +00:00
buildbot
fac4c2ca50 Roll chromium_revision 5f488b3727..9fb852ff15 (476914:476917)
Change log: 5f488b3727..9fb852ff15
Full diff: 5f488b3727..9fb852ff15

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2922103002
Cr-Commit-Position: refs/heads/master@{#18437}
2017-06-05 01:10:53 +00:00
buildbot
9365007502 Roll chromium_revision 1dd4910a63..5f488b3727 (476912:476914)
Change log: 1dd4910a63..5f488b3727
Full diff: 1dd4910a63..5f488b3727

Changed dependencies:
* src/third_party: 9ae2739d07..bdc35df774
* src/tools: 85539e6b08..a8af645ed2
DEPS diff: 1dd4910a63..5f488b3727/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2925493002
Cr-Commit-Position: refs/heads/master@{#18436}
2017-06-04 22:11:41 +00:00
buildbot
9f6e13c465 Roll chromium_revision 5a1bfce474..1dd4910a63 (476910:476912)
Change log: 5a1bfce474..1dd4910a63
Full diff: 5a1bfce474..1dd4910a63

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2920143002
Cr-Commit-Position: refs/heads/master@{#18435}
2017-06-04 19:10:35 +00:00
buildbot
3eb42713a1 Roll chromium_revision ff49839843..5a1bfce474 (476908:476910)
Change log: ff49839843..5a1bfce474
Full diff: ff49839843..5a1bfce474

Changed dependencies:
* src/third_party: 61ff58a8f8..9ae2739d07
DEPS diff: ff49839843..5a1bfce474/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2924493002
Cr-Commit-Position: refs/heads/master@{#18434}
2017-06-04 16:10:33 +00:00
buildbot
5f11577e09 Roll chromium_revision 642e17c22f..ff49839843 (476907:476908)
Change log: 642e17c22f..ff49839843
Full diff: 642e17c22f..ff49839843

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2922083002
Cr-Commit-Position: refs/heads/master@{#18433}
2017-06-04 10:14:01 +00:00
buildbot
b723e4c34f Roll chromium_revision 66cbc51065..642e17c22f (476905:476907)
Change log: 66cbc51065..642e17c22f
Full diff: 66cbc51065..642e17c22f

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2917273002
Cr-Commit-Position: refs/heads/master@{#18432}
2017-06-04 07:09:24 +00:00
buildbot
50165233d8 Roll chromium_revision bb6532a981..66cbc51065 (476902:476905)
Change log: bb6532a981..66cbc51065
Full diff: bb6532a981..66cbc51065

Changed dependencies:
* src/testing: ccf0efafb1..a0b84c9d55
DEPS diff: bb6532a981..66cbc51065/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2922853002
Cr-Commit-Position: refs/heads/master@{#18431}
2017-06-04 01:10:24 +00:00
buildbot
b69eef69be Roll chromium_revision 30fe63c7bb..bb6532a981 (476897:476902)
Change log: 30fe63c7bb..bb6532a981
Full diff: 30fe63c7bb..bb6532a981

Changed dependencies:
* src/ios: db772d5c5b..16d4f88405
* src/tools: be27a481f6..85539e6b08
DEPS diff: 30fe63c7bb..bb6532a981/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2922073002
Cr-Commit-Position: refs/heads/master@{#18430}
2017-06-03 19:11:59 +00:00
buildbot
3d82fe7dd0 Roll chromium_revision ebc5387c16..30fe63c7bb (476896:476897)
Change log: ebc5387c16..30fe63c7bb
Full diff: ebc5387c16..30fe63c7bb

No dependencies changed.
No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2922843002
Cr-Commit-Position: refs/heads/master@{#18429}
2017-06-03 13:21:37 +00:00
buildbot
0494cde8cd Roll chromium_revision 2eff7cfefd..ebc5387c16 (476894:476896)
Change log: 2eff7cfefd..ebc5387c16
Full diff: 2eff7cfefd..ebc5387c16

Changed dependencies:
* src/build: 0ec868b14e..f6841a17e2
DEPS diff: 2eff7cfefd..ebc5387c16/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2922043002
Cr-Commit-Position: refs/heads/master@{#18428}
2017-06-03 10:18:24 +00:00
buildbot
cf29dd2b30 Roll chromium_revision 7486e37f46..2eff7cfefd (476883:476894)
Change log: 7486e37f46..2eff7cfefd
Full diff: 7486e37f46..2eff7cfefd

Changed dependencies:
* src/build: d1e77ff341..0ec868b14e
* src/third_party: cc195164ce..61ff58a8f8
* src/third_party/catapult: b0384fe60f..64ea479454
* src/tools: f6d4185461..be27a481f6
DEPS diff: 7486e37f46..2eff7cfefd/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2917243002
Cr-Commit-Position: refs/heads/master@{#18427}
2017-06-03 07:16:23 +00:00
buildbot
b2c630b3ad Roll chromium_revision 0b479f2338..7486e37f46 (476845:476883)
Change log: 0b479f2338..7486e37f46
Full diff: 0b479f2338..7486e37f46

Changed dependencies:
* src/ios: 8aa20181fd..db772d5c5b
* src/testing: ec187a22f3..ccf0efafb1
* src/third_party: 5e6ed00a72..cc195164ce
* src/tools: f694a2d398..f6d4185461
DEPS diff: 0b479f2338..7486e37f46/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2925433002
Cr-Commit-Position: refs/heads/master@{#18426}
2017-06-03 04:22:46 +00:00
glaznev
6fac429d81 Use correct bitrate adjustment for Exynos VP9 HW encoder.
BUG=b/62302810

Review-Url: https://codereview.webrtc.org/2922693003
Cr-Commit-Position: refs/heads/master@{#18425}
2017-06-03 03:18:54 +00:00
buildbot
ab10a25a83 Roll chromium_revision 5867068aa6..0b479f2338 (476811:476845)
Change log: 5867068aa6..0b479f2338
Full diff: 5867068aa6..0b479f2338

Changed dependencies:
* src/base: a509beeb02..1388609df6
* src/build: 6efe072bc4..d1e77ff341
* src/ios: e970b15475..8aa20181fd
* src/third_party: 42331f2177..5e6ed00a72
DEPS diff: 5867068aa6..0b479f2338/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2915393003
Cr-Commit-Position: refs/heads/master@{#18424}
2017-06-03 01:31:48 +00:00
alexlau
84ee5c64d3 Force keyframe for Qualcomm HW VP8 Encoder on Android L as well, reduce forced keyframe interval on Android M.
Color distortion also happens on Android L. Tested on the Mi 4.

BUG=webrtc:7681

Review-Url: https://codereview.webrtc.org/2894643003
Cr-Commit-Position: refs/heads/master@{#18423}
2017-06-03 00:36:32 +00:00
buildbot
e907741a21 Roll chromium_revision ba0a42d0d3..5867068aa6 (476741:476811)
Change log: ba0a42d0d3..5867068aa6
Full diff: ba0a42d0d3..5867068aa6

Changed dependencies:
* src/base: b115016846..a509beeb02
* src/ios: f18b3252dc..e970b15475
* src/testing: 2c040acbfe..ec187a22f3
* src/third_party: 5c6b10f128..42331f2177
* src/third_party/catapult: 4cafad75c8..b0384fe60f
* src/third_party/icu: ae18d60831..dfa798fe69
* src/third_party/libyuv: 8edd2286fd..7bffe5e1c5
* src/tools: 52da451704..f694a2d398
DEPS diff: ba0a42d0d3..5867068aa6/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2919963005
Cr-Commit-Position: refs/heads/master@{#18422}
2017-06-02 22:33:43 +00:00
zstein
4b9798024f Relanding: Adds PeerConnectionInterface::UpdateCallBitrate to give clients more control of the bandwidth estimator. PeerConnection implements this method by passing a BitrateConfigMask to its associated Call, which is combined with the existing BitrateConfig and passed on to the SendSideCongestionController as necessary. The existing BitrateConfig generally comes from the x-google-{min,start,max}-bitrate params in the SDP.
BUG=webrtc:7395

Review-Url: https://codereview.webrtc.org/2888303005
Cr-Original-Commit-Position: refs/heads/master@{#18417}
Committed: 9641c13327
Review-Url: https://codereview.webrtc.org/2888303005
Cr-Commit-Position: refs/heads/master@{#18421}
2017-06-02 21:37:37 +00:00
charujain
441718ef69 Revert of Add PeerConnectionInterface::UpdateCallBitrate. (patchset #7 id:120001 of https://codereview.webrtc.org/2888303005/ )
Reason for revert:
Broken downstream project.

Original issue's description:
> Adds PeerConnectionInterface::UpdateCallBitrate to give clients more control of the bandwidth estimator. PeerConnection implements this method by passing a BitrateConfigMask to its associated Call, which is combined with the existing BitrateConfig and passed on to the SendSideCongestionController as necessary. The existing BitrateConfig generally comes from the x-google-{min,start,max}-bitrate params in the SDP.
>
> BUG=webrtc:7395
>
> Review-Url: https://codereview.webrtc.org/2888303005
> Cr-Commit-Position: refs/heads/master@{#18417}
> Committed: 9641c13327

TBR=deadbeef@webrtc.org,stefan@webrtc.org,kwiberg@webrtc.org,solenberg@webrtc.org,holmer@google.com,zstein@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7395

Review-Url: https://codereview.webrtc.org/2914413002
Cr-Commit-Position: refs/heads/master@{#18420}
2017-06-02 19:31:24 +00:00
buildbot
49d2f30e0d Roll chromium_revision 756477827b..ba0a42d0d3 (476675:476741)
Change log: 756477827b..ba0a42d0d3
Full diff: 756477827b..ba0a42d0d3

Changed dependencies:
* src/build: c186e97975..6efe072bc4
* src/ios: baf1d75932..f18b3252dc
* src/testing: 67f89d7690..2c040acbfe
* src/third_party: 8d575c29cc..5c6b10f128
* src/third_party/catapult: 5409eb23af..4cafad75c8
* src/tools: 4cad8879da..52da451704
DEPS diff: 756477827b..ba0a42d0d3/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2914233004
Cr-Commit-Position: refs/heads/master@{#18419}
2017-06-02 19:25:20 +00:00
deadbeef
e5dce2b6b9 Replacing unnecessary conditional with DCHECK in OpenSSLAdapter
Follow-up from https://codereview.webrtc.org/2915243002/

BUG=None
TBR=pthatcher@webrtc.org

Review-Url: https://codereview.webrtc.org/2917933003
Cr-Commit-Position: refs/heads/master@{#18418}
2017-06-02 18:52:06 +00:00
zstein
9641c13327 Adds PeerConnectionInterface::UpdateCallBitrate to give clients more control of the bandwidth estimator. PeerConnection implements this method by passing a BitrateConfigMask to its associated Call, which is combined with the existing BitrateConfig and passed on to the SendSideCongestionController as necessary. The existing BitrateConfig generally comes from the x-google-{min,start,max}-bitrate params in the SDP.
BUG=webrtc:7395

Review-Url: https://codereview.webrtc.org/2888303005
Cr-Commit-Position: refs/heads/master@{#18417}
2017-06-02 18:18:06 +00:00
deadbeef
ed3b986d63 Fixing SSL error that occurs when underlying socket is blocked.
BoringSSL (or OpenSSL) require that when SSL_write fails due to the
underlying socket being blocked, it's retried with the same parameters
until it succeeds. But we weren't doing this, and our socket
abstraction doesn't have an equivalent requirement. So when this was
occurring, we would just end up trying to send the next RTP or STUN
packet (instead of the packet that couldn't be sent), and BoringSSL
doesn't like that.

So, when this condition occurs now, we'll simply enter a "pending write"
mode and buffer the data that couldn't be completely sent. When the
underlying socket becomes writable again, or if Send is called again
before that happens, we retry sending the buffered data. Making both
BoringSSL and the upper layer of code that expects normal TCP socket
behavior happy.

Also adding some more logging, and fixing an issue with VirtualSocketServer
that made it behave slightly differently than PhysicalSocketServer when a
TCP packet is only partially read.

BUG=webrtc:7753

Review-Url: https://codereview.webrtc.org/2915243002
Cr-Commit-Position: refs/heads/master@{#18416}
2017-06-02 17:33:16 +00:00
buildbot
25fd62bcc0 Roll chromium_revision e83e1b29bc..756477827b (476623:476675)
Change log: e83e1b29bc..756477827b
Full diff: e83e1b29bc..756477827b

Changed dependencies:
* src/ios: dbf1573758..baf1d75932
* src/testing: 431cc90bd7..67f89d7690
* src/third_party: 5a28709c2f..8d575c29cc
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/68f84f5c40..cd334a54ca
* src/third_party/catapult: b33525e991..5409eb23af
* src/tools: 2287f29fdf..4cad8879da
DEPS diff: e83e1b29bc..756477827b/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2920993003
Cr-Commit-Position: refs/heads/master@{#18415}
2017-06-02 16:09:25 +00:00
ilnik
ed9b9ff597 Revert of Protect new header extension by field trial experiment to allow hardcoding it in SDP (patchset #3 id:40001 of https://codereview.webrtc.org/2922683002/ )
Reason for revert:
Breaks tests in downstream projects.

Original issue's description:
> Protect new header extension by field trial experiment to allow hardcoding it in SDP
>
> BUG=chrome:718738
>
> Review-Url: https://codereview.webrtc.org/2922683002
> Cr-Commit-Position: refs/heads/master@{#18409}
> Committed: cafa1d6bbe

TBR=sprang@webrtc.org,asapersson@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chrome:718738

Review-Url: https://codereview.webrtc.org/2922723002
Cr-Commit-Position: refs/heads/master@{#18414}
2017-06-02 14:30:20 +00:00
sprang
dc2018b87f Disable PeerConnectionTest.testTrackRemovalAndAddition due to flakiness
BUG=webrtc:7761

Review-Url: https://codereview.webrtc.org/2922703002
Cr-Commit-Position: refs/heads/master@{#18413}
2017-06-02 14:29:10 +00:00
denicija
0d4d57f26d Add RTCFileVideoCapturer class.
- Reads and dispatches buffers from a video file, along the lines of
camera capturer.
 - Initial purpose of this class will be for testing.

BUG=webrtc:7581

Review-Url: https://codereview.webrtc.org/2887673002
Cr-Commit-Position: refs/heads/master@{#18412}
2017-06-02 14:15:14 +00:00
stefan
f79ade1320 Revert "Revert of Wire up BWE stats through WebrtcSession so that they are filled in both for audio and video calls. (patchset #8 id:140001 of https://codereview.webrtc.org/2863123002/ )"
This reverts commit d72098a41971833e210bfdcffaab7a18ced4775f.

BUG=webrtc:5079

Review-Url: https://codereview.webrtc.org/2915263002
Cr-Commit-Position: refs/heads/master@{#18411}
2017-06-02 13:44:03 +00:00
buildbot
2047db5f0d Roll chromium_revision 017ba8c602..e83e1b29bc (476612:476623)
Change log: 017ba8c602..e83e1b29bc
Full diff: 017ba8c602..e83e1b29bc

Changed dependencies:
* src/base: 051b450650..b115016846
* src/ios: ef31c7e7b8..dbf1573758
* src/third_party: 942655f0d5..5a28709c2f
DEPS diff: 017ba8c602..e83e1b29bc/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2918923004
Cr-Commit-Position: refs/heads/master@{#18410}
2017-06-02 13:15:29 +00:00
ilnik
cafa1d6bbe Protect new header extension by field trial experiment to allow hardcoding it in SDP
BUG=chrome:718738

Review-Url: https://codereview.webrtc.org/2922683002
Cr-Commit-Position: refs/heads/master@{#18409}
2017-06-02 12:49:39 +00:00
Sami Kalliomäki
58c742ce7d Call VideoCapturer.initialize directly from Java.
Passing the call through JNI is unnecessary.

Bug: webrtc:7730
Change-Id: Icf1ecd7e2ea54033342120311c70d47b4a4f7c9a
Reviewed-on: https://chromium-review.googlesource.com/521050
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18408}
2017-06-02 11:27:36 +00:00
kwiberg
dbb497af84 SafeMin/SafeMax: Fix wrong return type when given two enum arguments
And add tests that catch it.

BUG=webrtc:7459

Review-Url: https://codereview.webrtc.org/2916083003
Cr-Commit-Position: refs/heads/master@{#18407}
2017-06-02 11:24:11 +00:00
buildbot
2ff5b8347a Roll chromium_revision 0538140988..017ba8c602 (476593:476612)
Change log: 0538140988..017ba8c602
Full diff: 0538140988..017ba8c602

Changed dependencies:
* src/base: fc762f58ff..051b450650
* src/ios: 0e24ce236e..ef31c7e7b8
* src/third_party: c4a5b7d9a3..942655f0d5
DEPS diff: 0538140988..017ba8c602/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2919013002
Cr-Commit-Position: refs/heads/master@{#18406}
2017-06-02 10:51:47 +00:00
eladalon
4a3c9f60a3 Prevent memory corruption by StreamId::Set
Use RTC_CHECK to crash if attempting to set an RSID whose name's length exceeds the maximum.

BUG=None

Review-Url: https://codereview.webrtc.org/2915913003
Cr-Commit-Position: refs/heads/master@{#18405}
2017-06-02 10:37:48 +00:00
magjed
5522021b45 Android: Add VideoFrame class
This new VideoFrame class closesly matches the C++ webrtc::VideoFrame
and webrtc::VideoFrameBuffer classes. It's supposed to replace the
existing VideoRenderer.I420Frame. The purpose is to clean up the code
and support more frame formats.

BUG=webrtc:7749

Review-Url: https://codereview.webrtc.org/2915083002
Cr-Commit-Position: refs/heads/master@{#18404}
2017-06-02 09:45:56 +00:00
jansson
9b93203c8f Change all numerical string inputs to int and remove unused stderr
BUG=webrtc:7757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2921463005
Cr-Commit-Position: refs/heads/master@{#18403}
2017-06-02 09:16:27 +00:00
Danil Chapovalov
07633bdc6c Rename rtp_header_extension.h to rtp_header_extension_map.h
Move it to include path of the rtp_rtcp module to indicate it is ok to include it outside of the module.

Renamed to match the class it introduce and to reduce confusion with rtp_header_extensions.h

Bug: webrtc:5565
Change-Id: Ic4b4e9f6b75cb9275e23539cd6e88632c1e7c8d2
Reviewed-on: https://chromium-review.googlesource.com/520947
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18402}
2017-06-02 09:11:27 +00:00
buildbot
963e33202c Roll chromium_revision 54d7eb0b3a..0538140988 (476554:476593)
Change log: 54d7eb0b3a..0538140988
Full diff: 54d7eb0b3a..0538140988

Changed dependencies:
* src/build: a055d2ec5f..c186e97975
* src/buildtools: 104574186c..31d4daad5d
* src/third_party: ecef6c9bc5..c4a5b7d9a3
* src/tools: ba34410c29..2287f29fdf
DEPS diff: 54d7eb0b3a..0538140988/DEPS

No update to Clang.

TBR=
BUG=None

Review-Url: https://codereview.webrtc.org/2918973002
Cr-Commit-Position: refs/heads/master@{#18401}
2017-06-02 09:04:49 +00:00
terelius
2c8e8a306a Overlay REMB in total bitrate graphs in visualization tool.
This doesn't affect the production code.

BUG=webrtc:7726

Review-Url: https://codereview.webrtc.org/2912813002
Cr-Commit-Position: refs/heads/master@{#18400}
2017-06-02 08:29:48 +00:00
brandtr
1476a9d789 Only compare sequence numbers from the same SSRC in ForwardErrorCorrection.
Prior to this CL, the ForwardErrorCorrection state would be reset whenever
the difference in sequence numbers of the last recovered media packet
and the new packet (media or FEC) was too large. This comparison did not
take into account that FlexFEC uses a different SSRC for the FEC packets,
meaning that the the state would be reset very frequently when FlexFEC
is used. This should not have led to any major problems, except for a
decreased decoding efficiency.

This CL verifies that whenever we compare sequence numbers in
ForwardErrorCorrection, they do indeed belong to the same SSRC.

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2893293003
Cr-Commit-Position: refs/heads/master@{#18399}
2017-06-02 07:58:11 +00:00