Commit Graph

9604 Commits

Author SHA1 Message Date
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
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
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
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
Alastor Wu
45be72443e bug 1304994 - resubmit input data when MFT returns MF_E_NOTACCEPTING. r=jya
When MFT returns MF_E_NOTACCEPTING means the input buffer is full and it can't
accept input data anymore, so we need to output the data first and then resummit
the input data.

MozReview-Commit-ID: DfSTASsEX7r

--HG--
extra : rebase_source : fd3cff6284345872dd580fbd0568d99129af936c
2017-01-11 11:10:10 +08:00
Matt Woodrow
e5e3cecf98 Bug 1329386 - Fix bustage 2017-01-19 12:52:49 +13:00
Matt Woodrow
cb44a7993f Bug 1316652 - Silence unnecessary warning in MediaDecoder. r=jya
--HG--
extra : rebase_source : 39e4dbefc436fd8b82a8cd5f2231d5b83b4688cd
2017-01-19 12:40:06 +13:00
Matt Woodrow
2f00b8ce05 Bug 1329386 - Fallback to WMF decoding if the OOP decoder fails. r=jya
--HG--
extra : rebase_source : 126e76c97538c429660f6e34a718c8dd57fb4a41
2017-01-19 12:35:44 +13:00
Wes Kocher
95949a3432 Merge m-c to inbound, a=merge
MozReview-Commit-ID: EMipuOLERUq
2017-01-18 15:39:49 -08:00
Wes Kocher
54c460dbd6 Merge inbound to m-c a=merge
MozReview-Commit-ID: 3cGydlfeaPN
2017-01-18 14:17:10 -08:00
David Parks
033c45c4ef Bug 1306239 - Add pref to toggle OS X sandbox violation debugging, default on. r=haik
Turns on sandbox denial logging if security.sandbox.logging.enabled is true.

Removes most sandbox violation messages but some related messages generated
by other processes will still get through.

--HG--
extra : rebase_source : 4f06e70d53b0f500cc85a869c5bd7f8ea20d8341
2017-01-17 15:47:13 -08:00
Ryan VanderMeulen
3aad788019 Merge m-c to inbound. a=merge 2017-01-18 09:54:06 -05:00
Paul Kerr [:pkerr]
c63cea9af7 Bug 1328142 - enable switching between simulcast receive streams r=jesup 2017-01-05 18:15:56 -08:00
Munro Mengjue Chiang
f0be461749 Bug 1270572 - allow un-prompted gUM access if the page has a live track connected to the same device; r=florian,gcp,smaug
MozReview-Commit-ID: EvATqR4NNTH

--HG--
extra : rebase_source : cf3b08d7f47e8239bdb6ed27a2eaacb491200d48
2017-01-19 12:24:59 +08:00
Gerald Squelart
f17dd305d6 Bug 1331289 - Use MediaContainerType in MediaResource, SourceBuffer, TrackBuffersManager, and dependencies - r=jya
Continuing the work of replacing MIME strings with MediaContainerType, starting
from MediaResource and following the dependencies.

Most changes are mechanical: Just change ns*String into MediaContainerType, and
MIME string literals into MEDIAMIMETYPE("a/b").
Some checks for empty/invalid strings and lowercase comparisons can go, thanks
to the always-valid always-lowercase-MIME invariants of MediaContainerType.

One special case in is MediaSourceResource, which used to have an empty string
as its type (because its own type is not relevant, but its SourceBuffers carry
types). Because the inherited GetContentType *must* be overridden, and must
return a MediaContainerType, we needed a valid type even though it should not
be seen in the real world. I've chosen "application/x.mediasource" for that.

MozReview-Commit-ID: 1aCH75Kh2e6

--HG--
extra : rebase_source : 0d9cd9b69c264e5dcfc3845f80ee107f4bcbcd9a
2016-12-28 18:59:02 +11:00
Gerald Squelart
5745998021 Bug 1331770 - Rename 'MediaContentType' to 'MediaContainerType' - r=jya
MozReview-Commit-ID: F0BWai8vPyo

--HG--
rename : dom/media/MediaContentType.cpp => dom/media/MediaContainerType.cpp
rename : dom/media/MediaContentType.h => dom/media/MediaContainerType.h
extra : rebase_source : 640ada96750b4496055087e80ae3f600c9df31c9
2017-01-18 11:59:03 +11:00
JW Wang
3cb12fa50d Bug 1331554. Part 2 - remove the call to ScheduleUpdate(). r=jya
ScheduleUpdate() will be called when we have new decoding requests.

MozReview-Commit-ID: FkOc4zQmfSo

--HG--
extra : rebase_source : c36133d7fd1a64daabfd6d5fba445ad42b1a47cf
extra : intermediate-source : a610694bfb7a7d58c7633913d4ac1ce33f46bcd2
extra : source : 36f4a436f1750087f848e4cb68104015ef0284f6
2017-01-16 15:21:45 +08:00
JW Wang
747461d835 Bug 1331554. Part 1 - print logs only when decoder.mIsBlankDecode is going to change. r=jya
MozReview-Commit-ID: 9vExcUapFOb

--HG--
extra : rebase_source : 9d10701d7d7dd973272f24c3ef02d2825c7448b8
extra : intermediate-source : ec68e23b75cc3e4ffcc1304a8f74b8b7348bd8f6
extra : source : 2b4b139920482a0d5dcfbbfa461cc093d32a3ae1
2017-01-16 15:20:10 +08:00
Andreas Pehrson
37b069d344 Bug 1328142 - Restore test_pc_simulcastOffer.html. r=pkerr
MozReview-Commit-ID: 7ooBiDFXgPv
2017-01-03 16:34:09 +01:00
Chris Pearce
22f4a343b5 Bug 1329543 - Remove obsolete GMPDecryptor7 interface that was only used by Primetime. r=gerald
This basically rolls back aec9905b06fe from bug 1278198.

MozReview-Commit-ID: Drho21X6npW

--HG--
extra : rebase_source : 372bc7f4771ec0268535e3df2a745bc9fae8bd3b
2017-01-16 15:12:15 +13:00
Chris Pearce
c7fa60e1fa Bug 1329543 - Amend comment in EMEDecoderModule to not mention Adobe. r=gerald
MozReview-Commit-ID: IB5aSWwjF8I

--HG--
extra : rebase_source : 8fe87d0064c0bf3d9651f78d86d9da760bf278af
2017-01-14 16:57:26 +08:00
Chris Pearce
af0e6c4ab5 Bug 1329543 - Remove PGMPAudioDecoder. r=gerald
MozReview-Commit-ID: nwW4s4MtJX

--HG--
extra : rebase_source : 95079ac628f301f8ceb8b5540c7ea95a15deb931
2017-01-14 16:14:32 +08:00