Commit Graph

13764 Commits

Author SHA1 Message Date
Brian Hackett
ecc7252452 Bug 1486565 - Don't initialize cubeb when recording/replaying, r=kinetik.
--HG--
extra : rebase_source : 7b6302026c1f64fa5e92f26bd6162d55888fcfe9
2018-08-31 05:24:38 -10:00
Brian Hackett
44f3ddf9d7 Bug 1486562 - Record reference count changes for SourceListener, r=jib.
--HG--
extra : rebase_source : efd7935de09e85e15d6bd77fd65a49c42be7ff6f
2018-08-31 05:24:09 -10:00
Jan-Ivar Bruaroey
4dc294148a Bug 1487431 - Fix typo in mediasource test_FrameSelection_mp4.html to make last two tests work. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D4798

--HG--
extra : moz-landing-system : lando
2018-08-31 20:38:59 +00:00
Paul Adenot
5b3025f021 Bug 1308436 - Remove test_audioParamSetCurveAtTimeTwice.html because it's now wrong per spec. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D4108

--HG--
extra : rebase_source : 96cf54b6b5fb9a03475fe68fa5b4ef8c2e92b34f
extra : histedit_source : 7e0f47ac83c9652616959a9637ff96f32744df4d
2018-08-23 17:55:15 +02:00
Paul Adenot
7a16eb0d00 Bug 1308436 - Remove TestAudioEventTimeline.cpp. r=karlt
It's too difficult to maintain, obsolete and also it duplicates the
functionnality of wpt.

Differential Revision: https://phabricator.services.mozilla.com/D3791

--HG--
extra : rebase_source : 2ccc77b285c41835e1675713c2cc126d93cfd458
extra : histedit_source : cefb7f2953974f33517e5d9ce4d8512ff4504ebe
2018-08-14 18:45:14 +02:00
Paul Adenot
c41b903b7d Bug 1308436 - Remove test_audioParamSetCurveAtTimeZeroDuration.html. r=karlt
Per spec, it should throw. This is tested in WPT.

MozReview-Commit-ID: InzdbPQM6HD

Differential Revision: https://phabricator.services.mozilla.com/D4102

--HG--
extra : rebase_source : 93375f207421da4516602d6cf906646f46d1e231
extra : intermediate-source : 99c42ce2ef78153de0833290359754ad868e8880
extra : source : a4f09a4ad0dc6674c63e3e472124982dbeee119e
extra : histedit_source : 336aa11195357051231258fe829fc48a29defe48
2018-07-30 13:54:18 +02:00
Paul Adenot
98c8da7b4d Bug 1308436 - Adjust the AudioParam processing algorithm to match the spec. r=karlt
Ramps now take into account the end of the curve as a start value for their
automation.

Differential Revision: https://phabricator.services.mozilla.com/D3792

--HG--
extra : rebase_source : 9fc040d74bfb3bfba7aaa95d4c722edf97e1c056
extra : histedit_source : a001de094b00780ec215d77dc7629ccb44080f8e
2018-08-22 18:47:03 +02:00
Paul Adenot
83a34955ff Bug 1308436 - Rework the AudioParam event insertion algorithm to be spec compliant, and fix the exception types and values. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D4099

--HG--
extra : rebase_source : 544851135e077877e17361d8ea849090793c6509
extra : histedit_source : 94ab8b3f17f3cf38c8eca897b436e9172977ac66
2018-08-22 18:46:50 +02:00
Paul Adenot
44267d690f Bug 1308436 - Don't convert the curve duration from double to float in the EventInsertionHelper to avoid losing precision. r=karlt
MozReview-Commit-ID: 9vazrYi3J8C

Differential Revision: https://phabricator.services.mozilla.com/D4097

--HG--
extra : rebase_source : 393b828f4f43ad520aee9912af06e6215c6fce0a
extra : intermediate-source : fbc877e07d2866a85dba04a611e43441471f9364
extra : source : 938bc46cfb426d8c5f36934af894d430c7645e9c
extra : histedit_source : 254e87ff67fe76adb02d77be2c456dec0bd08401
2018-07-26 14:26:57 +02:00
Byron Campen [:bwc]
2a2903b7fe Bug 1483338: Stop using level as the identifier for media transports. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D3448

