Commit Graph

2237 Commits

Author SHA1 Message Date
EKR
2b6461af20 Bug 1049291 - Remove uses of select() in SIPCC SIP task r=ehugg 2014-08-06 17:56:27 -07:00
Mike Hommey
cbe32e4bb3 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
d97f0c6e77 Bug 1050037 - Remove STLPORT_LIBS/STLPORT_LDFLAGS from Makefiles. r=mshal 2014-08-07 13:48:10 +09:00
Anthony Jones
01f9211958 Bug 1048517 - Initialised potentially uninitialised variables; r=cpearce 2014-08-07 16:40:01 +12:00
Chris Pearce
0fdc082dec Bug 1049309 - Remove no-op code in libstagefright. r=kentuckyfriedtakahe 2014-08-07 12:03:38 +12:00
Randell Jesup
b70ca94394 Bug 1045482: Wrap X11 calls for window lists and XQueryPointer in error trapping to avoid asserts on X11 errors r=karlt 2014-08-06 20:01:33 -04:00
Ed Morley
9ef22593ff Merge mozilla-central and inbound 2014-08-06 13:43:41 +01:00
Ed Morley
7d749f438e Merge latest green inbound changeset and mozilla-central; a=merge 2014-08-06 13:37:48 +01:00
Wes Kocher
3ab8654106 Merge m-c to fx-team on a CLOSED TREE 2014-08-05 17:38:06 -07:00
Mike Hommey
1cb5547cd1 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Randall Barker
656f584dc2 Bug 1042525 - Add missing null implementation for screensharing. r=gcp 2014-08-01 11:43:00 +02:00
Martin Thomson
e75f1e20f6 Bug 1048261 - Safe dispatch from DTLS connect to PeerConnectionImpl. r=jesup, r=bwc 2014-08-05 12:18:56 -07:00
EKR
be4e8af9ae Bug 1028582 - Modify TransportLayerDtls to force a fresh ECDHE server key. r=mt 2014-08-05 09:06:48 -07:00
Martin Thomson
405b4af4f0 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
9b8bbd109c Bug 996237 - Tests for cipher mismatch. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
efdc5bd957 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-08-04 11:49:00 -04:00
Martin Thomson
ce7f778c77 Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-08-04 11:49:00 -04:00
Gian-Carlo Pascutto
fb4f1cc265 Bug 1043350 - Do not disable Aero mode when screen capturing. r=jesup 2014-08-05 15:48:15 +02:00
Mike Hommey
4b57640aed Bug 1048064 - Fix libstagefright build on GNU/kFreeBSD. r=ajones 2014-08-05 16:07:28 +09:00
Anthony Jones
f7a4a85952 Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 18:12:48 +12:00
Wes Kocher
1f9803cac1 Backed out 2 changesets (bug 1045909, bug 1045915) for build failures
Backed out changeset 70e3d6723e8e (bug 1045909)
Backed out changeset d137dd97d955 (bug 1045915)
2014-08-04 19:18:34 -07:00
Anthony Jones
56b30480ca Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 13:35:04 +12:00
Randell Jesup
dda52a9f88 Bug 1048261: Fix SetDtlsConnected() r=bwc 2014-08-04 16:31:45 -04:00
Ryan VanderMeulen
11f333f6bc Backed out changeset db13171100fa (bug 1041369) for frequent mochitest-3 failures.
CLOSED TREE
2014-08-04 13:55:14 -04:00
Ed Morley
aaa3b2b0da Backed out changeset ab292958d0e7 (bug 996237) for build failures on Android 2014-08-04 15:34:42 +01:00
Ed Morley
4b6690e97f Backed out changeset 1015ade997be (bug 996237) 2014-08-04 15:34:25 +01:00
Ed Morley
bc9c46b43a Backed out changeset 5cc4c2e9f1e4 (bug 996237) 2014-08-04 15:34:22 +01:00
Ed Morley
a1057d4fbb Backed out changeset 7c32b87be327 (bug 996237) 2014-08-04 15:34:18 +01:00
Roman Skalish
53a049fd17 Bug 1041369 - Rescan window list on each getUserMedia window/screensharing request. r=jesup, r=gcp 2014-08-01 02:14:00 -04:00
Martin Thomson
afe68fc69c Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-07-31 17:47:00 -04:00
Martin Thomson
e364b5e898 Bug 996237 - Tests for cipher mismatch. r=ekr 2014-07-31 17:45:00 -04:00
Martin Thomson
70ef04328a Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-07-31 10:47:00 -04:00
Martin Thomson
fab885deaa Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-07-31 17:45:00 -04:00
Edmund Wong
ce964296e8 Bug 1047999 - Move GmpVideoCodec.h after MediaConduitInterface.h in mediaconduit_unittests.cpp. r=jesup 2014-08-04 17:31:18 +08:00
Gian-Carlo Pascutto
441cecdcec Bug 1042689 - Deal with a native stopCapture if the camera is paused. r=jesup 2014-08-04 08:29:45 +02:00
Karl Tomlinson
c36e59e64e b=1045482 make XErrorTrap installation and removal thread-safe r=jesup
Error handling is now applied to the Display using async_handlers, instead of
replacing and trying to reinstate the XSetErrorHandler() global handler for
all Xlib Displays.

