Commit Graph

9622 Commits

Author SHA1 Message Date
Wes Kocher
a65c1b1dfe Merge inbound to central, a=merge
MozReview-Commit-ID: BeGxZAeguBr
2017-01-24 16:08:16 -08:00
Benjamin Smedberg
4d15f5f134 Bug 1333110 - Remove dom/media/standalone, r=jesup
MozReview-Commit-ID: Iw3gIF1eQqB

--HG--
extra : rebase_source : 684710ccd50b01de74e6fa752796bd5d4c1f6f1b
extra : histedit_source : 359c13273384a11bf06321509894e87b49c3def1
2017-01-23 11:57:15 -05:00
Chris Pearce
04b9e257a7 Bug 1332951 - On Linux check whether Widevine CDM can be sandboxed before advertising we support it. r=jld
We already do this in GMPParent::ReadGMPInfoFile(), and I neglected to check
this in the Chromium/Widevine manifest parsing code. This means we won't add
the GMPParent to our list of GMPParents, and so
navigator.requestMediaKeySystemAccess won't advertise that we support Widevine.


MozReview-Commit-ID: 7x7pbO5vC5e

--HG--
extra : rebase_source : 6d220066d01921d67f0ccf917cb94da887ea01a8
2017-01-23 11:38:15 +13:00
Andreas Pehrson
fdce71cc43 Bug 1332619 - Fix missed duration when skipping a frame in VP8TrackEncoder. r=jesup
MozReview-Commit-ID: GpXUHfUj5v2

--HG--
extra : rebase_source : 45806ecd7788270a303108526b9f42b26e17d240
extra : intermediate-source : 9bad771524a5191fd6386c9405184aa5a1fa6e30
extra : source : 146fbe89eafb1b57e33bc1e1eb675512c971d532
2017-01-20 15:47:04 +01:00
Andreas Pehrson
15e55f2046 Bug 1332619 - Add gtest for skipped frames. r=jesup
MozReview-Commit-ID: G5BkNVayJOV

--HG--
extra : rebase_source : f9ff73a6f86e7d85f4ff8d78d8af87a4b1bc8e80
extra : intermediate-source : f9688b01d725caadb64486d299a6a38a421b560b
extra : source : f06f4ff1d49007e0d6a2506f87df3c365f3a2c5f
2017-01-23 15:32:24 +01:00
Ryan VanderMeulen
340794d0a9 Backed out 2 changesets (bug 1332619) by request.
Backed out changeset 08d0dccfb2c3 (bug 1332619)
Backed out changeset a406da1d258c (bug 1332619)

--HG--
extra : rebase_source : 0b6a5f2623967fe35eaa60941571feb3e91fecb5
2017-01-23 11:25:11 -05:00
Andreas Pehrson
a5241b52b4 Bug 1332619 - Fix missed duration when skipping a frame in VP8TrackEncoder. r=jesup
MozReview-Commit-ID: GpXUHfUj5v2

--HG--
extra : rebase_source : 1d5b57956e4968225bb6f66f343fce5cf8d89837
extra : source : 146fbe89eafb1b57e33bc1e1eb675512c971d532
2017-01-20 15:47:04 +01:00
Andreas Pehrson
762080ae3d Bug 1332619 - Add gtest for skipped frames. r=jesup
MozReview-Commit-ID: G5BkNVayJOV

--HG--
extra : rebase_source : c2aef01ea7b2c9e61576af3b13b1a10b794e253d
extra : source : f06f4ff1d49007e0d6a2506f87df3c365f3a2c5f
2017-01-23 15:32:24 +01:00
Carsten "Tomcat" Book
f040eda61d Merge mozilla-central to autoland 2017-01-23 11:42:26 +01:00
Paul Adenot
f012888dd8 Bug 1332905 - For mono or stereo in AudioStream.cpp until the rest of the code is multichannel-aware. r=achronop a=tomcat
MozReview-Commit-ID: 5eqBlPnHVk2
2017-01-23 11:36:58 +01:00
Carsten "Tomcat" Book
e12cc94275 merge mozilla-inbound to mozilla-central a=merge 2017-01-23 11:15:58 +01:00
JW Wang
dd7df728a7 Bug 1295923 - remove the workaround since bug 1329403 is fixed and 'onload' won't be fired prematurely before the media element finishes loading. r=gerald
MozReview-Commit-ID: beXOjulT1E

--HG--
extra : rebase_source : 3f4206fc271c528d86e677441fb7eb0d06ee65d5
2017-01-20 11:52:52 +08:00
JW Wang
e13e207c12 Bug 1332544 - replace use of mOwner with GetOwner() which provides more checks. r=gerald
MozReview-Commit-ID: DUTO4vR2kjU

