Commit graph

321 commits

Author SHA1 Message Date
Moonchild
cd1c94480d Issue #1560 - Always include speech synthesis IPDLs
This is entangled with the IPC messaging configuration so
we need these IPDLs even if sppech synthesis is otherwise
not being built.

This resolves #1560
2020-06-10 21:00:11 +08:00
Moonchild
594c930eca Issue #439 - Remove, fix and clean up automated tests
With the big amount of code churn around DOM a lot of tests
broke severely enough that they caused build bustage.
This commit cleans up, removes or otherwise fixes tests
that are broken, no longer relevant or obsolete.
2020-06-10 21:00:09 +08:00
Gaming4JC
d9c487dfd1 Issue #1580 - Add missing MP3Demuxer.h to MediaDecoderReader.h
Follow up for dom/media work on Issue #80. Fixes non-optimized build bustage.
2020-06-10 20:59:47 +08:00
Roy Tam
5c4cee240f Merge remote-tracking branch 'origin/master' into custom 2020-06-06 07:27:53 +08:00
Moonchild
179b6782d5 Fix missing include 2020-06-06 07:21:23 +08:00
Moonchild
b26dfcc543 Issue #80 - Re-land early dom/media de-unification with fixups.
For some reason these changes never got merged back to master
after reverting to work on a branch...
2020-06-06 07:21:21 +08:00
Moonchild
0ae2d2fb2e Bug 1632717 2020-06-06 07:21:12 +08:00
Roy Tam
1a8a524849 Merge remote-tracking branch 'origin/master' into custom 2020-05-23 06:59:40 +08:00
Moonchild
5f14f0126f Issue #1538 - remove speech recognition engine
This removes speech recognition, pocketsphinx, training models
and the speech automated test interface.
This also re-establishes proper use of MOZ_WEBSPEECH to work
for the speech API (synthesis part only) that was a broken mess
before, with some synth parts being always built, some parts
being built only with it enabled and recognition parts being
dependent on it. I'm pretty sure it'd be totally busted if you'd
ever have tried building without MOZ_WEBPEECH before.

Tested that synthesis still works as-intended.

