Граф коммитов

4465 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 2bb0f9b7a2 Backed out changeset 68f1d429368c (bug 1308076)
--HG--
rename : media/psshparser/PsshParser.cpp => media/gmp-clearkey/0.1/ClearKeyCencParser.cpp
rename : media/psshparser/PsshParser.h => media/gmp-clearkey/0.1/ClearKeyCencParser.h
2016-10-11 10:41:25 +02:00
Sebastian Hengst b3064bba8d Backed out changeset b2ef285116b3 (bug 1308076) 2016-10-11 10:41:20 +02:00
Sebastian Hengst 67e4cd1c41 Backed out changeset 40ce3fa30dfa (bug 1308076) 2016-10-11 10:41:16 +02:00
Sebastian Hengst bd612c1fd3 Backed out changeset 4ce11c2f2e69 (bug 1308076) 2016-10-11 10:41:08 +02:00
Sebastian Hengst 8718521d1f Backed out changeset 11fc2627544c (bug 1308076) 2016-10-11 10:41:04 +02:00
Sebastian Hengst 57c3796c20 Backed out changeset 2ce4a30bdf86 (bug 1308076) 2016-10-11 10:41:00 +02:00
Sebastian Hengst 8a98e7cddd Backed out changeset 5862e3ccc989 (bug 1308076) 2016-10-11 10:40:56 +02:00
Sebastian Hengst 1eb3faf861 Backed out changeset 6d16f00b9858 (bug 1308076) 2016-10-11 10:40:52 +02:00
Chris Pearce e0b2194579 Bug 1308076 - Ensure Primetime PSSH boxes pass the PSSH validator. r=jwwang
Primetime PSSH boxes don't use the common encryption system ID.
So to ensure we don't break any existing Primetime players, we
must allow PSSH boxes with the Primetime system ID to pass the
PSSH validator.

MozReview-Commit-ID: 3q58FKLQXgV

--HG--
extra : rebase_source : aac2a8349d8e9dfccae3c37a47549245fb1fc0e3
2016-10-10 23:47:28 -07:00
Chris Pearce c18aa7f516 Bug 1308076 - Move PSSH parser gtests into media/psshparser/gtest. r=glandium
MozReview-Commit-ID: G760z2sIQpO

--HG--
rename : media/gmp-clearkey/0.1/gtest/TestClearKeyUtils.cpp => media/psshparser/gtest/TestPsshParser.cpp
rename : media/gmp-clearkey/0.1/gtest/moz.build => media/psshparser/gtest/moz.build
extra : rebase_source : 80fc084137ca84f9263cb056c27f296b8f05111c
2016-10-07 21:34:54 +13:00
Chris Pearce ba946f19e0 Bug 1308076 - Consistently put expected value where it's expected in EXPECT_EQ() in Pssh Parser gtest. r=jwwang
The expected value comes first in the EXPECT_EQ gtest macro. So reorder our
calls to this macro in the Pssh Parser gtests to match that.

This makes it easier to read what's the expected value when the test fails.


MozReview-Commit-ID: LJ4ND2gRPi4

--HG--
extra : rebase_source : 85ca2dcff57354253b801fbd598c89698c74c2d6
2016-10-07 21:17:42 +13:00
Chris Pearce 2f998b9d61 Bug 1308076 - Fixup PSSH parser gtests. r=jwwang
We're now obliged to be stricter, taking from the example of the Web Platform
Tests.

MozReview-Commit-ID: AJNDoRZ9BF8

--HG--
extra : rebase_source : 79b13d1d7d1b6b6b4a382b6a17af81606af608fa
2016-10-07 21:12:18 +13:00
Chris Pearce a0900b6998 Bug 1308076 - Rename CLEARKEY_KEY_LEN to CENC_KEY_LEN. r=jwwang
This better reflects that it's used for all CENC keys, not just ClearKey keys.

MozReview-Commit-ID: 9uCzDKVDLjc

--HG--
extra : rebase_source : dfd7fe864be6825a86dfed4f60b448a5edac286f
2016-10-07 11:14:04 +13:00
Chris Pearce d4606df737 Bug 1308076 - Use PsshParser to validate CENC init data. r=jwwang
Now that we can link gmp-clearkey's PSSH parser into Gecko, we can
simply use that inside MediaKeySession to validate that the CENC
init data matches the spec.

This change enforces that CENC init data uses the common system Id.
As far as I can tell, Widevine only uses that now.

MozReview-Commit-ID: HrlKQHcv5DI

