Commit Graph

13131 Commits

Author SHA1 Message Date
Jean-Yves Avenard
eae919be64 Bug 1431221 - P10. Properly retrieve and set channel layout for opus and vorbis. r=cpearce
MozReview-Commit-ID: A4jEQzHRKDT
2018-03-24 10:57:55 +01:00
Jean-Yves Avenard
c69d04a58b Bug 1431221 - P9. Properly retrieve and set channel layout on windows. r=cpearce
MozReview-Commit-ID: GKpOAgPP9qp
2018-03-24 10:57:55 +01:00
Jean-Yves Avenard
49fdb79628 Bug 1431221 - P8. Pass channel layout with FFmpeg. r=padenot
MozReview-Commit-ID: LgmguXHZSnB
2018-03-24 10:57:55 +01:00
Jean-Yves Avenard
72acc6380b Bug 1431221 - P7. Pass channel layout on mac. r=padenot 2018-03-24 10:57:54 +01:00
Jean-Yves Avenard
ce853cc7ef Bug 1431221 - P6. Add channel map information to AudioInfo. r=padenot
MozReview-Commit-ID: 2zOvciLFtAr
2018-03-24 10:57:54 +01:00
Jean-Yves Avenard
48cf8d7243 Bug 1431221 - P5. Split AudioConfig.{h,cpp} from MediaInfo. r=padenot
MozReview-Commit-ID: EzaC19HS2B8
2018-03-24 10:57:54 +01:00
Jean-Yves Avenard
e9e8bc2708 Bug 1431221 - P4. Use similar channel decriptions as Windows WAVE and FFmpeg. r=padenot
This makes it for future easier conversion for the FFmpeg and Windows WMF decoder, so that we can use their channel map directly.

Also introduce a difference between 2F2 and QUAD, cubeb supports will be added in a future change.

MozReview-Commit-ID: L5NkjeuGslI
2018-03-24 10:57:54 +01:00
Jean-Yves Avenard
bea2ce1579 Bug 1431221 - P3. Fix unified build. r=padenot
MozReview-Commit-ID: Di1uZjK8Iox
2018-03-24 10:57:53 +01:00
Jean-Yves Avenard
0924b93c38 Bug 1431221 - P2. Have mac AAC decoder use proper output layout. r=padenot
We previously made no difference between 3.1, 2F2 or 4.0...

MozReview-Commit-ID: Bt7UVAT5uWf
2018-03-24 10:57:53 +01:00
Jean-Yves Avenard
1e2f478164 Bug 1431221 - P1. Add method to retrieve SMPTE equivalent layout from any channel layout. r=padenot
MozReview-Commit-ID: J8yT5OWIbAH
2018-03-24 10:57:53 +01:00
Cosmin Sabou
d5f5fb893c Backed out 3 changesets (bug 1446233) for permafailing on dom/media/tests/mochitest/test_peerConnection_replaceTrack.html. a=backout
Backed out changeset 9b72102a99b3 (bug 1446233)
Backed out changeset 6f3488ff7c60 (bug 1446233)
Backed out changeset 20301e359a4e (bug 1446233)
2018-03-23 15:18:23 +02:00
Dan Glastonbury
ac492b197c Bug 1446233 - P3: Add prefs to control audioipc client thread pool. r=kinetik
MozReview-Commit-ID: 7TVfYE9DEwp

--HG--
extra : rebase_source : e725ea784360e8d2061dbf4193c7074fde3cfdd1
2018-03-22 15:33:25 +10:00
shindli
5d297279b1 Backed out 3 changesets (bug 1446233) for Wr failures in /html/semantics/embedded-content/media-elements/track/track-element/track-webvtt-two-cue-layout-after-first-end.html on a CLOSED TREE
Backed out changeset ed217fb39a92 (bug 1446233)
Backed out changeset f5bec009a111 (bug 1446233)
Backed out changeset a71dd6219f8a (bug 1446233)
2018-03-23 04:11:01 +02:00
Dan Glastonbury
ac696a0587 Bug 1446233 - P3: Add prefs to control audioipc client thread pool. r=kinetik
MozReview-Commit-ID: I4BL7Ad2xtI