This resolves #1538
2020-05-23 06:56:16 +08:00
Roy Tam
d477f61fc1 Merge remote-tracking branch 'origin/master' into custom 2020-05-16 06:50:41 +08:00
athenian200
7ae0c88c46 Issue #1540 - Stop MP3 demuxer from choking on very small files. 2020-05-16 06:48:09 +08:00
wolfbeast
84053aba97 Issue #1589 - Ensure computed length and data is always available 2020-05-16 06:48:05 +08:00
Roy Tam
bd1e07b203 Merge remote-tracking branch 'origin/master' into custom 2020-05-09 07:01:19 +08:00
Moonchild
2d3f069ae8 Issue #1536 - Part 3: Parse content to decide whether it's an init segment. 2020-05-09 06:56:53 +08:00
wolfbeast
c604c8363d Issue #1536 - Part 2: Parse content to decide whether it's a media segment. 2020-05-09 06:56:49 +08:00
wolfbeast
d71453cef3 Issue #1536 - Part 1: Add timecode checking for the WebM parser 2020-05-09 06:56:47 +08:00
Moonchild
2442d307b5 [dom] Reorder some calls to improve memory safety 2020-05-09 06:56:35 +08:00
Roy Tam
02cd457457 fix build after merge 2020-05-02 10:08:13 +08:00
Roy Tam
1453f13d33 Merge remote-tracking branch 'origin/master' into custom 2020-05-02 09:19:25 +08:00
adeshkp
fb67c8b028 Issue #80 - Fix includes in dom/media/platfoms for Mac build 2020-05-02 08:27:39 +08:00
wolfbeast
2d7441fe5e Issue #80 - Fix include in dom/media for Pale Moon builds. 2020-05-02 08:26:25 +08:00
New Tobin Paradigm
8378fccf31 Add Unused.h to dom/media/webrtc/MediaTrackConstraints.cpp 2020-05-02 08:26:03 +08:00
adeshkp
b788c64cea Issue #80 - Fix includes in dom/media/platforms for Mac build 2020-05-02 08:25:32 +08:00
Moonchild
5d8031cf76 Issue #80 - De-unify dom/media part 3
Excluding /dom/media/webrtc for bad template use:
MediaTrackConstraints.cpp/h
MediaEngineCameraVideoSource.cpp and
MediaEngineRemoteVideoSource.cpp
2020-05-02 08:23:48 +08:00
Moonchild
527ad10c12 Issue #80 - De-unify dom/media part 1 (updated reland)
This de-unifies up to and including dom/media/platforms with the exception of
dom/media/platforms/wmf, because that one throws weird errors in the Win
SDK which don't have a clear cause (yet)
2020-05-02 08:23:45 +08:00
Moonchild
294a1da59b Revert "Issue #80 - De-unify dom/media part 1"
This reverts commit b5b62d841c733dcb62112f3158f1488e670671d6.
2020-05-02 08:23:42 +08:00
Moonchild
730d952e1b Issue #80 - De-unify dom/media part 2 2020-05-02 08:23:39 +08:00
Moonchild
094d4730dd Issue #80 - De-unify dom/media part 1
This de-unifies up to and including dom/media/platforms with the exception of
dom/media/platforms/wmf, because that one throws weird errors in the Win
SDK which don't have a clear cause (yet)
2020-05-02 08:23:36 +08:00
Matt A. Tobin
04c723d568 Issue #80 - De-unify dom/media/webm 2020-05-02 08:19:26 +08:00
Matt A. Tobin
4be245aede Issue #80 - De-unify dom/media/flac 2020-05-02 08:19:24 +08:00
Matt A. Tobin
3b247782e1 Issue #80 - De-unify dom/media/mp3 2020-05-02 08:19:22 +08:00
Matt A. Tobin
f09bb5b0c7 Issue #80 - De-unify dom/media/ogg 2020-05-02 08:19:20 +08:00
Matt A. Tobin
de5ee6828b Issue #80 - De-unify dom/media/encoder 2020-05-02 08:19:19 +08:00
Matt A. Tobin
4bef219675 Issue #80 - De-unify dom/media/mediasink 2020-05-02 08:19:17 +08:00
Matt A. Tobin
5df7f379c4 Issue #80 - De-unify dom/media/wave 2020-05-02 08:19:15 +08:00
Roy Tam
03b286c4d8 Revert following changes for fixing Primetime issue:
- Issue #26 Part 2a: make more EME code conditional. (99118e38e)
- Issue #26 - Part 2b: Stub out GMPDecryptorProxy functions. (d44c61bf6)
- Issue #26 - Part 2c: Remove dependence on gmp/widevine-adapter/* (4c9689f68)
- Issue #1392 - Change --enable-eme to MOZ_ARG_ENABLE_BOOL and remove MOZ_EME_MODULES (832d84d2c)
- [Basilisk] Issue MoonchildProductions/UXP#1392 - Remove usage of MOZ_EME_MODULES (3a165cd)
- Issue #65 - Remove AppConstants from toolkit/mozapps/extensions (758618b60)
2020-03-01 08:30:28 +08:00
Roy Tam
c9f0b81b06 Merge remote-tracking branch 'origin/master' into custom 2020-02-07 08:01:35 +08:00
wolfbeast
8780b1f3d8 Issue #26 - Part 2c: Remove dependence on gmp/widevine-adapter/* 2020-02-07 07:59:11 +08:00
wolfbeast
995d48aa96 Issue #26 - Part 2b: Stub out GMPDecryptorProxy functions.
If EME isn't built, these functions would have no use and the callback
structures are unavailable. Stubbing these out will still allow the
callers to work unchanged, but in effect simply always return without
dispatching a promised task.
This fixes the dependency issue from part 2a.
2020-02-07 07:59:07 +08:00
wolfbeast
429f908af1 Issue #26 Part 2a: make more EME code conditional.
- Exclude missed MediaKey functions and CDMProxy code.
- Exclude EME APIs frm being built (webidl change)
- Fix tests in --disable-eme state
2020-02-07 07:59:01 +08:00
Matt A. Tobin
6f34507144 Issue #65 - Remove AppConstants from dom/ 2020-02-07 07:52:28 +08:00
Roy Tam
678ad26488 Merge remote-tracking branch 'origin/master' into custom 2020-01-24 09:39:16 +08:00
Gaming4JC
8d600c51ed Issue #1366 - Completely remove showModalDialog 2020-01-24 09:28:42 +08:00
Roy Tam
dd094ae552 patch from Sami<samiwieciekto at gmail.com> with pref guard:
Enable skipping loop filter and allow non spec compliant speedup tricks.
to enable, create new boolean pref "media.ffmpeg.skip_loop_filter" and set it to true.
2019-12-30 23:58:56 +08:00
Roy Tam
09a00ad3bd Merge remote-tracking branch 'origin/master' into custom 2019-11-04 11:56:53 +08:00
athenian200
45bf760ac5 MoonchildProductions#1251 - Part 27: Fix ifdef style.
This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
2019-11-04 11:54:07 +08:00
athenian200
afb2e3a054 MoonchildProductions#1251 - Part 4: Core build system changes, lots of libevent/IPC junk.
This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else.

I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
2019-11-04 11:52:17 +08:00
Roy Tam
2afee714fb Merge remote-tracking branch 'origin/master' into custom 2019-07-19 10:08:05 +08:00
Jeroen Vreeken
3dfc953945 Alow AAC audio codec data in matroska/webm streams.
Allow CRC32 elements in matroska cluster elements.
2019-07-19 10:04:57 +08:00
Bryce Van Dyk
30f4771cb7 Use a RefPtr to hold owner element ref when moving media resource load
to background.
2019-07-19 10:04:45 +08:00