--HG--
extra : rebase_source : ccf8e217d87dfa85478578f52469dc7383fd6c9b
2016-10-06 23:17:44 +13:00
Chris Pearce 48ecbebd03 Bug 1308076 - Don't statically link mfplat.lib into gmp-clearkey. r=glandium
We're loading functions from that library dynamically in gmp-clearkey anyway,
we don't need to statically link this.


MozReview-Commit-ID: AKwP5aWLsK3

--HG--
extra : rebase_source : 23ab95e7bb2f756ef1df7f97b96ec7da0953533f
2016-10-07 11:20:05 +13:00
Chris Pearce 10c6ab2576 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 : rebase_source : 3f621aa1d99c6a73f6b5f3ca9d1f84022266a833
2016-10-06 20:23:38 +13:00
Ted Mielczarek fed17ce3e1 bug 1305506 - Remove some cruft from a webrtc gyp file. r=jesup
Things seem to build OK without this, and it's breaking some new code I added in gyp_reader.

MozReview-Commit-ID: 6ccaXZ0mRTj

--HG--
extra : rebase_source : c1e8acb39f863b3ff62492cf70e74748cb74e795
2016-08-16 10:09:03 -04:00
Phil Ringnalda 080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Phil Ringnalda c21623fc42 Merge m-c to m-i
MozReview-Commit-ID: Kp60wHZauGi
2016-10-06 20:26:20 -07:00
Phil Ringnalda fd7b7476c2 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 93ZdJbK1x05
2016-10-06 19:58:18 -07: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 21f4832a64 Bug 1303662 - Avoid accessing uninitialized member while debugging. r=cpearce
MozReview-Commit-ID: IX4bI9HB8Ub

--HG--
extra : rebase_source : c3d33f757e228788546b234711f3f8e4f51424ce
2016-10-07 18:40:34 +08:00
Dan Minor a62e23429f Bug 1291715 - Add support for 44100 and 48000 Hz sample rates to DtmfInband; r=jesup
The DtmfInband class does not support sample rates above 32000. This adds
support for 44100 and 48000.

The 'a' coefficients were calculated in python as:

int(round(32768*math.cos(2*math.pi*f/fs)))

The 'ym2' coefficients were calculated in python as:

int(round(16383*math.sin(2*math.pi*f/fs)))

where f was in: [697, 770, 852, 941, 1209, 1336, 1477, 1633] and fs was in:
[8000, 16000, 32000, 44100, 44800].

The calculated values were slightly off the existing values at 8000 Hz,
but agreed at 16000 and 32000 Hz.

MozReview-Commit-ID: GIzyUSyecR4

--HG--
extra : rebase_source : edbde6e8c8b6cfd1c44c808022849c688364745b
2016-09-14 16:07:46 -04:00
Dan Minor 136c79105e Bug 1291715 - Add DTMF support to PeerConnection and AudioConduit; r=jib
MozReview-Commit-ID: LNN1HNJicCj

--HG--
extra : rebase_source : 6b4153e6bddb939a89b58961abcec4b1741a68d3
extra : source : a3521a634b4a5c64d17686662dc3b1aec91f590b
2016-10-06 08:55:43 -04:00
Dan Minor 621afd7f92 Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Carsten "Tomcat" Book 7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Jean-Yves Avenard 4a7fd611df Bug 1301869: P1. Only add SPS/PPS on the first keyframe. r=cpearce
When we add SPS/PPS NAL in front of each keyframe data, this somehow makes the WMF decoder to misbehave and to always return an invalid timestamp.

MozReview-Commit-ID: 2SzTiwP0ii1

--HG--
extra : rebase_source : b499c83d504df772e6d722053630ff4d92306d4f
2016-10-06 11:38:52 +11:00
Randell Jesup 2f628de7ca Bug 1307254: Implement ::Stop() for screen/window/app capture r=jib 2016-10-05 16:15:19 -04:00
Paul Adenot d31503d9d3 Bug 1307724 - Cherry-pick cubeb revision 50d92c. r=kinetik
MozReview-Commit-ID: 2ibCLal3BVD

--HG--
extra : rebase_source : 42dbab3510abdb390c6287df95721a17be7a1e4d
2016-10-05 12:20:06 +02:00
Randell Jesup bfeb950383 Bug 1307507: ensure that resolution is retained on multiple replaceTrack/renegotiations r=bwc 2016-10-04 13:13:01 -04:00
Tom Schuster 774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Mark Banner c4565f5765 Bug 1306631 - Remove old Loop telemetry hooks from WebRTC code. r=jesup
MozReview-Commit-ID: 1ctKZPDVEha