--HG--
extra : rebase_source : 984378bf2fbca347762b3096f75069b7721c97be
2018-03-22 15:33:25 +10:00
Andreas Pehrson
b51b21aa64 Bug 1435036 - Improve window checks. r=jib 2018-03-19 09:40:38 +01:00
arthur.iakab
5e8092339a Merge mozilla-central to inbound
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
Miko Mynttinen
65c6bee9d6 Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj
MozReview-Commit-ID: rGjabnP2iz

--HG--
extra : rebase_source : 1ef6c5ce028ac9ebd9f3176d57835c43fe46bada
2018-03-13 14:51:33 +01:00
Bryce Van Dyk
978c69f8d4 Bug 1434477 - If AudioCallbackDriver::Init() can't get a cubeb context, fall back to system clock driver. r=padenot
Change AudioCallbackDriver::Init() to fallback to a system clock driver if a
cubeb context can not be obtained. This should make driver init more robust in
cases where cubeb init fails and then CubebUtils::GetCubebContext() returns no
context.

MozReview-Commit-ID: IlFPytYacoI

--HG--
extra : rebase_source : 7445ceb49583ee3ae399252e995ce6f012d9da2f
2018-03-19 14:46:36 -04:00
Bryce Van Dyk
70d6e49a13 Bug 1434477 - Add extra logging to MediaManager's device enumeration path. r=padenot
Add logging was added to help diagnose gUM failures and provide more log
coverage of that code path.

MozReview-Commit-ID: A76fjlUVpmn

--HG--
extra : rebase_source : 6f67ab223739474c8dec7a72a1ff322503c4df96
2018-03-16 15:09:55 -04:00
Andreas Pehrson
1238d9515a Bug 1444541 - Don't stop recorder on pagehide during frameswap. r=smaug
MozReview-Commit-ID: AZec0yXM1FI

--HG--
extra : rebase_source : d96845f7422f6e57943bf90b1ef0f29df3e08099
2018-03-19 15:52:36 +01:00
Byron Campen [:bwc]
1f0d6d8a26 Bug 1447015: Re-enable test_peerConnection_transceivers on linux debug. r=jib
MozReview-Commit-ID: HNxZl9Avwhk

--HG--
extra : rebase_source : d97ff16136a8b7185135157df72d58dcf6da6db3
2018-03-19 10:07:45 -05:00
Matthew Gregan
3eacaf6b89 Bug 1445546 - Initialize COM on the MediaManager thread. r=padenot
MozReview-Commit-ID: 92FErxjmDE5

--HG--
extra : rebase_source : a1c3c5a1dd08a81fff64c85e7a953052803de64c
2018-03-20 10:31:40 +13:00
Paul Adenot
598ec91d70 Bug 1437366 - Disable the test on Android, all the others are, there are now ways this one can pass. r=pehrsons
MozReview-Commit-ID: 4aefhOoJ8sv

--HG--
extra : rebase_source : d0124ae9a3b6004b38036969a1c9ce79f5c2d978
2018-03-15 14:41:54 +01:00
Paul Adenot
18a3b28518 Bug 1437366 - Lower the sample rate so that the test don't underrun on Windows on try. r=pehrsons
MozReview-Commit-ID: JCCh4k6pifE

--HG--
extra : rebase_source : 5d7a87cfa8b074a2100f666decb2e604a1e05587
2018-03-15 14:39:57 +01:00
Paul Adenot
885ea0a27a Bug 1437366 - Test that sending and receiving audio when using a graph with a sample-rate that is not supported by the MediaPipeline code works. r=pehrsons
MozReview-Commit-ID: 4c5zgkYCX2T

--HG--
extra : rebase_source : 0541e36e980572e08426a715d56b7e2d7c2d152c
2018-03-05 14:53:09 +01:00
Paul Adenot
43aa0c346f Bug 1437366 - Add a way to force the sample-rate used for a MediaStreamGraph. r=pehrsons
MozReview-Commit-ID: 4ICQiNKbUpJ