--HG--
extra : moz-landing-system : lando
2018-08-28 19:45:58 +00:00
Cosmin Sabou
5d011e88d1 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-27 18:51:27 +03:00
Jean-Yves Avenard
95343883e7 Bug 1486080 - Always allocate memory to pass extradata. r=padenot
Despite wording of the documentation to the contrary, we can't provide a static pointer to an immutable object.
Apparently, it's always been that way.

Differential Revision: https://phabricator.services.mozilla.com/D4323

--HG--
extra : moz-landing-system : lando
2018-08-27 13:22:26 +00:00
Nathan Froyd
ac6614c34b Bug 1486064 - don't cargo-cult AudioDeviceInfo.h in GraphDriver.cpp; r=padenot
When WebRTC is disabled, we get complaints about undefined AudioDeviceInfo.
2018-08-27 09:11:41 -04:00
Jean-Yves Avenard
df2e2243b9 Bug 1485536 - Don't account frames dropped by the compositor as presented. r=bryce
We rename a method in FrameStatistics to better match what it's actually doing.

Differential Revision: https://phabricator.services.mozilla.com/D4213

--HG--
extra : moz-landing-system : lando
2018-08-27 10:27:19 +00:00
Csoregi Natalia
15876458af Backed out changeset 8c8ff2c7bfa1 (bug 1485536) for crashes at VideoSink. CLOSED TREE 2018-08-26 00:15:16 +03:00
Jean-Yves Avenard
5ab3282a07 Bug 1485536 - Don't account frames dropped by the compositor as presented. r=bryce
We rename a method in FrameStatistics to better match what it's actually doing.

Differential Revision: https://phabricator.services.mozilla.com/D4213

--HG--
extra : moz-landing-system : lando
2018-08-25 12:39:29 +00:00
Thomas Daede
c02103611a Bug 1485875 - Expect Android to not play AV1 in MP4. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D4258

--HG--
extra : moz-landing-system : lando
2018-08-24 21:29:00 +00:00
Andreea Pavel
73467d18e1 Backed out changeset 1dc785e713d9 (bug 1485536) for assertion failure at z:/build/build/src/dom/media/mediasink/VideoSink.cpp on a CLOSED TREE 2018-08-24 21:10:59 +03:00
Jean-Yves Avenard
3b4c682a62 Bug 1485536 - Don't account frames dropped by the compositor as presented. r=bryce
We rename a method in FrameStatistics to better match what it's actually doing.

Differential Revision: https://phabricator.services.mozilla.com/D4213

--HG--
extra : moz-landing-system : lando
2018-08-24 14:26:14 +00:00
Tiberius Oros
2ee9341d01 Merge inbound to mozilla-central. a=merge 2018-08-24 12:43:45 +03:00
Thomas Daede
19b1e76253 Bug 1417050: Add AV1 in MP4 tests. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D3845

--HG--
extra : moz-landing-system : lando
2018-08-21 00:06:25 +00:00
Kris Maglione
65c28aa0ad Bug 1484496: Part 2 - Add common base class for all nsISimpleEnumerator implementations. r=froydnj
In order to allow JS callers to use nsISimpleEnumerator instances with the JS
iteration protocol, we'll need to additional methods to every instance. Since
we currently have a large number of unrelated implementations, it would be
best if they could share the same implementation for the JS portion of the
protocol.

This patch adds a stub nsSimpleEnumerator base class, and updates all existing
implementations to inherit from it. A follow-up will add a new base interface
to this class, and implement the additional functionality required for JS
iteration.

Differential Revision: https://phabricator.services.mozilla.com/D3725

--HG--
extra : rebase_source : ad66d7b266856d5a750c772e4710679fab9434b1
extra : histedit_source : a83ebffbf2f0b191ba7de9007f73def6b9a955b8
2018-08-18 14:22:47 -07:00
alwu
b26e3f253f Bug 1483703 - part3 : modify test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D3672

--HG--
extra : moz-landing-system : lando
2018-08-22 22:52:04 +00:00
alwu
bb11a649df Bug 1483703 - part1 : allow media without audio track to autoplay. r=cpearce
We would allow media without audio track to autoplay after it had loaded the metadata.

