Commit graph

173 commits

Author SHA1 Message Date
Moonchild
24ec8b9031 [webrtc] Only init WebRtcAec callbacks once 2020-11-20 09:31:51 +08:00
Moonchild
d5919942ff Issue #1656 - Part 8: Devtools and misc. 2020-09-25 22:06:55 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild
538b420319 Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +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
Matt A. Tobin
c371979637 Add license header to media/webrtc/trunk/build/mac/find_sdk_uxp.py 2020-08-06 10:22:53 +08:00
Matt A. Tobin
91d2c4c05a Use an alt script to properly determine the OSX SDK version 2020-08-06 10:22:51 +08:00
Byron Campen [:bwc]
36e1df9ffb [WebRTC] Make candidate pair insertion code easier to read/understand.
Includes removing an error code for a function that never fails, and removing an
error return when the function successfully did what it said it would.

Ref: BZ 1644477
2020-07-10 22:18:45 +08:00
Fedor
086a028a16 Issue #1558 - Prevent null deref crash in WebrtcVideoConduit DTOR 2020-05-30 07:13:18 +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
Jiaxun Yang
076a13bb2d Issue #1542 - [mtransport] Fix unaligned memory allocation in r_memory
Unaligend memory access can't work on RISC.
2020-05-23 06:55:28 +08:00
Jiaxun Yang
cc24eccfce Bug 1426323 - Media: WebRTC: Fix build config for MIPS64
Tag: #1542
2020-05-23 06:55:26 +08:00
Jiaxun Yang
2b6293d816 Issue #1542 - [WebRTC] Set CPU speed to -1 on MIPS
CPU is pretty slow due to lack of SIMD optmization.
2020-05-23 06:55:22 +08:00
Jiaxun Yang
8a6ebcdf2f Issue #1542 - [WebRTC] Don't use post proc on MIPS 2020-05-23 06:55:19 +08:00
Jiaxun Yang
8750eed647 Bug 1384826 - Media: WebRTC: Fix build config for MIPS
Tag: #1542
2020-05-23 06:55:16 +08:00
Matt A. Tobin
8ca630ef64 Issue #1531 - Work around GCC 10 defaulting to -fno-common in media/ffvpx/libavcodec/
Build Reference:
26:39.53 ../../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/flac_parser.o: multiple definition of 'ff_flac_parser'
26:39.53 ../../../build/unix/gold/ld: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/dummy_funcs.o: previous definition here
26:39.53 collect2: error: ld returned 1 exit status
26:39.53 gmake[4]: *** [/home/mattatobin/development/binoc-central/platform/config/rules.mk:773: libmozavcodec.so] Error 1

See also: https://gcc.gnu.org/gcc-10/porting_to.html
2020-05-09 06:55:05 +08:00
Matt A. Tobin
b746a4196a Move aom source to a sub-directory under media/libaom
There is no damned reason to treat this differently than any other media lib given its license and there never was.
2020-04-11 09:40:44 +08:00
JMadgwick
1640ee7bc6 Issue #1471 - Fix building on sparc64 Linux
Correct various pre-processor defines for sparc64 and in mozjemalloc use the JS arm64 allocator on Linux/sparc64.
This corrects build problems opn Linux sparc64 and is in line with bugzilla bug #1275204.
2020-04-03 09:26:50 +08:00
Matt A. Tobin
ecf0a07d12 Issue #1319 - Remove EARLY_BETA_OR_EARLIER condition 2020-03-05 09:38:16 +08:00
wolfbeast
fced04faa2 Issue #1342 - Remove support for system libvpx 2020-02-07 07:52:18 +08:00
wolfbeast
e82bb23d7e Reject sample rates that are out-of-range for libsoundtouch.
We never reach this with our normal use of this lib but adding the
sanity check just in case. (ported from upstream)
2020-01-09 21:23:49 +08:00
Christian Holler
39c9c5849b Check return value of PeerConnectionImpl::GetFingerprint. 2019-12-07 06:55:08 +08:00
Gaming4JC
3c2728e97e Issue #1271 - Fix build failure in current in-tree libcubeb sndio module
Fixes build error due to errant typecast in PTHREAD_MUTEX_INITIALIZER.
2019-11-04 11:54:34 +08:00
Gaming4JC
84c1e8ce10 Issue #1265 - Expose sndio as a build option for any supporting system 2019-11-04 11:54:32 +08:00
athenian200
cbf60a2058 Fix a bunch of dumb typos and omissions. 2019-11-04 11:53:57 +08:00
athenian200
c3adb0a157 MoonchildProductions#1251 - Part 14: libstagefright build should avoid _GLIBCXX_OS_DEFINES.
https://bugzilla.mozilla.org/show_bug.cgi?id=1367775