Inspired by use of the same Xlibint.h structures at
https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkasync.c?id=0e1a4248#n252
https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkasync.c?id=0e1a4248#n150
Compare use of _XAsyncErrorHandler in libX11.

--HG--
extra : rebase_source : 8bb16f09912b15e435441657e7275c9213b1a475
2014-08-01 17:58:24 +12:00
Karl Tomlinson
e2487a29c7 b=1042508 enable neon resampler optimizations r=padenot
--HG--
extra : rebase_source : fd984143b78ecf25a5158715dd8bed8df7398945
2014-07-22 16:51:08 +12:00
Karl Tomlinson
94cf83c83b b=1042508 remove : of empty Clobber asm argument r=padenot
https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Extended-Asm says

  asm [volatile] ( AssemblerTemplate : [OutputOperands] [ : [InputOperands] [ : [Clobbers] ] ] )

which implies that Clobbers is optional even after the third colon, but
the gcc used for b2g_try_emulator_dep builds says

resample_neon.c: In function 'saturate_32bit_to_16bit':
resample_neon.c:50: error: expected string literal before ')' token

--HG--
extra : rebase_source : 6ca7768d5b30f67ff6827acc9a4fdc51a672bc1e
2014-07-22 20:10:36 +12:00
Karl Tomlinson
6858d0226c b=1042508 move resampler simd optimizations to separate translation units r=padenot
This ensures that code in resample.c will run on Intel x86 cpus even when SSE
support has been compiled, and will provide similarly for neon support when
enabled.

--HG--
rename : media/libspeex_resampler/sse-detect-runtime.patch => media/libspeex_resampler/simd-detect-runtime.patch
rename : media/libspeex_resampler/src/resample_neon.h => media/libspeex_resampler/src/resample_neon.c
rename : media/libspeex_resampler/src/resample_sse.h => media/libspeex_resampler/src/resample_sse.c
rename : media/libspeex_resampler/src/sse_detect.cpp => media/libspeex_resampler/src/simd_detect.cpp
rename : media/libspeex_resampler/src/sse_detect.h => media/libspeex_resampler/src/simd_detect.h
extra : rebase_source : bdf1ef791129dedeadce7369354a5992729a99b7
2014-07-23 21:49:04 +12:00
Karl Tomlinson
944001f0dc b=1042508 tie resampler sample type choice to MOZ_SAMPLE_TYPE_S16 r=padenot
When built with FIXED_POINT speex_resampler_process_float() assumes the
samples are in the range ±0x7fff and so Gecko instead uses ConvertAudioSamples
and speex_resampler_process_int().  This decision is based on
MOZ_SAMPLE_TYPE_S16.