--HG--
extra : rebase_source : 5edfabb169efdc0be938ed85d68d42f8694280d1
2017-01-20 11:47:53 +08:00
JW Wang
4fd7502e78 Bug 1331862. Part 3 - remove MDSM::DumpDebugInfo() and call RequestDebugInfo() instead. r=kaku
MozReview-Commit-ID: 4dEe6joFW01

--HG--
extra : rebase_source : 1e1b2ffb2403e1845402cd34cec111e2c5cc912c
extra : source : 984d34111fee30fce68660174afb8b68f515c6b9
2017-01-19 17:20:36 +08:00
JW Wang
4963f39de0 Bug 1331862. Part 2 - add functions to collect debugging info asynchronously. r=kaku
MozReview-Commit-ID: 4btaZqUqyLn

--HG--
extra : rebase_source : 80289bb88f7359062575e2b7f7da06e00f78cd51
extra : source : 7e011787cb911799f47b55aeba986bf05c30ed27
2017-01-19 14:18:41 +08:00
JW Wang
da6c0492b0 Bug 1331862. Part 1 - extract code to functions for reuse. r=kaku
MozReview-Commit-ID: 9QNTaBxGUFq

--HG--
extra : rebase_source : 98e95c60cbd66a5df4571644e4a6415f5bdbc371
extra : intermediate-source : 9dcd71ff0f89beda838f09865dfaa7f96983e430
extra : source : b0cf54f37556f520e45a001dcfa681e4a612a927
2017-01-18 17:55:59 +08:00
Andrew McCreight
556961ac46 Bug 1321871, part 2 - Remove PContent opens of PGMPService. r=peterv
--HG--
extra : rebase_source : 8db0331e7f1296f96f171cbd573ff40848967c49
2017-01-05 12:55:57 -08:00
Andrew McCreight
1951ea01ff Bug 1321871, part 1 - Replace use of opens and bridges in GMP protocols with endpoints. r=peterv
This removes the open of PGMPContent from PGMP, the bridge of
PGMPService and PGMP from PGMPContent, and the spawn of PGMP from
PGMPService. I did these changes all at once because the way the
bridges works it was hard to split it up.

--HG--
extra : rebase_source : d9311e3047b9855ad422838f5a8b6bfdc382d225
2017-01-05 12:55:27 -08:00
Gerald Squelart
9c41bb7d24 Bug 1333314 - MediaCodecs::operator==(ascii literal) - r=jya
Instead of `...Codecs().AsString().EqualsASCII("...")`, one can just type
`...Codecs() == "..."`.

MozReview-Commit-ID: JS0yXhs0mz1

--HG--
extra : rebase_source : 40947ca3975ae5390d5dae5add7ed35460235545
2017-01-24 15:42:48 +11:00
Chris Pearce
09aa660a9c Bug 1332954 - Correct spelling of HTMLMediaElement.error.message in test_decode_error.html. r=jwwang
MozReview-Commit-ID: 9DzLWTO8RP4

--HG--
extra : rebase_source : 9f85fb6d515c24d1377e376358ed0f113f4ef429
2017-01-23 11:07:27 +13:00
Phil Ringnalda
0fae2ed52a Backed out 2 changesets (bug 1332619) for frequent Win8 gtest failures in VP8VideoTrackEncoder.SkippedFrames
Backed out changeset 9ea8e4f2edae (bug 1332619)
Backed out changeset 123099d23df5 (bug 1332619)
2017-01-20 20:02:57 -08:00
Phil Ringnalda
72dfd3bd3f Merge m-c to m-i 2017-01-20 19:16:11 -08:00
Phil Ringnalda
68b37a46e8 Merge m-i to m-c, a=merge 2017-01-20 19:00:04 -08:00
Boris Zbarsky
03dbb8c08b Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:03 -05:00
Alex Chronopoulos
bad8dea079 Bug 1331869 - Initialize new field of cubeb_stream_params. r=kinetik,padenot
MozReview-Commit-ID: KZ08mckJX44

--HG--
extra : rebase_source : 6789db291ace421114055063efa37481cfc524ef
2017-01-20 16:54:00 +02:00
Andreas Pehrson
151590b2b2 Bug 1332619 - Fix missed duration when skipping a frame in VP8TrackEncoder. r=jesup
MozReview-Commit-ID: GpXUHfUj5v2

--HG--
extra : rebase_source : 07871e9be0a8f67fe986f6caf63c336f65eec1fe
extra : source : 146fbe89eafb1b57e33bc1e1eb675512c971d532
2017-01-20 15:47:04 +01:00
Andreas Pehrson
12bae8d7f9 Bug 1332619 - Add gtest for skipped frames. r=jesup
MozReview-Commit-ID: G5BkNVayJOV