If media hasn't loaded metadata yet, we would treat it as audible media and then block it.

Differential Revision: https://phabricator.services.mozilla.com/D3670

--HG--
extra : moz-landing-system : lando
2018-08-22 23:31:58 +00:00
alwu
a23a30a650 Bug 1483703 - part1 : allow media without audio track to autoplay. r=cpearce
We would allow media without audio track to autoplay after it had loaded the metadata.

If media hasn't loaded metadata yet, we would treat it as audible media and then block it.

Differential Revision: https://phabricator.services.mozilla.com/D3670

--HG--
extra : moz-landing-system : lando
2018-08-21 20:58:26 +00:00
Masatoshi Kimura
49ee57f31d Bug 1485028 - Fix warnings that are specific to clang-cl ASAN builds. r=dmajor
--HG--
extra : source : f0b577cc8b920352dfe297e7ec9cca58b1838c5d
2018-08-22 02:02:56 +09:00
Noemi Erli
c7ab615992 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-22 19:32:56 +03:00
Paul Adenot
1c154b62b4 Bug 1483926 - Take into account mInputDeviceID is always nullptr on Android for now. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D3899

--HG--
extra : moz-landing-system : lando
2018-08-21 16:32:24 +00:00
Philipp Hancke
3a00b39e7b Bug 1481851 - Add kind to RTCRtpStreamStats as alias to mediaType. r=ng,smaug
spec change in https://github.com/w3c/webrtc-stats/issues/301
2018-08-08 17:30:40 +02:00
Jean-Yves Avenard
70040ff272 Bug 1245400 - P3. Report number of frames dropped by compositor back to VideoSink. r=nical
We report the number of frames dropped by the compositor because they were too late through:
ImageComposite -> ImageHost -> CompositableTransactionParent -> ImageBridgeParent -> IPDL -> ImageBridgeChild -> ImageContainerListener -> ImageContainer -> VideoSink

Differential Revision: https://phabricator.services.mozilla.com/D2177
2018-08-22 17:26:36 +02:00
Dorel Luca
7b58cfed95 Merge mozilla-central to mozilla-inbound 2018-08-21 19:04:42 +03:00
Dorel Luca
3fa761ade8 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-21 19:01:08 +03:00
Dorel Luca
d9bdf77969 Merge mozilla-central to autoland 2018-08-21 12:57:58 +03:00
Thomas Daede
2868cd8be4 Bug 1417050: Add support for AV1 in MP4. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D3365

--HG--
extra : moz-landing-system : lando
2018-08-20 23:56:39 +00:00
Kris Maglione
56f4830bf8 Bug 1484466: Part 2a - Remove no-op generateCI calls. r=mccr8
These stopped having any effect when we switched to ChromeUtils.generateQI,
which does not support automatic nsIClassInfo forwarding.

Differential Revision: https://phabricator.services.mozilla.com/D3707

--HG--
extra : rebase_source : 62a3690304ad7baa760c41eba777aa17b9af33f0
2018-08-18 12:38:31 -07:00
Jean-Yves Avenard
384be24476 Bug 1482847 - Fix android decoder creation. r=jolin
A mDisplay vs mImage mixup. We also set both values in CreateTrackInfoWithMIMETypeAndContainerTypeExtraParameters to prevent similar issues in the future.

Differential Revision: https://phabricator.services.mozilla.com/D3788

--HG--
extra : moz-landing-system : lando
2018-08-20 15:47:21 +00:00
Jean-Yves Avenard
2cdf517489 Bug 1484648 - Implement CodecProxy::IsHardwareAccelerated. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D3789

--HG--
extra : moz-landing-system : lando
2018-08-20 15:42:33 +00:00
Narcis Beleuzu
1fc429066b Backed out changeset 655d8b94c8f1 (bug 1483926) for geckoview failures on org.mozilla.geckoview.test.PermissionDelegateTest.media
--HG--
extra : rebase_source : 6f7996f81fa9d4c2b675df595b9de3f6385ee5e3
2018-08-20 15:21:55 +03:00
Jean-Yves Avenard
c964f8fa02 Bug 1484242 - P3. Have MediaCapablities use GlobalAllocPolicy for creating decoders. r=bryce
This ensures on platform that requires it, that only a single decoder at a time are used, in effect serialising all the MediaCapabilities.decodingInfo requests.