--HG--
extra : rebase_source : 1e67861478026dfa65b61a31e3272970a7094094
2014-07-22 15:41:50 +12:00
Karl Tomlinson
25a676b57c b=1042508 include resample_neon.h from speexdsp 305e54ea r=padenot
--HG--
extra : rebase_source : effe9aa434298b0b49099b6809d506b92075ad1c
2014-07-21 17:08:00 +12:00
Jean-Yves Avenard
3bd15454c8 Bug 1046549 - Ignore mdat unless we've already found a media track. r=kentuckyfriedtakahe 2014-07-31 18:54:12 +12:00
Randell Jesup
070fecbca9 Bug 1037830: Enforce size limit on returned encoded data from GMP plugins for webrtc r=ekr 2014-08-02 01:17:46 -04:00
Randell Jesup
3f84c257f8 Bug 1047442: Add thread to resolve deadlock on sendCritSect caused by sync Encode dispatch to GMPThread r=pkerr 2014-08-01 17:27:52 -04:00
Randell Jesup
8cc360d98f Bug 1047442: reacquire _sendCritSect within webrtc Encoded() callback (upstream patch) r=pkerr 2014-08-01 17:27:50 -04:00
Jeff Walden
61aa416138 Bug 1037100 - Remove all use of ScopedDeleteArray from media/. r=ekr
--HG--
extra : rebase_source : 0f32325b868e5e07b0d2966aea7057a940004be9
2014-07-10 20:03:12 -07:00
Ryan VanderMeulen
ca7c05bb4b Merge inbound to m-c. a=merge 2014-08-01 15:59:05 -04:00
Gian-Carlo Pascutto
387040ed56 Bug 1046275 - Fix potential concurrency bugs in Android WebRTC code. Remove inner classes. r=rnewman 2014-08-01 18:12:38 +02:00
Andrei Vlad Postoaca
2bd7b268bc Bug 1032438 - Fix warnings in r_bitfield.c. r=abr 2014-07-02 08:35:00 -04:00
Anuj Agarwal
19a9bfda22 Bug 1028142 - Make the destructor of CSF::VideoControl private. r=abr 2014-07-31 10:05:59 -07:00
Andrew McCreight
4c76c1a40a Bug 1028141 - Remove dangerous public destructor of CSF::AudioControl. r=abr 2014-07-31 10:05:59 -07:00
Andrew McCreight
60ad19ab2a Bug 1029478 - Remove dangerous public destructor of TransportFlow. r=abr 2014-07-31 10:05:58 -07:00
Nathan Froyd
d86ff9f990 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Ethan Hugg
6767d81d89 Bug 1045468: WebRTC should support SVC NAL(NAL type 14) for H264 r=jesup 2014-07-31 06:45:08 -07:00
Chris Kitching
564c96d5eb Bug 1047971: Delete even more redundant field initialisers r=rnewman 2014-08-03 02:21:42 -07:00
Randell Jesup
eab424663f Bug 1043808: bustage fix for #includes that didn't get deleted r=bustage 2014-07-30 18:03:01 -04:00
Randell Jesup
2da13a0777 Bug 1043808: remove assertions that video is an even number of pixels r=pkerr 2014-07-30 17:35:12 -04:00
Randell Jesup
f8ed49127e Bug 1043808: Don't allow content_analysis to half-initialize on small capture sizes r=pkerr 2014-07-30 17:35:05 -04:00
Ralph Giles
e99abd0350 Bug 941296 - h.264 platform decoder for OS X. r=cpearce
Implement an h.264 decoder using Apple's VideoToolbox framework.
Based on gstreamer's vtdec because there's very little documentation
for this API beyond the framework's header file.

Reuse the MOZ_APPLEMEDIA define from the mp3 decoder.

AAC decoding is stubbed to use the BlankDecoderModule's 440A tone.

Provide a stub header for the VideoToolbox framework and load
it dynamically at run time so we can build and run on versions
prior to MacOS X 10.8 where it's not available.

Dynamically load the CoreMedia framework as well, but build
against its headers since it's available on MacOS X 10.7 or
later, which is our minimum build version.
2014-07-24 13:47:00 -07:00
Karl Tomlinson
8ff2a07095 b=1033122 be consistent about speex_resampler symbol visibility r=khuey
When "speex/speex_resampler.h" was included, another exported header (in
dist/include) would find the speex/speex_resampler.h in dist/include before
dist/system_wrappers.  Visibility of undefined symbols depended on the order
of includes.

