Commit Graph

4450 Commits

Author SHA1 Message Date
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
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
Michael Froman
3888f9a621 Bug 1291714 - sdp changes to support DTMF signaling. r=bwc
MozReview-Commit-ID: 7etTBsz3sM5

--HG--
extra : rebase_source : e71f97670677c51b96a477c5cfb95f91a3fdef87
2016-09-15 22:39:04 -05:00
Randell Jesup
b7aec8ba57 bug 1307155: Use 'if' instead of 'switch' to fix warnings from bug 1306873 landing r=dholbert 2016-10-03 16:33:36 -04:00
Randell Jesup
88bea09e95 Bug 1307042: generate fake audio for getUserMedia from MSG callbacks r=pehrsons 2016-10-03 14:35:36 -04:00
Paul Adenot
dbae1f1510 Bug 1306570 - Cherry-pick cubeb revision 6ae23a63 to fix a clock drift on Windows. r=kinetik
MozReview-Commit-ID: 3gC8dDAlkEM

--HG--
extra : rebase_source : 22b489cc5d7d3f91e9cfeab749fd41bd2300b652
2016-10-03 10:08:26 +02:00
Ralph Giles
17ec242a0b Bug 1306755 - Copy rust mp4parse tests into the tree. r=kinetik
Having these files in-tree makes it possible to run
`cargo test` to verify changes.

MozReview-Commit-ID: 6x4XZaw4UtD

--HG--
extra : rebase_source : 293572cbbc21929b43a735bf53ddb5521503bcd2
2016-09-30 14:37:54 -07:00
Phil Ringnalda
acb6be9f73 Merge m-c to autoland 2016-10-02 22:40:03 -07:00
Randell Jesup
82c541aab8 Bug 1303279: reset codec resolution to last frame when reconfiguring in webrtc r=pkerr 2016-10-02 02:05:49 -04:00
Nico Grunbaum
e642e84d54 Bug 1306873: only offer RID for video, and only if simulcast is being negotiated r=jesup 2016-10-01 20:35:53 -04:00
Randell Jesup
823711f9ba Bug 1306873: extmap direction support and cleanup r=bwc
Also removes RID support from audio

MozReview-Commit-ID: 28pmbvm4kw4
2016-10-01 20:35:50 -04:00
Phil Ringnalda
400813c30b Merge m-i to m-c, a=merge 2016-09-30 23:24:52 -07:00
Byron Campen [:bwc]
40a3a1cdc9 Bug 1304165: More complete rollback of transport objects. r=drno
MozReview-Commit-ID: Gu1iIuyFI4g

--HG--
extra : rebase_source : 17c6c1c5d7b614cc8194187781948f2ef02f90ea
2016-09-28 11:48:33 -05:00
Alfredo.Yang
880bc1789a Bug 1304254 - Use fragment_duration as track duration. r=rillian
MozReview-Commit-ID: 6Y8kFiDmE1y

--HG--
extra : rebase_source : dcce69cfee361edd92fdcb3d41d198a915bc3a48
2016-09-22 19:30:11 +08:00
Ralph Giles
ac89e3a7ca Bug 1306164 - Drop byteorder from mp4parse update script. r=kinetik
The byteorder dependency was moved to $topsrcdir/third_party/rust/
in bug 1298422 but this import script wasn't updated.

MozReview-Commit-ID: CzoxsFPYpIm

--HG--
extra : rebase_source : 18bcc2e3351887f0593e2167acc59c6c4f6003e8
2016-09-29 15:28:31 -07:00
Alfredo.Yang
a5e375a095 Bug 1306164 - Update rust parser for fragmented file. r=rillian
MozReview-Commit-ID: BzRxyH9tYZL

--HG--
extra : rebase_source : c217dab83d6646c37e74985cee5ce743c9f880b5
2016-09-29 08:56:48 +08:00
Sotaro Ikeda
2cc1d95c31 Bug 1304330 - Update YuvConstants of BT.709 YUV r=jesup 2016-09-28 19:50:14 -07:00