--HG--
extra : rebase_source : 530df82d85d87dd605289b8af8ce372ba6cd4ed9
2016-09-23 16:55:48 +01:00
Sebastian Hengst 7520674246 Backed out changeset 903fa45a9d6c (bug 1291715) for build bustage. r=backout 2016-10-05 17:03:06 +02:00
Sebastian Hengst 8e6bfb5804 Backed out changeset 5505acbab659 (bug 1291715) 2016-10-05 17:02:57 +02:00
Sebastian Hengst 251cf1d5cb Backed out changeset 91c0b78bb4dd (bug 1291715) 2016-10-05 17:02:53 +02:00
Dan Minor 7703c636fc Bug 1291715 - Add support for 44100 and 48000 Hz sample rates to DtmfInband; r=jesup
The DtmfInband class does not support sample rates above 32000. This adds
support for 44100 and 48000.

The 'a' coefficients were calculated in python as:

int(round(32768*math.cos(2*math.pi*f/fs)))

The 'ym2' coefficients were calculated in python as:

int(round(16383*math.sin(2*math.pi*f/fs)))

where f was in: [697, 770, 852, 941, 1209, 1336, 1477, 1633] and fs was in:
[8000, 16000, 32000, 44100, 44800].

The calculated values were slightly off the existing values at 8000 Hz,
but agreed at 16000 and 32000 Hz.

MozReview-Commit-ID: GIzyUSyecR4

--HG--
extra : rebase_source : 108bdbc492a58f1532a5629680753e7395a916ae
2016-09-14 16:07:46 -04:00
Dan Minor 684dedad1f Bug 1291715 - Add DTMF support to PeerConnection and AudioConduit; r=jib
MozReview-Commit-ID: LNN1HNJicCj

--HG--
extra : rebase_source : 69492c49b829848a5964e4915f4a10ecae378249
extra : source : a3521a634b4a5c64d17686662dc3b1aec91f590b
2016-10-04 14:55:27 -04:00
Dan Minor c168a463ed Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Julian Seward f30bf023b4 Bug 1274256 - TSan: data race gfx/layers/client/TextureClient.cpp:1161 in mozilla::layers::MappedYCbCrChannelData::CopyInto. r=jyavenard@mozilla.com. 2016-10-06 17:41:27 +02:00
Carsten "Tomcat" Book c2943ed59a Backed out changeset 01bf91bcaeb2 (bug 1274256) for reftest crashes
--HG--
extra : rebase_source : 9a15b3f2a6c3800401216208d52438d8ceb120a3
2016-10-06 13:53:57 +02:00
Carsten "Tomcat" Book 7333917288 Merge mozilla-central to mozilla-inbound 2016-10-06 12:28:03 +02:00
Julian Seward c29c35856c Bug 1274256 - TSan: data race gfx/layers/client/TextureClient.cpp:1161 in mozilla::layers::MappedYCbCrChannelData::CopyInto. r=jyavenard@mozilla.com.
--HG--
extra : rebase_source : 65ea1ed1cc136f5a4da002283b93fc37642327db
2016-10-06 10:35:58 +02:00
ISHIKAWA, Chiaki 365dcfe220 Bug 1304504 - Check the return value of GetIntPref() properly. r+=rjesup 2016-10-01 03:28:00 +02:00
Munro Mengjue Chiang b2bb341033 Bug 1300468 - implement mediaDevices.ondevicechange for Windows; r=jesup
MozReview-Commit-ID: IhqmXsqeuba
2016-10-06 02:31:26 +08:00
Phil Ringnalda 7026f16e79 Merge m-c to autoland 2016-10-03 20:36:09 -07:00
Phil Ringnalda c1e745733c Merge m-i to m-c, a=merge
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Wes Kocher 5739609d11 Backed out changeset bc4680ea08a9 (bug 1307042) for android mda test failures a=backout CLOSED TREE 2016-10-03 16:03:12 -07:00
Michael Froman d35956ee16 Bug 1291714 - bool to enable dtmf tones in AudioConduit and setup dtmf payload type. r=bwc
MozReview-Commit-ID: IMneZx9wlhj

--HG--
extra : rebase_source : 0e65711f7a36f75c8956efb0860fd63f7890a279
2016-09-28 21:22:44 -05:00
Nils Ohlmeier [:drno] 7a1894eae5 Bug 1306777: stop sending RTP after switching to a=inactive. r=bwc
MozReview-Commit-ID: EEetiD4Tm4I

--HG--
extra : rebase_source : b9454944f5070b232c03a605e4dd651264c34b26
2016-09-30 16:13:07 -07:00