--HG--
extra : rebase_source : 686278509673cdd3b2705a5b20217ede075a8996
2018-03-02 19:27:57 +01:00
Peter Van der Beken
f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Nils Ohlmeier [:drno]
e2747ff63c Bug 1406529: added mochitest for extmap verification r=ng
MozReview-Commit-ID: QVn5MI0XdH

--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html => dom/media/tests/mochitest/test_peerConnection_basicAudioVideoVerifyExtmap.html
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html => dom/media/tests/mochitest/test_peerConnection_basicAudioVideoVerifyExtmapSendonly.html
extra : rebase_source : 866f93d306db933d988ea8ca476a625c9b3952d5
2018-03-05 22:07:05 -08:00
Daniel Holbert
edb2e41799 Bug 1447070: Give MediaKeySession.h the #include it needs to provide 'DecoderDoctorLifeLogger' type (to fix non-unified build error). r=gerald
MozReview-Commit-ID: An2FbvpI49I

--HG--
extra : rebase_source : 26a32a772cd2338e2124ae58342b64fb65ffbe49
2018-03-19 10:53:13 -07:00
Daniel Holbert
e4c1cd3677 Bug 1447091: Add #includes to fix non-unified bustage in dom/media. r=gerald
This fixes these two errors:
FileMediaResource.cpp:30:36: error: invalid use of incomplete type ‘class mozilla::AbstractThread’
   mCallback->AbstractMainThread()->Dispatch(

MediaTimer.cpp:50:3: error: ‘Unused’ was not declared in this scope
   Unused << rv;

MozReview-Commit-ID: WkPZc22dMF

--HG--
extra : rebase_source : 5704eb8bb36398be7aabaded9284b4f7263ef477
2018-03-19 11:48:38 -07:00
Dorel Luca
a04c12a681 Backed out changeset 231448afb53d (bug 1446505) for Mochitest failure on dom/media/webspeech/synth/test/test_bfcache.html. CLOSED TREE
--HG--
extra : amend_source : db6c502c4fe939ee072114a60636d3d1cbd96f1d
2018-03-17 01:30:37 +02:00
Eitan Isaacson
aa1affd1f8 Bug 1446505 - Don't pass topic when creating speech services. r=smaug 2018-03-16 12:15:00 +02:00
Eitan Isaacson
f765d0d585 Bug 1184142 - Support WebSpeech in GeckoView. r=snorp r=smaug
--HG--
extra : rebase_source : 81eb1ce2f67f70ee08908d69db54f8625df341cb
2018-03-16 12:08:00 +02:00
Sylvestre Ledru
8c732b1e60 Bug 1443080 - Now that we use static call, some var instances are not needed anymore r=Ehsan
MozReview-Commit-ID: AiuJIY8Gssl

--HG--
extra : rebase_source : 9bb9b7df30d502f8b3f5ffda719aea80109b07e9
2018-03-05 09:33:02 +01:00
Sylvestre Ledru
fa45a3c670 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Andreas Pehrson
32da610e23 Bug 1443803 - Protect against destroyed MediaStream in MediaEngineWebRTCMicrophoneSource. r=padenot
MozReview-Commit-ID: 3vyzS0DceKI

--HG--
extra : rebase_source : 127ff05f24c28c813af9cd3c90484fdedbf8faa2
2018-03-14 16:46:46 +01:00
Andreas Pehrson
85229c5bef Bug 1438134 - Resolve ApplyConstraints and end track on unexpected error. r=jib
MozReview-Commit-ID: 1uVHTCOwlQw

--HG--
extra : rebase_source : 62a77cacad9de70511fe73006a26da627f002d5c
2018-02-23 10:06:22 +01:00
Andreas Pehrson
1a2a215d37 Bug 1438134 - MozPromisify ApplyConstraints internals. r=jib
MozReview-Commit-ID: Gu9yOxFW1di

--HG--
extra : rebase_source : 419d1a85cb1d94512d7bcb122deedca68dc61b29
2018-02-23 10:05:42 +01:00
Andreas Pehrson
4c95dc3099 Bug 1438134 - Make the return value of MediaEngineSource::Reconfigure well defined. r=jib
MozReview-Commit-ID: DR3sdtdZkob

--HG--
extra : rebase_source : 35d60c11c8bd50547062af708cb009f7835b5893
2018-02-22 15:35:16 +01:00
Andreas Pehrson
f88baf18ca Bug 1438134 - Apply new capability only after stopping capture. r=jib
MozReview-Commit-ID: 6rtcyFpwxmP

--HG--
extra : rebase_source : 8f8b510f7a0369e2f07a61dbdfcaa9272674b0ad
2018-02-14 12:24:25 +01:00
Noemi Erli
da9500ef7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-15 19:44:05 +02:00
Noemi Erli
6e96a3f1e4 Merge autoland to mozilla-central. a=merge 2018-03-15 19:38:46 +02:00
Nicholas Nethercote
38dbedbf69 Bug 1445556 - Remove media.cubeb.sandbox from MediaPrefs. r=cpearce
Like the other media.cubeb.* prefs, it doesn't need to be a VarCache pref.

MozReview-Commit-ID: A2L8Tf3GAt

--HG--
extra : rebase_source : 86791123613c2f21e4a771c99cb079125495dec3
2018-03-14 16:53:47 +11:00
Nicholas Nethercote
91b9abd6e8 Bug 1445556 - Remove the media.playback.warnings-as-errors.stagefright-vs-rust pref. r=cpearce
It's unused.

MozReview-Commit-ID: 9SRWz8uj4wl

--HG--
extra : rebase_source : c36451b697959953cefb74ab7abfb46fdf0dcb5c
2018-03-14 16:11:44 +11:00
Nicholas Nethercote
112caaf2ed Bug 1445556 - Remove the media.rust.test_mode pref. r=cpearce
It's unused.

MozReview-Commit-ID: 4JDoKDxHqf6

--HG--
extra : rebase_source : 4d4d7578b18193f4969dfe8c39a3d0da5bd26e95
2018-03-14 15:58:46 +11:00
Adrian Wielgosik
27009d1b15 Bug 1445408 - Remove nsIDOMClientRect. r=bz
MozReview-Commit-ID: HP4E3cADa8i

--HG--
extra : rebase_source : caffa42f22f6c25d62d080aa6f65e5105ad263e9
2018-03-13 14:19:17 +01:00
Tom Ritter
3d9500b9f6 Bug 1440195 Add a random context seed for AudioContext and MediaStream r=baku
MozReview-Commit-ID: sHpVCgd8Fs

--HG--
extra : rebase_source : e1bbeab189b7a64c4ce051b74bc19a706b0fa1e8
2018-03-01 11:00:12 -06:00
Arthur Iakab
beb7d9aca5 Bug 1432025, disabling test_peerConnection_transceivers.html on Linux debug platform r=jmaher
--HG--
extra : rebase_source : bb870c0c3a4b0d0cdfbfc7aebc953b85d9d64322
2018-03-14 06:46:00 +02:00
Margareta Eliza Balazs
ca8cc145d5 Backed out 2 changesets (bug 1443942) for mda assertion failures in /build/build/src/dom/media/ChannelMediaResource.cpp
Backed out changeset e2f69088b1d7 (bug 1443942)
Backed out changeset 446bfe8412cb (bug 1443942)
2018-03-13 07:14:32 +02:00
Chris Pearce
2e59cf72c3 Bug 1443942 - Test for blocking midflight redirects in media elements. r=jya
Test that playback works if we don't block, doesn't if we do block, and does
if we do block and CORS is used.

MozReview-Commit-ID: 9PTZXLOdHIU

--HG--
extra : rebase_source : 9071542f9deb36063aa0de3386a75bc0ad111d20
2018-03-06 14:44:26 +13:00