Differential Revision: https://phabricator.services.mozilla.com/D3679
2018-08-21 15:20:54 +02:00
Jean-Yves Avenard
d643f0e549 Bug 1484242 - P2. Add AllocationWrapper::CreateDecoder convenience method. r=bryce
This method will allocate a decoder according to the GlobalAllocPolicy. On Android API 18 and lower, there can only be a single decoder created at a time. The promise returned by CreateDecoder will only be resolved once the allocation policy permits a new decoder to be created.

Differential Revision: https://phabricator.services.mozilla.com/D3678
2018-08-21 15:20:54 +02:00
Jean-Yves Avenard
d3b19c39b3 Bug 1484242 - P1. Add AllocationPolicy objects. r=bryce
We extract the GlobalAllocationPolicy and the MediaDataDecoder wrapper from MediaFormatReader.

They will be used to create a new wrapping class that will serialize allocation and initalization of decoders if the platform requires it.

Differential Revision: https://phabricator.services.mozilla.com/D3676
2018-08-21 15:20:54 +02:00
Paul Adenot
3f50ca3b6f Bug 1480036 - Allow scaling all MSG volume with a pref. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D2594

--HG--
extra : rebase_source : 12a931585d95fe190e6fc1e3b4fba9a2f0cd6cd9
extra : histedit_source : 355f316e6eba1feaa0ee3e7750feede92eeae4bc
2018-08-01 12:10:32 +02:00
Paul Adenot
a5f0fee215 Bug 1480036 - Allow forcing a specific audio output device from a test. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D3507

--HG--
extra : rebase_source : 2f20dcd24d148ea0cc9f7b73ff0dd81f25574467
extra : histedit_source : aa2205caf3ad5fe9e5fceaf78e6f7a7e3488155b
2018-08-01 14:16:30 +02:00
Paul Adenot
a7e21c1d8c Bug 1483926 - Fix Android device enumeration. r=pehrsons
Not having a return here means that we end up clearing our device list.

Differential Revision: https://phabricator.services.mozilla.com/D3613

--HG--
extra : moz-landing-system : lando
2018-08-17 15:34:16 +00:00
Karl Tomlinson
8f279eaba8 Bug 1484046 reset variables for main thread buffer dropping logic on the same thread r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D3580

--HG--
extra : moz-landing-system : lando
2018-08-17 12:24:51 +00:00
John Lin
a47eb60caa Bug 1481139 - fix GMP process IPC channel error on Android. r=jld,njn
Bug 1481139 - p1: handle invalid file descriptors.
Bug 1481139 - p2: add dummy fds for GMP process.

Two file descriptors were added in bug 1438678 and 1471025 for content/child
process but not GMP process, and it breaks the IPC channel on Android.

Add dummy values to make it work for now before bug 1440207 clean up the mess.

Differential Revision: https://phabricator.services.mozilla.com/D3541

--HG--
extra : moz-landing-system : lando
2018-08-17 00:06:20 +00:00
Karl Tomlinson
298f16043a Bug 1483174 use float constants with float delay time variables r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D3396

--HG--
extra : moz-landing-system : lando
2018-08-16 11:09:03 +00:00
Tiberius Oros
246f2b4fab Merge inbound to mozilla-central. a=merge 2018-08-17 00:32:50 +03:00
Paul Adenot
96df0fd394 Bug 1478837 - Reinstate a few Web Audio API tests in the mochitest directory. r=karlt
MozReview-Commit-ID: 6Bqjuj1BwAJ

--HG--
extra : rebase_source : d2163747ec487e4bf521a27ecd95670125d5555a
2018-08-14 12:10:00 +02:00
Karl Tomlinson
7e758c3e77 bug 1474470 support convolution of stereo input with a mono impulse response buffer r=padenot
This initial implementation does twice the necessary processing for mono input,
but that will be addressed in bug 1474222.

MozReview-Commit-ID: AZQ7Zb8jEtK

--HG--
extra : rebase_source : 9feeb254217dc4e14b78cb03315fb948e3477a16
2018-08-16 09:59:05 +12:00