Commit graph

201 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Gaming4JC
8d600c51ed Issue #1366 - Completely remove showModalDialog 2020-01-24 09:28:42 +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
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
Jeroen Vreeken
68c810a1ac Make matroska mime type checking more consistent. 2019-07-12 16:56:04 +08:00
Jeroen Vreeken
a960d679d5 Allow matroska mime types for video element and MSE
Allow avc (h.264) content in matroska/webm containers
2019-07-12 16:56:02 +08:00
wolfbeast
450910d668 [media] Rewrite AudioConverter::DownmixAudio
- Structure the code better
- Directly downmix to mono from multichannel
2019-05-31 07:18:47 +08:00
sotaro
9f852ea56e Check if CopyData succeeded. 2019-03-29 22:22:00 +08:00
wolfbeast
db3e9bd7ba Disallow getUserMedia on null principals. 2019-03-29 22:21:55 +08:00
wolfbeast
afd64584b1 Fix build bustage. 2019-03-23 06:58:47 +08:00
trav90
cdc953632f [EME] Remove WidevineDecryptor::OnLegacySessionError
Not needed for more recent CDM versions.
2019-03-23 06:58:45 +08:00
trav90
d906bfd12d Build bustage fixes 2019-03-23 06:58:43 +08:00
trav90
7b93eff482 Style fixes 2019-03-23 06:58:42 +08:00
trav90
3c387b898a [EME] Cherry-pick fix for content_decryption_module.h
Fixes build bustage with GCC/clang.
2019-03-23 06:58:40 +08:00
trav90
e337ec5632 [EME] Add content_decryption_module_ext.h 2019-03-23 06:58:38 +08:00
trav90
58116c6950 [EME] Update content_decryption_module.h to more recent revision
Adds support for cdm::ContentDecryptionModule_9 and cdm::Host_9 definitions, HDCP definitions, and 10 and 12 bit image format definitions.
2019-03-23 06:58:37 +08:00
trav90
a8d231e0a9 [EME} Hackily implement cdm::Host_9::RequestStorageId
TODO: Implement this properly in the future.
2019-03-23 06:58:35 +08:00
trav90
eb2e8d7f92 [EME] Make WidevineAdapter compatible with CDM version 9
NOTE: this breaks compatibility with CDM version 8.
2019-03-23 06:58:34 +08:00