--HG--
extra : rebase_source : 522a754f70bff7525c5f9e8fdc4343360783c356
extra : source : f06f4ff1d49007e0d6a2506f87df3c365f3a2c5f
2017-01-20 15:30:29 +01:00
Andreas Pehrson
c6a1810522 Bug 1332598 - Make per-frame logs in VP8TrackEncoder verbose. r=jesup
MozReview-Commit-ID: HzpUlWjnAEW

--HG--
extra : rebase_source : 1b261b4c160f65cc0262460f0654d635e1aae78c
extra : source : 3c7a9fca1a5703e3ca6349a5da625ec87c2755c5
2017-01-18 15:01:47 +01:00
Andreas Pehrson
94d46cd57d Bug 1332585 - Protect TrackEncoder members from races. r=jesup
mCanceled is one member which is protected only in a couple of places.

I hit a MOZ_CRASH without this in a gtest, but I'm not sure if we haven't seen
it in release by chance or by design.

MozReview-Commit-ID: 61KpjaBDyhB

--HG--
extra : rebase_source : 4ab032ee2963cd7e94d19b8428e6405ffa59332e
extra : source : 06b2f8307ad0c96197e75d2e147e660d8085afc7
2017-01-20 17:00:02 +01:00
Andreas Pehrson
2bca25c1da Bug 1332585 - Add gtest for starting a track with null frames. r=jesup
MozReview-Commit-ID: FxJUFNZ3TDn

--HG--
extra : rebase_source : caf2c39e07d8e1664e419ef83971f7b1a5eee73b
extra : source : 42db20a8898443376c0e0aeea62befa23eb52e93
2017-01-20 12:27:32 +01:00
Andreas Pehrson
c42cf251e0 Bug 1332585 - Add gtest for passing multiple instances of one frame to the vp8 encoder. r=jesup
MozReview-Commit-ID: ellNhSDWGh

--HG--
extra : rebase_source : e224edbec125e39e7175fffb3d8ff933fdf48a02
extra : source : e369214fb173e8325c352075dd10466a9f90b03f
2017-01-20 12:26:56 +01:00
Andreas Pehrson
9197ca6ccc Bug 1332585 - Check that encoder completed after EOS in existing test. r=jesup
MozReview-Commit-ID: FFLyGhggDyM

--HG--
extra : rebase_source : 0ef19f642b65dbfc502a116449de78c5fde67a9f
extra : source : 3b4820bc1fc83dba9f621cb0ba0bafe09c2f303f
2017-01-20 12:25:48 +01:00
Andreas Pehrson
192e6bf31b Bug 1332585 - Fix first frame duration being counted twice. r=jesup
MozReview-Commit-ID: HdHs1rpVUJK

--HG--
extra : rebase_source : eb44c91e3a80f0210d461adebe2c623799422bf9
extra : source : b4b284c0bce5f2eb6844eef78f1f7d445057b84b
2017-01-20 11:50:07 +01:00
Andreas Pehrson
50321cf606 Bug 1332585 - Add gtest for encoding a single frame. r=jesup
MozReview-Commit-ID: DAEG4hO34G6

--HG--
extra : rebase_source : 7655cd44597ea01e3702cfb6e30128570a555475
extra : source : d3480dc22e30c6a0aa28a9122b9289bf50703985
2017-01-20 12:24:36 +01:00
Andreas Pehrson
152163deeb Bug 1332585 - Make VP8TrackEncoderTest's buffer generator more explicit. r=jesup
MozReview-Commit-ID: DZbF6vRMug6

--HG--
extra : rebase_source : 508ed10df6594101d068b6363f1258d6b4d8692b
extra : source : 41debe52a3e32820eb33a18ad86e794a3efdc6c6
2017-01-20 11:48:59 +01:00
Andreas Pehrson
5f2b360d48 Bug 1332584 - Use time conversion utils from VideoUtils. r=jesup
MozReview-Commit-ID: 7AVeGp5akfx

--HG--
extra : rebase_source : 5c514995c65ffcc0d7b23298260a5ca322d9d356
extra : source : ea6b4f40dcbeaec6f81f26ec95483f844a37b2ca
2017-01-20 18:59:46 +01:00
Andreas Pehrson
9951d0cd88 Bug 1332584 - Append last frame on EOS in VideoTrackEncoder. r=jesup
MozReview-Commit-ID: LARhY0LAEtG