Windows already requires this ifdef, Solaris needs it too. Not much more to say, but I can do research and follow up on this if asked.
2019-11-04 11:52:34 +08:00
athenian200
c19f252ab2 MoonchildProductions#1251 - Part 11: libpng uses C89 now to avoid buffer overflows.
https://bugzilla.mozilla.org/show_bug.cgi?id=1371266
12e63e91af

This sounds absurd, and the fact that we had to change a C++ comment to a C-style comment on account of this may seem hilarious and inconsequential, but this isapparently not a joke and leaving it as it is now may be a bad idea.
2019-11-04 11:52:30 +08:00
athenian200
68ee7c2d20 MoonchildProductions#1251 - Part 6: Solaris needs an audio implementation.
Current versions of libcubeb already have a Sun audio implementation, but in Firefox 52 and earlier, this was all they had. I'm not completely happy with this implementation because it has issues like video freezing if the soundcard isn't working, but I think fixing this or pulling in a newer libcubeb would be going too far for too little gain.
2019-11-04 11:52:21 +08:00
Byron Campen
df83678e80 Prevent nr_ice_component_insert_pair from leaking. 2019-10-25 12:00:23 +08:00
Dmitry Grigoryev
12fba36d6e Added missing libwebp files to update.sh 2019-10-18 09:04:55 +08:00
Dmitry Grigoryev
9d42392ea8 Added missing libwebp NEON files 2019-10-05 07:22:24 +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
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
dfb01e0384 Ensure we AddRef prior to early return in MediaType::Assign. 2019-05-31 07:21:30 +08:00
wolfbeast
269dfa5bac [libpng] Backport an upstream libpng patch. 2019-05-31 07:18:30 +08:00
adeshkp
888d5e5395 Fix warnings about unreachable code in cubeb 2019-03-16 07:04:14 +08:00
trav90
a137fdb1c1 Always treat composition time offsets as signed
Even for version 0 ctts atoms that technically should contain only
unsigned values.
2019-02-16 00:27:32 +08:00
wolfbeast
072fbe1a93 Update libwebp to version 1.0.2
This resolves #939.
2019-02-16 00:24:34 +08:00
adeshkp
aea50f182f Telemetry: Remove stubs and related code 2019-02-16 00:24:04 +08:00
trav90
5949fc61dc [FFmpeg] Use new decode API with recent FFmpeg version.
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.
2019-02-16 00:23:10 +08:00
trav90
44d2451bf7 Remove omx-plugin 3rd party libs 2019-02-16 00:22:41 +08:00
trav90
ef2f6d6f28 Remove Rust files from media gtests 2019-02-16 00:21:08 +08:00
trav90
ea4e32bd8a Add support to libstagefright for AV1 FourCCs (part 2) 2019-02-16 00:19:37 +08:00
trav90
06fc050848 Add support to libstagefright for AV1 FourCCs 2019-02-16 00:19:36 +08:00
wolfbeast
071df50781 Clear STDINT_H defines in libvpx config before setting them for lib use. 2019-02-16 00:18:50 +08:00
trav90
368651059a Update libaom to commit ID 1e227d41f0616de9548a673a83a21ef990b62591 2019-02-16 00:17:46 +08:00
trav90
77c9089b7d Update libaom vendor scripts to account for upstream changes 2019-02-16 00:17:43 +08:00
trav90
656835e767 [aom] Only build stats code if examples are enabled 2019-02-16 00:17:42 +08:00
trav90
3d109dd4fc Update libaom to rev b25610052a1398032320008d69b51d2da94f5928 2019-02-16 00:17:40 +08:00
trav90
8493557d20 [aom] No longer necessary to run lint_config.sh anymore
Upstream can now code generate the rtcd interface files directly from the aom_config.h header, so we no longer have to generate an intermediate file by running lint_config.sh. This also means we can remove the code for creating a temporary directory.
2019-02-16 00:17:38 +08:00