Commit graph

171 commits

Author SHA1 Message Date
Moonchild
368848ad12 [DOM media] Adjust lock scope in MediaSourceDemuxer 2022-03-22 23:15:03 +08:00
Moonchild
e5d81e17d3 [DOM media] Add a lock around Reset() in WebMBufferedParser 2022-03-22 23:13:43 +08:00
roytam1
258790bf38 Bug 1737816 - Handle truncated mp3 resources. r=bryce, a=RyanVM 2022-01-19 10:27:41 +08:00
roytam1
62a879b694 Bug 1746011 - Handle truncated ADTS stream. r=bryce, a=RyanVM 2022-01-19 10:27:26 +08:00
Moonchild
a6ae35ba91 Issue #1751 -- Remove cocoa support code from /dom 2021-05-10 09:54:32 +08:00
Moonchild
2f27335cc4 Issue #1751 -- Remove XP_DARWIN 2021-05-05 10:27:04 +08:00
Moonchild
d29e4f8306 Issue #1751 -- Remove XP_MACOSX conditionals from /dom 2021-05-05 10:26:13 +08:00
Moonchild
b8f2ada817 Issue #1053 - Remove __ANDROID__ defines (except in third party code) 2021-03-25 09:04:29 +08:00
Moonchild
348c6604be Issue #1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE 2021-03-12 08:59:50 +08:00
Moonchild
0ced696351 Issue #1053 - Remove Android-specific blocks from system headers and /dom 2021-03-12 08:57:47 +08:00
Moonchild
1835a24351 [webaudio] Fix up ReverbInputBuffer's writeIndex. 2021-01-27 21:03:00 +08:00
Moonchild
787b0a52a3 Issue #1053 - Part 3b: Remove AndroidSurfaceTexture and Android media decoder
interface.
2021-01-01 10:01:11 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild
30df895eb2 Issue #1656 - Part 3: Nuke more vim config lines in the tree.
Another S&R run with some smarter matching.
2020-09-25 22:04:17 +08:00
Moonchild
8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
Moonchild
f15da2d08c [webaudio] Keep track of whether the HRTF database has already been loaded.
This DiD measure ensures that our async HRTF database loading is completed
before we actually try to use it. If not done, database() simply returns null.
2020-09-25 22:04:06 +08:00
Moonchild
e1b0d4eea1 [dom/media] Use an atomic for mInputDeviceID to avoid potential race 2020-09-25 22:04:04 +08:00
Moonchild
f5f9c8c597 Issue #1224 - Remove constant expressions from /dom
This excludes DOMProxy handlers in dom bindings because that's intertwined with
codegen and js that needs to be handled together.
2020-09-18 20:53:42 +08:00
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
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