Eric Rahm
2f5a215771
Bug 1577885 - Remove using namespace std from GMP ClearKey r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D44269
--HG--
extra : moz-landing-system : lando
2019-09-03 19:10:42 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Sylvestre Ledru
9ce875d87a
Bug 1387002 - Replace .size() by .empty() when applicable in gmp r=cpearce
...
MozReview-Commit-ID: HhYJ6BK4oOG
--HG--
extra : rebase_source : 8177ad33ebafafc27ba2f809743cfd2c223a10d7
2017-08-04 09:09:38 +02:00
Jay Harris
f44f926c07
Bug 1318965 - Converts gmp-clearkey to use Chromium ContentDecryptionModule8 interface used by widevine r=cpearce
...
MozReview-Commit-ID: 6lOzItuuvdd
--HG--
extra : rebase_source : b1e98ecd166954f0a9e7e9ad8544504210998f49
extra : histedit_source : 7d73e59040f8f5c15bc26c388b4b40bf2ec1e5fe
2017-01-12 09:52:05 +13:00
Wes Kocher
07fd8cebf7
Backed out 3 changesets (bug 1318965) for frequent media test failures a=backout
...
Backed out changeset 3f756d8ee4cf (bug 1318965)
Backed out changeset 4bdf65d60c9e (bug 1318965)
Backed out changeset c1e2b6c14a7f (bug 1318965)
MozReview-Commit-ID: 6CPk5oS5AOw
--HG--
extra : source : babe3f8a0258fb592e17a590450de6ceb09460c3
2017-01-13 13:23:31 -08:00
Jay Harris
06bce5da83
Bug 1318965 - Converts gmp-clearkey to use Chromium ContentDecryptionModule8 interface used by widevine r=cpearce
...
MozReview-Commit-ID: 6lOzItuuvdd
--HG--
extra : rebase_source : 7f70380be5628c3e6668cf9fa235c8d2525bf1dc
extra : amend_source : 8d6afebb484ed59cf02907cab8991e6f232b0f69
2017-01-12 09:52:05 +13:00
Chris Pearce
812726afd0
Bug 1308821 - Ensure ClearKey doesn't parse a keyids initdata format session type parameter. r=kikuo
...
The specification doesn't require there to be a 'type' member of
the keyids init data format.
MozReview-Commit-ID: 7mOm7KwyyuC
--HG--
extra : source : c9fb674f3cb8dff4fe8734e0426e67825878015d
2016-10-09 20:42:01 -07:00
Chris Pearce
d0ce61581c
Bug 1313266 - Make gmp-clearkey reject with TypeError instead of InvalidAccessError on invalid input. r=gerald
...
The spec expects this, and now we pass more web platform tests.
MozReview-Commit-ID: 9HJFp2ebczk
--HG--
extra : source : 6d50c9068b52d8846e4d528d150f3f3dbd9a233d
2016-10-27 14:59:02 +13:00
Chris Pearce
35e13f726f
Bug 1308076 - Move ClearKeyCencParser to PsshParser library. r=glandium
...
To validate the PSSH init data passed to EME, I'd like to reuse the same
PSSH parser that the ClearKey CDM shared library uses. So move the code
out of gmp-clearkey and into its own library, so we can link it statically
into code that needs to use it.
MozReview-Commit-ID: 7xSUSmCueJz
--HG--
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.cpp => media/psshparser/PsshParser.cpp
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.h => media/psshparser/PsshParser.h
extra : source : 78dcbc5d3c26547c63269eb14034a67863cf28de
2016-10-06 20:23:38 +13:00
Kilik Kuo
4d162fcd4a
Bug 1303922 - Part 1: Make EME keystatuschanged information notified in batch. r=cpearce
...
MozReview-Commit-ID: IeExaQ62qTF
--HG--
extra : transplant_source : t%D4%AFxu%D6%40%F8hU%D2%94%D4q8q%EDy%08-
2016-10-04 17:18:46 +08:00
Kilik Kuo
eafec00033
Bug 1289968 - [Part2] Provide max length limitation for KeyIds and Webm Initdata, then correct cooresponding web-platform-tests meta file. r=gerald
...
MozReview-Commit-ID: DbaF1wZXwav
--HG--
extra : transplant_source : %F4%FF%5E%E4%DBN%B8%15%23%2A%BD%E3%D4P%DF%A8%98n%F7%ED
2016-09-17 03:24:49 +08:00
Chris Pearce
ee9ca0dd5e
Bug 1289968 - [Part1] Ensure ClearKey doesn't assume keyIds can only be 16 bytes. r=cpearce
...
MozReview-Commit-ID: Hf2IQsAHa4r
--HG--
extra : transplant_source : %D1%2C%B2j%1C%F5%A7%A9%D8%0B%EEE%92%B1%DC1%A5A%BC%8B
2016-08-01 16:28:10 +12:00
Sebastian Hengst
d307cb8dab
Backed out changeset 4361c6f3b915 (bug 1289968) for failing encrypted-media-generate-request-disallowed-input.html. r=backout
2016-08-08 15:28:12 +02:00
Chris Pearce
a41f94398b
Bug 1289968 - Ensure ClearKey doesn't assume keyIds can only be 16 bytes. r=gerald
...
I also added more testing around ClearKey's base64 decoding, since that affected
how keyIds were handled.
MozReview-Commit-ID: 2UH1JNT4NC3
--HG--
extra : rebase_source : 8e2c861e6b030d7e4a1378d3fafed7630324d940
2016-08-01 16:28:10 +12:00
Chris Pearce
a2a8662207
Bug 1289931
- Fire InvalidAccessError instead of AbortError when ClearKey's generateRequest is passed invalid initData. r=gerald
...
Google's Web Platform EME test expects this, and it makes sense.
MozReview-Commit-ID: CCuEHYintob
--HG--
extra : rebase_source : 7b2a9f38b5c22ecb0af8b9a2e270eaa7d0bf2da0
2016-07-28 11:08:27 +12:00
Chris Pearce
b6c7bf750a
Bug 1287000 - Ensure ClearKey's CENC PSSH parser can handle PSSH boxes with a 0 size field. r=jwwang
...
Google's Web Platform EME tests contain a CENC PSSH box with a 0 size field.
Our existing PSSH parser in our ClearKey plugin doesn't handle this well, it
gets stuck in an infinite loop. We should really handle everything that Chrome
handles, so we should handle this input.
We also shouldn't really be using raw pointers in the PSSH parser.
So rewrite the PSSH parser to use a ByteReader, and handle an invalid 0 sized
common SystemID box.
Also add gtests for the parser, and skip over PSSH boxes with unknown SystemIDs
(if they have valid sizes that is).
MozReview-Commit-ID: CdVPpphAJV
--HG--
extra : rebase_source : e9a1b439f8b371653c2c97322a2db64cafef6dd8
2016-07-15 09:31:07 +12:00
Benoit Girard
89a2736994
Bug 1278036 - Rename Endian.h to BigEndian.h for case insensitive Linux builds. r=cpearce
...
MozReview-Commit-ID: CePIpZZEjD
--HG--
rename : media/gmp-clearkey/0.1/Endian.h => media/gmp-clearkey/0.1/BigEndian.h
extra : rebase_source : a05ccec4e75da7f0bc1eb1a38c2f7e84b82d31ce
2016-06-05 13:24:51 -04:00
Chris Pearce
9654972991
Bug 1230026 - Support 'webm' initDataType format for MP4 ClearKey initData. r=gerald
2015-12-04 07:24:11 +13:00
Chris Pearce
efc8956d13
Bug 1228461 - Implement keyids initData type for ClearKey. r=gerald
2015-11-27 17:13:40 +13:00
Chris Pearce
ad73151891
Bug 1228461 - Don't assert we must have keys for keyIds we've seen in ~ClearKeySession(). r=gerald
2015-11-27 17:13:35 +13:00
Chris Pearce
e811a7d2e6
Bug 1181436 - Use 'gmp-api/' prefix consistently in includes in gmp-clearkey. r=gerald
2015-07-08 17:12:47 +12:00
Chris Pearce
82d33ace6a
Bug 1160914
- Use locks for gmp-clearkey threadsafe refcounting when std::atomic is not easily available. r=edwin
2015-05-06 11:40:42 +12:00
Chris Pearce
1fa249bfb8
Bug 1150437 - Make gmp-clearkey consistently Apache2 licensed. r=edwin,jwwang,kentuckyfriedtakahe
2015-04-03 09:08:27 +13:00
Chris Pearce
50770662aa
Bug 1140797 - Make gmp-clearkey buildable outside of mozilla-central. r=edwin
2015-03-09 08:27:05 +13:00
Edwin Flores
4e3006ddd2
Bug 1075199 - WMF decoding in ClearKey CDM - r=cpearce
2015-01-16 10:37:54 +13:00
Chris Pearce
7ba4d8b1c1
Bug 1111391 - Enable keyMessages to be sent before create/load session promise is resolved. r=jwwang
2015-01-09 14:30:07 +13:00
Chris Pearce
a23d2bdf73
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
2014-12-19 09:54:34 +13:00
Ryan VanderMeulen
7acf8539fb
Backed out changesets 70428bb355a4 and a0ba2f134695 (bug 1109457) for EME failures and crashes on OSX 10.6.
2014-12-18 00:22:19 -05:00
Chris Pearce
65cccb08b1
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
2014-12-18 16:16:13 +13:00
Ryan VanderMeulen
bf0212ce4f
Backed out changeset dc6994acf4e3 (bug 1109457) for EME test failures and crashes.
...
CLOSED TREE
2014-12-17 20:57:12 -05:00
Chris Pearce
ddd4b18d14
Bug 1109457 - Add persistent session to our ClearKey CDM. r=edwin
2014-12-18 13:23:27 +13:00
Daniel Holbert
c1bc87650e
Bug 1083373 part 1: Remove unused member-variable mHost from ClearKeySession and ClearKeyDecryptionManager. r=edwin
2014-10-27 18:11:55 -07:00
Edwin Flores
0afabd88d4
Bug 1044742 - ClearKey CDM for testing EME - r=cpearce
2014-09-24 10:04:49 +12:00