--HG--
extra : rebase_source : 9f08a9a7fab52f14a8f140711fb9355d8039cd79
extra : source : 72bcbe049bcbca33e613508f5a63e691c0110ee4
2017-01-20 18:29:26 +01:00
Sebastian Hengst
e21b4b941f Backed out changeset 9dee4f98503c (bug 851892) 2017-01-20 19:30:23 +01:00
Boris Zbarsky
1e1b760bf1 Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam 2017-01-13 10:41:03 -05:00
Paul Adenot
538bb4f04a Bug 1332354 - Allow enabling cubeb log by flipping a pref. r=kinetik
MozReview-Commit-ID: H0Tpax4ntFn

--HG--
extra : rebase_source : b03f5b80652fb348212b1c45f1e91c405055b553
2017-01-20 13:52:29 +01:00
Bevis Tseng
72d516ef01 Bug 1314833 - Part 2.2: Use AbstractThread::CreateDirectTaskDrainer() to Drain Direct Tasks Dispatched to MediaStreamGraph. f=rjesup,r=padenot,jwwang
MozReview-Commit-ID: 1KgE3uKu4CG

--HG--
extra : rebase_source : 2ad950afe84675fb9bc4c449e53e7c0d52270175
2016-12-07 22:00:12 -10:00
Bevis Tseng
f2bdbd8fd1 Bug 1314833 - Part 2.1: Factor out AbstractThread::MainThread() used in Media Playback. r=billm,jwwang
MozReview-Commit-ID: 9yJi3iDtVZG

--HG--
extra : rebase_source : 39c720ccc576ed9247b5e8abb70d99d7873b3ad6
2016-11-29 13:03:36 +08:00
Chris Pearce
fe31d4bd44 Bug 1332149 - Don't expose plugin-container or sandbox vouchers to GMPs. r=gerald
MozReview-Commit-ID: JZBoEptskf0

--HG--
extra : rebase_source : c2de46c71eced8fc9ad00f9fbb95f9dc9f5ee6ba
2017-01-19 14:57:30 +13:00
Bryce Van Dyk
12719cdacb Bug 1331271 - Drive by to fix styling in youtube puppeteer. r=maja_zf
MozReview-Commit-ID: 8lAxM2MLjjv

--HG--
extra : rebase_source : b8cda169b64e9f823cb8ade95e7a1aeb224fbcd4
2017-01-12 11:20:04 +13:00
Bryce Van Dyk
236e558e64 Bug 1331271 - Add twitch puppeteer and tests. r=maja_zf
Add a puppeteer to manipulate twitch streams, particularly live streams. This
puppeteer overrides and extends upon video puppeteer to do this, and in
particular must handle streams that do not have a set length.

Two tests have been added to test that playback starts, and that playback
doesn't stall during a minute of playback. These tests currently don't
differentiate between advertising context and normal stream content, as both are
taken to represent successful playback. However, there is functionality to
detect advertisement playback using the data-screen attribute on the player HTML
element. Aside from it providing data useful in future tests, the data-screen
element code provides an example of interaction with twitch specific HTML
attributes.

The tests currently use the /food twitch channel, which is run by twitch and has
a ~24 hour uptime. Twitch have indicated they are working on a dedicated test
stream which these tests may use in future.

MozReview-Commit-ID: 6dNIm6noEqc

--HG--
extra : rebase_source : 6f3923e11ef62933b0d1263f58c7357e3b677c6f
2017-01-12 12:00:21 +13:00
Andreas Pehrson
15b7f07b21 Bug 1330918 - Set timestamp in VP8TrackEncoder GTest. r=jesup
MozReview-Commit-ID: 4LeR1iUZBgs

--HG--
extra : rebase_source : 5ce54384a32f306eb4f52ba5771eb9dd0f3d94a1
2017-01-19 10:51:52 +01:00
Andreas Pehrson
a4b74c9907 Bug 1330918 - Add VideoTrackEncoder::AppendVideoSegment logs. r=jesup
MozReview-Commit-ID: FwG0EHuaxpW

--HG--
extra : rebase_source : 03d8df55b25a401c9bc7027eced1bf2f73898205
2017-01-18 19:28:32 +01:00
Andreas Pehrson
6a29cdbd49 Bug 1330918 - Use timestamps for frames in VideoTrackEncoder. r=bechen,jesup
This makes VideoTrackEncoder use timestamps when it passes frames to
VP8TrackEncoder. It also rewrites the chunks' durations and bases them on said
timestamps. This should mean that VP8TrackEncoder can continue passing durations
to the encoder as it does today.

MozReview-Commit-ID: GaUsF5PR4ZN

--HG--
extra : rebase_source : 4206afe24fce0d9c0aa7137ea04d8a28f30191d7
2017-01-19 15:14:02 +01:00
Carsten "Tomcat" Book
2484432a93 Merge mozilla-central to autoland 2017-01-19 17:00:25 +01:00
Carsten "Tomcat" Book
709bd29d0a merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00