This patch changes includes to <speex/speex_resampler.h> so that
WRAP_SYSTEM_INCLUDES works as expected but removes the wrapper when not using
GKMEDIAS_SHARED_LIBRARY.

--HG--
extra : rebase_source : 93ca1dbdd6b489647624326e78539f44c60d0b34
2014-07-02 14:21:34 +12:00
Paul Adenot
3781947225 Bug 1045018 - Make webrtc.org code use mozilla_set_coreaudio_notification_runloop. r=gcp 2014-07-29 18:45:06 +02:00
Paul Adenot
63a1c179c9 Bug 1045018 - Make cubeb_audiounit.c use the new cubeb_set_coreaudio_notification_runloop function. r=kinetik 2014-07-29 18:45:06 +02:00
Paul Adenot
52fca951d9 Bug 1027713 - Disable test_stress on windows 8 as well. 2014-07-29 18:45:05 +02:00
Paul Adenot
2b12c90e8a Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik 2014-07-18 19:21:27 +02:00
Paul Adenot
b3e9ed1e0d Bug 1027713 - Part 3 - Add a cubeb API to signal that the output device changed. r=kinetik
The reentrant mutex is needed so that users can call back into cubeb's API from
the callback.
2014-07-29 18:45:03 +02:00
Paul Adenot
1b94212208 Bug 1027713 - Part 2 - Add a cubeb API to query the name of the audio output device in use. r=kinetik 2014-07-29 18:45:03 +02:00
Paul Adenot
9c87d86e7e Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik 2014-07-29 18:45:02 +02:00
Birunthan Mohanathas
feb82601ea Bug 1044447 - Remove a few unnecessary empty moz.build files. r=glandium 2014-07-28 18:02:44 -07:00
Gian-Carlo Pascutto
3021450e1b Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
195aa1baa8 Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot 2014-07-29 16:45:41 +02:00
Georg Fritzsche
62f8385e3d Bug 1045500 - Allow differentiating GMP PluginCrashed events from others. r=jesup 2014-07-29 16:46:16 +02:00
Georg Fritzsche
34be6cd058 Bug 1043531 - Move PluginCrashed event generation to C++. r=smaug,jesup 2014-07-28 17:41:52 +02:00
Mike Hommey
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Carsten "Tomcat" Book
da7e690ac3 merge fx-team to mozilla-central a=merge 2014-07-28 15:44:12 +02:00
Chris Kitching
ab1ff4b8a8 Bug 1041836: Delete redundant initialisers. (generated) r=rnewman 2014-07-25 20:14:47 -07:00
Wes Kocher
b1154f1e05 Merge m-c to fx-team 2014-07-25 16:27:34 -07:00
Randell Jesup
bc9058a7f1 Bug 1043808: Compile desktop_capture_impl.cc with the rest of desktop_capture r=ted 2014-07-25 11:21:54 -04:00
Carsten "Tomcat" Book
32b3ef21f1 Backed out changeset b652396e9fd7 (bug 1015932) 2014-07-28 08:21:19 +02:00
Carsten "Tomcat" Book
739fa1ca5d Backed out changeset 689b75c98f2f (bug 1015932) 2014-07-28 08:21:16 +02:00
Gian-Carlo Pascutto
ae88e7b948 Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-28 08:10:21 +02:00
Gian-Carlo Pascutto
53dfe1167a Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot 2014-07-28 08:09:48 +02:00
Anthony Jones
09e7290a91 Bug 1044714 - Add MP4 parser 'trex' atom support; r=edwin 2014-07-28 16:32:51 +12:00
Anthony Jones
21a2eb0432 Bug 1044713 - Modify MP4 metadata parser to make it less sensitive to atom ordering; r=edwin 2014-07-28 16:32:50 +12:00
Randell Jesup
c1776499d8 Bug 1043515: Add support for a preferred codec to be chosen/offered first always r=ehugg 2014-07-27 20:00:35 -04:00
Randell Jesup
f18ff52494 Bug 1043515: Ignore unknown fmtp values; partially fix unittests to handle H264_P0 disabled r=ehugg 2014-07-27 20:00:06 -04:00
Randell Jesup
96722f8a26 Bug 1043515: Add max-br and max-mbps H.264 SDP fmtp parameters; update supported h264 level r=ehugg 2014-07-27 19:59:46 -04:00
Ehsan Akhgari
e4e48ec561 Bug 1044478 - Just use the libraries that we really need when linking cubeb tests; r=padenot 2014-07-27 13:08:43 -04:00
Brad Lassey
7d6621a6b0 bug 1041493 - add support for browser to mediaSource constraint r=rjesup,khuey 2014-07-21 08:31:31 -04:00
Randell Jesup
a7151574c7 Bug 1043808: Clean up rounding of sizes in MediaPipeline to handle odd sizes correctly r=jhlin 2014-07-25 03:11:13 -04:00
Georg Fritzsche
a7d15d750a Bug 1043531 - Cache PluginID in WebRTCVideoDecoder/Encoder if plugin Terminates unexpectedly r=jesup 2014-07-24 20:41:03 +02:00
Anthony Jones
e1f9d03aaf Bug 1039128 - Fix drain of video queue 2014-07-25 14:57:25 +12:00
Randell Jesup
cad3a36e02 Bug 1042765 - Better logging for GMP plugins r=cpearce 2014-07-24 21:47:44 -04:00
Randell Jesup
d7e0b4a3b1 Bug 1041232: Resolve GMP API lifetime issues and allow mid-call shutdown, etc r=cpearce 2014-07-24 21:47:40 -04:00
Wes Kocher
a77e5f5308 Backed out 8 changesets (bug 1023947, bug 1027713) for frequent Cppunit test failures
Backed out changeset 03edb1ab3182 (bug 1027713)
Backed out changeset ad05dc816fa0 (bug 1023947)
Backed out changeset a56aad94c7c9 (bug 1023947)
Backed out changeset 63af4528bd9c (bug 1023947)
Backed out changeset b6bb38846333 (bug 1027713)
Backed out changeset c0045bb1849e (bug 1027713)
Backed out changeset 274b2b25d167 (bug 1027713)
Backed out changeset e0bba6f4966f (bug 1027713)
2014-07-24 13:57:03 -07:00
Chris Pearce
2f71387227 Bug 1038615 - Report GMP decoding/encoding errors asynchronously. r=jesup 2014-07-24 09:35:01 +12:00
Karl Tomlinson
baedae489b b=1042504 use direct resampler for 48->44.1k r=padenot
Transplanted from patch by Gregory Maxwell <greg@xiph.org>
http://git.xiph.org/?p=opus-tools.git;a=commitdiff;h=f426ab52

