Commit Graph

2244 Commits

Author SHA1 Message Date
Paul Adenot
b73923ad6a Bug 1049478 - Fix volume handling in cubeb's PulseAudio backend: revert to soft-volume when needed. r=kinetik
--HG--
extra : rebase_source : 16c2702a4304047e266c07c02f868510c9860f75
2014-08-08 13:26:02 +02:00
Karl Tomlinson
e460833f90 b=995075 update speex resampler to speexdsp 769dc295 r=padenot
--HG--
extra : rebase_source : 786ee924d4d41745bfad84fbf9457c82db4158fb
2014-08-07 18:13:12 +12:00
Randell Jesup
e4c16f46ec Bug 1041369: one more missing line in the previous bustage fix r=bustage 2014-08-07 11:09:34 -04:00
Randell Jesup
9de8117656 Bug 1041369: unified build: missing include of scoped_ptr.h r=bustage 2014-08-07 10:38:52 -04:00
Randell Jesup
e9cbeec72f Bug 1041369: add lost stub in null window capture device for Refresh() r=bustage 2014-08-07 10:26:26 -04:00
Roman Skalish
096f2ca6eb Bug 1041369 - Rescan window list on each getUserMedia window/screensharing request. r=jesup, r=gcp 2014-08-01 02:14:00 -04:00
Matthew Gregan
87acb958cd Bug 992238 - Disable test_init_destroy_multiple_contexts_and_streams on Windows 7. r=padenot 2014-08-05 21:57:00 -04:00
EKR
aec4a27541 Bug 1049291 - Remove uses of select() in SIPCC SIP task r=ehugg 2014-08-06 17:56:27 -07:00
Mike Hommey
89777800f9 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
9be788de2f Bug 1050037 - Remove STLPORT_LIBS/STLPORT_LDFLAGS from Makefiles. r=mshal 2014-08-07 13:48:10 +09:00
Anthony Jones
6a71a89b01 Bug 1048517 - Initialised potentially uninitialised variables; r=cpearce 2014-08-07 16:40:01 +12:00
Chris Pearce
473fc8784b Bug 1049309 - Remove no-op code in libstagefright. r=kentuckyfriedtakahe 2014-08-07 12:03:38 +12:00
Randell Jesup
b238e887ea 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
4bd9e956fb Merge mozilla-central and inbound 2014-08-06 13:43:41 +01:00
Ed Morley
87f4ab810e Merge latest green inbound changeset and mozilla-central; a=merge 2014-08-06 13:37:48 +01:00
Wes Kocher
659f33fb19 Merge m-c to fx-team on a CLOSED TREE 2014-08-05 17:38:06 -07:00
Mike Hommey
d9443ec932 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
59d69dd939 Bug 1042525 - Add missing null implementation for screensharing. r=gcp 2014-08-01 11:43:00 +02:00
Martin Thomson
801b389e82 Bug 1048261 - Safe dispatch from DTLS connect to PeerConnectionImpl. r=jesup, r=bwc 2014-08-05 12:18:56 -07:00
EKR
120cc2db6c Bug 1028582 - Modify TransportLayerDtls to force a fresh ECDHE server key. r=mt 2014-08-05 09:06:48 -07:00
Martin Thomson
711095092a Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
a59efbec25 Bug 996237 - Tests for cipher mismatch. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
68d95f7646 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-08-04 11:49:00 -04:00
Martin Thomson
25a9f7a101 Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-08-04 11:49:00 -04:00
Gian-Carlo Pascutto
ad0d16d160 Bug 1043350 - Do not disable Aero mode when screen capturing. r=jesup 2014-08-05 15:48:15 +02:00
Mike Hommey
9b3caa8d68 Bug 1048064 - Fix libstagefright build on GNU/kFreeBSD. r=ajones 2014-08-05 16:07:28 +09:00
Anthony Jones
d66cd54dfd Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 18:12:48 +12:00
Wes Kocher
2cccd1da41 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
271a7fa9ac Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 13:35:04 +12:00
Randell Jesup
069c0436b4 Bug 1048261: Fix SetDtlsConnected() r=bwc 2014-08-04 16:31:45 -04:00
Ryan VanderMeulen
7ee6b0a0ef Backed out changeset db13171100fa (bug 1041369) for frequent mochitest-3 failures.
CLOSED TREE
2014-08-04 13:55:14 -04:00
Ed Morley
18bdcf00f8 Backed out changeset ab292958d0e7 (bug 996237) for build failures on Android 2014-08-04 15:34:42 +01:00
Ed Morley
06a6fec094 Backed out changeset 1015ade997be (bug 996237) 2014-08-04 15:34:25 +01:00
Ed Morley
2411484004 Backed out changeset 5cc4c2e9f1e4 (bug 996237) 2014-08-04 15:34:22 +01:00
Ed Morley
824e8cae51 Backed out changeset 7c32b87be327 (bug 996237) 2014-08-04 15:34:18 +01:00
Roman Skalish
f0d1b5ed66 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
7d2eb97295 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-07-31 17:47:00 -04:00
Martin Thomson
9999772dad Bug 996237 - Tests for cipher mismatch. r=ekr 2014-07-31 17:45:00 -04:00
Martin Thomson
442c1b12d2 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-07-31 10:47:00 -04:00
Martin Thomson
e68d6a644d Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-07-31 17:45:00 -04:00
Edmund Wong
8892b984f2 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
81f4f63679 Bug 1042689 - Deal with a native stopCapture if the camera is paused. r=jesup 2014-08-04 08:29:45 +02:00
Karl Tomlinson
965e3f8650 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
ddcaf3a3a7 b=1042508 enable neon resampler optimizations r=padenot
--HG--
extra : rebase_source : fd984143b78ecf25a5158715dd8bed8df7398945
2014-07-22 16:51:08 +12:00
Karl Tomlinson
ee8186f60a 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
5a1e783dae 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
75884b1238 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
cc0c4ee1b1 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
854041b4fe Bug 1046549 - Ignore mdat unless we've already found a media track. r=kentuckyfriedtakahe 2014-07-31 18:54:12 +12:00
Randell Jesup
09d1cfa221 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
00588c59cc 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
acbb3b1f28 Bug 1047442: reacquire _sendCritSect within webrtc Encoded() callback (upstream patch) r=pkerr 2014-08-01 17:27:50 -04:00
Jeff Walden
46844a73d5 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
e953ea9c38 Merge inbound to m-c. a=merge 2014-08-01 15:59:05 -04:00
Gian-Carlo Pascutto
997fb49dfe 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
4162ea1110 Bug 1032438 - Fix warnings in r_bitfield.c. r=abr 2014-07-02 08:35:00 -04:00
Anuj Agarwal
33ada8cf4a Bug 1028142 - Make the destructor of CSF::VideoControl private. r=abr 2014-07-31 10:05:59 -07:00
Andrew McCreight
fdad292f40 Bug 1028141 - Remove dangerous public destructor of CSF::AudioControl. r=abr 2014-07-31 10:05:59 -07:00
Andrew McCreight
c095cf59fb Bug 1029478 - Remove dangerous public destructor of TransportFlow. r=abr 2014-07-31 10:05:58 -07:00
Nathan Froyd
12c76f15f7 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
0c857fc7bc Bug 1045468: WebRTC should support SVC NAL(NAL type 14) for H264 r=jesup 2014-07-31 06:45:08 -07:00
Chris Kitching
1c4b9162a4 Bug 1047971: Delete even more redundant field initialisers r=rnewman 2014-08-03 02:21:42 -07:00
Randell Jesup
f9a51f67db Bug 1043808: bustage fix for #includes that didn't get deleted r=bustage 2014-07-30 18:03:01 -04:00
Randell Jesup
03e5a05262 Bug 1043808: remove assertions that video is an even number of pixels r=pkerr 2014-07-30 17:35:12 -04:00
Randell Jesup
eafd2c4f9e 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
b18d697104 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
890c626840 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
f7f24c3721 Bug 1045018 - Make webrtc.org code use mozilla_set_coreaudio_notification_runloop. r=gcp 2014-07-29 18:45:06 +02:00
Paul Adenot
559f8bc457 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
2e14d9f533 Bug 1027713 - Disable test_stress on windows 8 as well. 2014-07-29 18:45:05 +02:00
Paul Adenot
bd465041df Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik 2014-07-18 19:21:27 +02:00
Paul Adenot
9e1cbcca7a 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
859027a5ec 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
90c7b668ff 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
db2972728d Bug 1044447 - Remove a few unnecessary empty moz.build files. r=glandium 2014-07-28 18:02:44 -07:00
Gian-Carlo Pascutto
6bba4e1e18 Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
f4b445d796 Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot 2014-07-29 16:45:41 +02:00
Georg Fritzsche
46556d5773 Bug 1045500 - Allow differentiating GMP PluginCrashed events from others. r=jesup 2014-07-29 16:46:16 +02:00
Georg Fritzsche
48b52013e5 Bug 1043531 - Move PluginCrashed event generation to C++. r=smaug,jesup 2014-07-28 17:41:52 +02:00
Mike Hommey
5f6ba110e6 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Carsten "Tomcat" Book
06ad4c77ff merge fx-team to mozilla-central a=merge 2014-07-28 15:44:12 +02:00
Chris Kitching
c73d45de50 Bug 1041836: Delete redundant initialisers. (generated) r=rnewman 2014-07-25 20:14:47 -07:00
Wes Kocher
e97345c0bf Merge m-c to fx-team 2014-07-25 16:27:34 -07:00
Randell Jesup
a68cb6613a 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
161c1f03ea Backed out changeset b652396e9fd7 (bug 1015932) 2014-07-28 08:21:19 +02:00
Carsten "Tomcat" Book
6b2ed3392d Backed out changeset 689b75c98f2f (bug 1015932) 2014-07-28 08:21:16 +02:00
Gian-Carlo Pascutto
eed209a14e Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-28 08:10:21 +02:00
Gian-Carlo Pascutto
dae88782a2 Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot 2014-07-28 08:09:48 +02:00
Anthony Jones
02c96aa201 Bug 1044714 - Add MP4 parser 'trex' atom support; r=edwin 2014-07-28 16:32:51 +12:00
Anthony Jones
d3ef0039ef 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
873776ee8f 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
675707ecd5 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
6f46d0a0df 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
79ae487df4 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
094683c0e2 bug 1041493 - add support for browser to mediaSource constraint r=rjesup,khuey 2014-07-21 08:31:31 -04:00
Randell Jesup
aa28b37458 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
76ea372f0b Bug 1043531 - Cache PluginID in WebRTCVideoDecoder/Encoder if plugin Terminates unexpectedly r=jesup 2014-07-24 20:41:03 +02:00
Anthony Jones
cd04f88f69 Bug 1039128 - Fix drain of video queue 2014-07-25 14:57:25 +12:00
Randell Jesup
7513e8e6e3 Bug 1042765 - Better logging for GMP plugins r=cpearce 2014-07-24 21:47:44 -04:00
Randell Jesup
1965298721 Bug 1041232: Resolve GMP API lifetime issues and allow mid-call shutdown, etc r=cpearce 2014-07-24 21:47:40 -04:00