--HG--
extra : rebase_source : 457a874135b4fea8649d72299be96a79e7dcda64
2014-07-21 16:34:26 +12:00
Karl Tomlinson
d39213040a b=1042504 update speex resampler to speexdsp 305e54ea r=padenot
Upstream SATURATE32PSHR changes conflict with Gecko's SSE runtime
detection patch.  That patch is updated to reduce deviation from
upstream.

--HG--
extra : rebase_source : fdaf355f802b944fcbe286e076ca19dc6bc33f80
2014-07-23 16:58:45 +12:00
Karl Tomlinson
e8d441e44e b=1042504 switch speex resampler to speexdsp bbe7e099 r=padenot
This is the speexdsp revision most similar to what is currently in Gecko.

We'll want to keep the HUGEMEM variant that we currently have from
opus-tools, but that will be restored in a subsequent patch.

--HG--
extra : rebase_source : 0d0d881dc1c997a42c9386136f0b93fd15aa0331
2014-07-23 16:56:25 +12:00
Karl Tomlinson
83c550ad1b b=1042504 correct strip prefix for applying outside-speex patch r=padenot
--HG--
extra : rebase_source : 946eef24f2f585f992065430188bdbd2aff523de
2014-07-21 15:22:25 +12:00
Randell Jesup
cccb3d1b43 Bug 1042791: H.264 profile-level-id's in SDP have no leading '0x', breaking interop r=ehugg 2014-07-23 15:43:38 -04:00