Commit Graph

2354 Commits

Author SHA1 Message Date
Karl Tomlinson
d55bf5abac b=987679 update speex resampler to speexdsp d60e75b2 r=padenot
--HG--
extra : rebase_source : 8837b12e4e70daf5c089978079eeb5fa7bd278a4
2014-08-07 19:15:27 +12:00
Randell Jesup
583bfcfee0 Bug 1030112: Fix typo in OMX H264 encode timestamp matching and deal with SPS/PPS timestamp assignment r=jhlin 2014-07-03 10:54:22 -04:00
Mo Zanaty
b5a77e2104 Bug 1050461: Clean up webrtc upstream h264 mode 0 support and jitter buffer code, remove kludges r=jesup
Changes the H.264 RTP receiver to handle multiple NAL units per frame with
the same timestamp.
A single jitter buffer frame is created for all packets with the same RTP
timestamp. NAL units are depacketized upon insertion to the encoded frame
buffer. Depacketization includes insertion of start codes and removal of
fragmentation and aggregation unit headers.
2014-08-09 01:46:04 -04:00
Mike Hommey
a3eba4accf Bug 1050704 - Remove STLPORT_CPPFLAGS from Makefiles. r=mshal 2014-08-09 07:55:09 +09:00
Mike Hommey
e93b3d1687 Bug 1050081 - Remove media/webrtc/webrtc-config.mk. r=mshal 2014-08-09 07:54:39 +09:00
Martin Thomson
f732264a57 Bug 1006207 - Remove offset from Packet class, forcing use of recv over read. r=ekr 2014-08-04 15:35:00 -04:00
Martin Thomson
4c4bff04e7 Bug 1006207 - Remove unused mode_ code. r=ekr 2014-08-04 15:34:00 -04:00
Blake Wu
fe63f52d3d Bug 941302 - Part 4: Changes in demuxer to make aac_profile public. r=ajones
From 3d24ae2e30a7d53387b2e08cf3562f343cf99123 Mon Sep 17 00:00:00 2001
2014-08-07 18:17:48 +08:00
Paul Adenot
254410d00e Bug 1046592 - Fix bustage.
--HG--
extra : rebase_source : ca08f9c642c8ab6463551cf00ad8f4d9c9be02df
2014-08-08 14:19:14 +02:00
Paul Adenot
4e1c8b21e9 Bug 1046592 - Fix volume computation in cubeb's opensl backend. r=kinetik 2014-08-08 13:26:42 +02:00
Paul Adenot
7aab689f0a 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
999788eb34 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
410855c643 Bug 1041369: one more missing line in the previous bustage fix r=bustage 2014-08-07 11:09:34 -04:00
Randell Jesup
263a3ec2c7 Bug 1041369: unified build: missing include of scoped_ptr.h r=bustage 2014-08-07 10:38:52 -04:00
Randell Jesup
facb61a326 Bug 1041369: add lost stub in null window capture device for Refresh() r=bustage 2014-08-07 10:26:26 -04:00
Roman Skalish
6a8050e871 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
7d1f102037 Bug 992238 - Disable test_init_destroy_multiple_contexts_and_streams on Windows 7. r=padenot 2014-08-05 21:57:00 -04:00
EKR
8b8d92e134 Bug 1049291 - Remove uses of select() in SIPCC SIP task r=ehugg 2014-08-06 17:56:27 -07:00
Mike Hommey
0f4c5d9244 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
490b04e4f0 Bug 1050037 - Remove STLPORT_LIBS/STLPORT_LDFLAGS from Makefiles. r=mshal 2014-08-07 13:48:10 +09:00
Anthony Jones
53b97c265f Bug 1048517 - Initialised potentially uninitialised variables; r=cpearce 2014-08-07 16:40:01 +12:00
Chris Pearce
332c531212 Bug 1049309 - Remove no-op code in libstagefright. r=kentuckyfriedtakahe 2014-08-07 12:03:38 +12:00
Randell Jesup
41c5add935 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
2e6839e1e5 Merge mozilla-central and inbound 2014-08-06 13:43:41 +01:00
Ed Morley
fdc793d552 Merge latest green inbound changeset and mozilla-central; a=merge 2014-08-06 13:37:48 +01:00
Wes Kocher
28470a7734 Merge m-c to fx-team on a CLOSED TREE 2014-08-05 17:38:06 -07:00
Mike Hommey
ec54bf6c1f 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
30be952e2e Bug 1042525 - Add missing null implementation for screensharing. r=gcp 2014-08-01 11:43:00 +02:00
Martin Thomson
bbbe9c69a3 Bug 1048261 - Safe dispatch from DTLS connect to PeerConnectionImpl. r=jesup, r=bwc 2014-08-05 12:18:56 -07:00
EKR
c634b80303 Bug 1028582 - Modify TransportLayerDtls to force a fresh ECDHE server key. r=mt 2014-08-05 09:06:48 -07:00
Martin Thomson
bd58e64361 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
afa8bcbb2e Bug 996237 - Tests for cipher mismatch. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
9b95d04978 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-08-04 11:49:00 -04:00
Martin Thomson
7b591a212a Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-08-04 11:49:00 -04:00
Gian-Carlo Pascutto
526b2765aa Bug 1043350 - Do not disable Aero mode when screen capturing. r=jesup 2014-08-05 15:48:15 +02:00
Mike Hommey
62e4d2c740 Bug 1048064 - Fix libstagefright build on GNU/kFreeBSD. r=ajones 2014-08-05 16:07:28 +09:00
Anthony Jones
e7ff4e143d Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 18:12:48 +12:00
Wes Kocher
8690584308 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
1d729bea82 Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 13:35:04 +12:00
Randell Jesup
8d9058b81e Bug 1048261: Fix SetDtlsConnected() r=bwc 2014-08-04 16:31:45 -04:00
Ryan VanderMeulen
17b5bf3fac Backed out changeset db13171100fa (bug 1041369) for frequent mochitest-3 failures.
CLOSED TREE
2014-08-04 13:55:14 -04:00
Ed Morley
076cbae1d4 Backed out changeset ab292958d0e7 (bug 996237) for build failures on Android 2014-08-04 15:34:42 +01:00
Ed Morley
7da815226f Backed out changeset 1015ade997be (bug 996237) 2014-08-04 15:34:25 +01:00
Ed Morley
1cbd2f3336 Backed out changeset 5cc4c2e9f1e4 (bug 996237) 2014-08-04 15:34:22 +01:00
Ed Morley
7a0239ee7e Backed out changeset 7c32b87be327 (bug 996237) 2014-08-04 15:34:18 +01:00
Roman Skalish
f7af84fb1d 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
406a9ecfd2 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-07-31 17:47:00 -04:00
Martin Thomson
4d4cb1fb06 Bug 996237 - Tests for cipher mismatch. r=ekr 2014-07-31 17:45:00 -04:00
Martin Thomson
dd8aded4a6 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-07-31 10:47:00 -04:00
Martin Thomson
8c4a34fabd Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-07-31 17:45:00 -04:00
Edmund Wong
10171b103e 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
2b1a58480d Bug 1042689 - Deal with a native stopCapture if the camera is paused. r=jesup 2014-08-04 08:29:45 +02:00
Karl Tomlinson
7fb342b26b 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
e40b693b73 b=1042508 enable neon resampler optimizations r=padenot
--HG--
extra : rebase_source : fd984143b78ecf25a5158715dd8bed8df7398945
2014-07-22 16:51:08 +12:00
Karl Tomlinson
4cd53b7e4f 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
443ba0fbbc 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
741069760c 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
5565b85921 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
dd0783ff84 Bug 1046549 - Ignore mdat unless we've already found a media track. r=kentuckyfriedtakahe 2014-07-31 18:54:12 +12:00
Randell Jesup
91dee12169 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
251c8f2513 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
07610504b6 Bug 1047442: reacquire _sendCritSect within webrtc Encoded() callback (upstream patch) r=pkerr 2014-08-01 17:27:50 -04:00
Jeff Walden
7760dae108 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
cde39a4083 Merge inbound to m-c. a=merge 2014-08-01 15:59:05 -04:00
Gian-Carlo Pascutto
39763359ac 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
77e88a30be Bug 1032438 - Fix warnings in r_bitfield.c. r=abr 2014-07-02 08:35:00 -04:00
Anuj Agarwal
2300c8c15a Bug 1028142 - Make the destructor of CSF::VideoControl private. r=abr 2014-07-31 10:05:59 -07:00
Andrew McCreight
969de38ff1 Bug 1028141 - Remove dangerous public destructor of CSF::AudioControl. r=abr 2014-07-31 10:05:59 -07:00
Andrew McCreight
6cc44b7ee7 Bug 1029478 - Remove dangerous public destructor of TransportFlow. r=abr 2014-07-31 10:05:58 -07:00
Nathan Froyd
9ea6c585f8 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
eea1a20fd2 Bug 1045468: WebRTC should support SVC NAL(NAL type 14) for H264 r=jesup 2014-07-31 06:45:08 -07:00
Chris Kitching
1ca4ae5686 Bug 1047971: Delete even more redundant field initialisers r=rnewman 2014-08-03 02:21:42 -07:00
Randell Jesup
4699ae79b8 Bug 1043808: bustage fix for #includes that didn't get deleted r=bustage 2014-07-30 18:03:01 -04:00
Randell Jesup
38519b7452 Bug 1043808: remove assertions that video is an even number of pixels r=pkerr 2014-07-30 17:35:12 -04:00
Randell Jesup
3bfc2f209f 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
a998be842d 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
39582dd9ce 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
b50326fc1e Bug 1045018 - Make webrtc.org code use mozilla_set_coreaudio_notification_runloop. r=gcp 2014-07-29 18:45:06 +02:00
Paul Adenot
26d637626f 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
f7bb7c3f73 Bug 1027713 - Disable test_stress on windows 8 as well. 2014-07-29 18:45:05 +02:00
Paul Adenot
2c058e4f67 Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik 2014-07-18 19:21:27 +02:00
Paul Adenot
74f90cf9f5 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
0d0ac0d649 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
9e0d9d7167 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
4b365f674c Bug 1044447 - Remove a few unnecessary empty moz.build files. r=glandium 2014-07-28 18:02:44 -07:00
Gian-Carlo Pascutto
8d31a955a9 Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-29 16:45:41 +02:00
Gian-Carlo Pascutto
56cdd710c4 Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot 2014-07-29 16:45:41 +02:00
Georg Fritzsche
42d8526108 Bug 1045500 - Allow differentiating GMP PluginCrashed events from others. r=jesup 2014-07-29 16:46:16 +02:00
Georg Fritzsche
0c6065059e Bug 1043531 - Move PluginCrashed event generation to C++. r=smaug,jesup 2014-07-28 17:41:52 +02:00
Mike Hommey
1e79fe55c2 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Carsten "Tomcat" Book
8329e0d768 merge fx-team to mozilla-central a=merge 2014-07-28 15:44:12 +02:00
Chris Kitching
9f496ef232 Bug 1041836: Delete redundant initialisers. (generated) r=rnewman 2014-07-25 20:14:47 -07:00
Wes Kocher
88a01acaab Merge m-c to fx-team 2014-07-25 16:27:34 -07:00
Randell Jesup
2d6b62842b 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
629718b0ad Backed out changeset b652396e9fd7 (bug 1015932) 2014-07-28 08:21:19 +02:00
Carsten "Tomcat" Book
f5c141c5c2 Backed out changeset 689b75c98f2f (bug 1015932) 2014-07-28 08:21:16 +02:00
Gian-Carlo Pascutto
a847503bc3 Bug 1015932 - Move OpenSLES Realize into the engine broker. r=padenot 2014-07-28 08:10:21 +02:00
Gian-Carlo Pascutto
cc77fa9637 Bug 1015932 - Make WebRTC and libcubeb use the OpenSLES engine broker. r=padenot 2014-07-28 08:09:48 +02:00
Anthony Jones
5f8aaaf71d Bug 1044714 - Add MP4 parser 'trex' atom support; r=edwin 2014-07-28 16:32:51 +12:00
Anthony Jones
47f2e5fc02 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
de6e65a87e 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
a6b7bd2a23 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
f8df63b25d 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
ec9e807bb2 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
6140b461f2 bug 1041493 - add support for browser to mediaSource constraint r=rjesup,khuey 2014-07-21 08:31:31 -04:00
Randell Jesup
b5b6394b6f 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
0d3e2a8cbf Bug 1043531 - Cache PluginID in WebRTCVideoDecoder/Encoder if plugin Terminates unexpectedly r=jesup 2014-07-24 20:41:03 +02:00
Anthony Jones
9b31f46826 Bug 1039128 - Fix drain of video queue 2014-07-25 14:57:25 +12:00
Randell Jesup
50baa1493e Bug 1042765 - Better logging for GMP plugins r=cpearce 2014-07-24 21:47:44 -04:00
Randell Jesup
8591e2dec0 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
c1992a8da2 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
9633095076 Bug 1038615 - Report GMP decoding/encoding errors asynchronously. r=jesup 2014-07-24 09:35:01 +12:00
Karl Tomlinson
82e2b3354d 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
6d4723f7d2 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
f15c5047f8 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
65871f39fc 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
cf11de6562 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
Mike Hommey
ad9b49263a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
71623acdd6 Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
e5c43ef995 Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
90c742edc2 Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
Mike Hommey
b99bba5c3f Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Randell Jesup
62b0164ace Bug 1038961: Patch 2 - Associate GMP plugin crash with a window and notify it r=bz,jib 2014-07-21 03:50:11 -04:00
Randell Jesup
4ac7943b4f Bug 1038961: Patch 1 - Send GMP plugin crashes to observer, and implement PluginID system r=cpearce,jib 2014-07-21 03:50:09 -04:00
Jan-Ivar Bruaroey
1863b0dba4 Bug 1033833 - finish plumbing offerToReceiveAudio|Video to long. r=abr 2014-07-18 18:08:30 -04:00
Jan-Ivar Bruaroey
110454f873 Bug 1033833 - Remove signaling unittests for createAnswer options. r=abr 2014-07-18 17:58:55 -04:00
Jan-Ivar Bruaroey
c03273747a Bug 1033833 - Update CreateOffer/Answer API to spec - no longer takes constraints but a dictionary. r=smaug, r=abr 2014-07-10 14:31:25 -04:00
Chris Pearce
5861c7b726 Bug 1041368 - Make MP4 demuxer correctly store the size of plain_sizes data. r=kentuckyfriedtakahe 2014-07-21 14:02:20 +12:00
Chris Pearce
98d143db73 Bug 1041346 - Remove MediaBufferGroup from libstagefright, since it's no longer used. r=kentuckyfriedtakahe 2014-07-21 14:00:42 +12:00
Chris Pearce
cf9816beca Bug 1041346 - Don't limit number of samples stagefright mp4 demuxer can output. r=kentuckyfriedtakahe 2014-07-21 14:00:32 +12:00
Jan Beich
0a707b46ee Bug 1040168 - Unbreak WebRTC on more archs without SSE2 after bug 983504. r=gcp 2014-07-19 21:32:18 -04:00
Randell Jesup
2a66338f30 Bug 1040345: Fix shutdown design issues with Webrtc GMP interfaces and quash leaks r=gcp 2014-07-19 19:14:03 -04:00
Paul Adenot
e51df98a9f Bug 1023947 - Part 2 - Allow getting the current input device in cubeb. r=kinetik
--HG--
extra : rebase_source : bc273a2f790b2fa09e8c50c95091f5db9856d42b
2014-07-18 19:21:27 +02:00
Paul Adenot
145d25df39 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.

--HG--
extra : rebase_source : 42e7c8f09d02b30b35a7f80418df5e722b52faae
2014-07-24 17:05:23 +02:00
Paul Adenot
6dabbd818d Bug 1027713 - Part 2 - Add a cubeb API to query the name of the audio output device in use. r=kinetik
--HG--
extra : rebase_source : fed39350db9e7c56c003a288e040fd6f901088d2
2014-07-24 17:05:23 +02:00
Paul Adenot
25e8004fd3 Bug 1027713 - Part 1 - Add a volume API in cubeb and use it instead of doing our own soft gain. r=kinetik
--HG--
extra : rebase_source : c94c9f6792c002d515f2fee0cf708928e76f91a8
2014-07-24 17:05:23 +02:00
Ryan VanderMeulen
77b1c14c1a Merge m-c to inbound. a=merge 2014-07-18 10:25:14 -04:00
Mike Hommey
d878c2940f Bug 1039897 - Don't tie webrtc-required X11 library requirements to in-tree cairo flags. r=ted,a=kwierso 2014-07-17 14:55:11 +09:00
Randell Jesup
4b4121adca Bug 1037754: Must always use SyncRunnable for DISPATCH_SYNC on non-nsThreads or risk leaks r=drno 2014-07-17 03:08:38 -04:00
Chris Peterson
e79aeb4a7c Bug 1039917 - Fix clang and gcc warnings in webrtc/signaling. r=jesup 2014-07-15 20:28:57 -07:00
Anthony Jones
5c85a17e7f Bug 1022434 - Extract crypto information from MP4 demuxer; r=cpearce
* * *
Bug 1022434 - "[EME] Expose decryption data in MP4Samples" []
2014-07-18 15:36:04 +12:00
Wes Kocher
e291538b20 Backed out changeset daa82439f77f (bug 1022434) for build bustage 2014-07-17 20:03:18 -07:00
Anthony Jones
957b12d621 Bug 1022434 - Extract crypto information from MP4 demuxer; r=cpearce
* * *
Bug 1022434 - "[EME] Expose decryption data in MP4Samples" []
2014-07-18 14:37:43 +12:00
Matthew A. Miller
2562c7981b Bug 1040124 - WebRTC Signaling tests fail to build on Ubuntu 12.04LTS r=ted,glandium 2014-07-17 22:23:00 -04:00
Randell Jesup
7422d811fc Bug 1038926 - implement window sharing in webrtc/getUserMedia r=jesup,gcp,smaug 2014-07-17 22:23:00 -04:00
Carsten "Tomcat" Book
eed56f67d8 Backed out changeset 929cc6239d79 (bug 1022434) for bustage 2014-07-17 06:52:32 +02:00
Anthony Jones
991f83aba3 Backed out cset 588a03cd4e27 bug 1022434 2014-07-17 16:47:21 +12:00
Carsten "Tomcat" Book
e28c49c961 Backed out changeset 588a03cd4e27 (bug 1022434) for bustage on a CLOSED TREE 2014-07-17 06:45:20 +02:00
Anthony Jones
438d2467e0 Bug 1022434 - Extract crypto information from MP4 demuxer; r=cpearce
* * *
Bug 1022434 - "[EME] Expose decryption data in MP4Samples" []
2014-07-17 16:27:13 +12:00
Randell Jesup
0ff7099b5e Bug 1037754: Query GMPService to determine if H.264 is available r=cpearce 2014-07-16 22:59:17 -04:00
Randell Jesup
6de133ee99 Backed out changeset 6d976c67e926 (bug 1037754) 2014-07-16 23:50:10 -04:00
Randell Jesup
f9990e063e Bug 1037754: Query GMPService to determine if H.264 is available r=cpearce 2014-07-16 22:59:17 -04:00
Gian-Carlo Pascutto
7bcfdbea9e Bug 1038799 - Properly wrap Xfixes.h header. r=glandium 2014-07-16 19:16:38 +02:00
Gian-Carlo Pascutto
8e45d6194a Bug 983504 - Screensharing fix: B2G doesn't use X11. r=ted 2014-07-16 19:16:38 +02:00
Gian-Carlo Pascutto
defacfb867 Bug 983504 - Enable SS2 flags for desktop capture during Mozilla build. r=ted 2014-07-16 19:16:38 +02:00
Matthew A. Miller
16817c12ca Bug 983504 - Buildsystem changes for multimonitor support. r=ted 2014-07-16 19:16:38 +02:00
Gian-Carlo Pascutto
88a864d26f Bug 983504 - Buildsystem changes for screen sharing. r=ted 2014-07-07 08:50:00 +02:00
Gian-Carlo Pascutto
5fb1d5ae53 Bug 983504 - ViECapturer changes for screen sharing. r=jesup 2014-07-08 05:49:00 +02:00
Matthew A. Miller
a57426ec66 Bug 983504 - ViEInputManager & config changes for screen sharing. r=gcp 2014-07-07 09:55:00 +02:00
Gian-Carlo Pascutto
f15606e0c4 Bug 983504 - Generic DesktopCaptureImpl implementation for screen sharing. r=jesup 2014-07-08 10:04:00 +02:00
Matthew A. Miller
8b5b1ebc4a Bug 983504 - Desktop capture code changes/updates for screen sharing. r=gcp 2014-07-08 10:00:00 +02:00
Gian-Carlo Pascutto
1740bce6f2 Bug 983504 - Add new files, null implementations for screen sharing. r=jesup 2014-07-08 10:06:00 +02:00
Ralph Giles
3b047d243c Bug 1037689 - Document MP4Sample timestamp units. r=ajones
These look to be returning values in microseconds, already
adjusted by the stream's internal timescale.
2014-07-14 14:19:00 -07:00
Ehsan Akhgari
99aacc15cb Bug 1038492 - Cherry-pick libyuv's fix for clang-cl compatibility; r=jesup
This imports the following upstream change:
https://code.google.com/p/libyuv/source/detail?r=1033
2014-07-15 08:11:57 -04:00
Byron Campen [:bwc]
2048be3f64 Bug 980270 - Part 1: Plug a couple of common leaks in nICEr. r=drno 2014-03-06 14:43:15 -08:00
Anuj Agarwal
6d12620baf Bug 1028139 - DataBuffer should not be a refcounted class. r=jesup 2014-07-11 16:39:00 +02:00
Randell Jesup
43235043e4 Bug 1037910: Set H264 FMTP payload value even if max_fs/fr aren't set r=ehugg 2014-07-12 22:11:01 -04:00
Byron Campen [:bwc]
4e8f07f64c Bug 942188 - Various fixes to role-conflict resolution and some test-cases. r=abr 2013-12-13 20:18:24 -08:00
Paul Adenot
d4b538aa6a Bug 1046470 - Properly unregister property listeners in AudioUnit cubeb backend. r=kinetik 2014-08-01 14:12:17 +02:00
Landry Breuil
e4f28bd690 Bug 982693 - use -fno-integrated-as (if available) with clang when building vp8_asm_enc_offsets.c r=tterriberry 2014-07-11 09:55:27 +02:00
Randell Jesup
a156cc1fa9 Bug 1037626: Support Webrtc H.264 offers with only packetization mode 1 r=ehugg 2014-07-11 16:35:36 -04:00
Martin Thomson
777c88cbf1 Bug 1037205 - Initialize mPrivacyRequested. r=bwc 2014-07-10 15:48:00 -04:00
Chris Pearce
51e6635487 Bug 1037317 - Move GMPBufferType to be a property of GMPVideoFrameEncoded. r=jesup 2014-07-11 10:39:10 -04:00
Jan Beich
60f05f4568 Bug 1037363 - Unbreak WebRTC on BSDs after bug 1036049. r=jesup 2014-07-11 03:13:00 -04:00
Paul Adenot
201859d0db Bug 1032266 - Allow the alsa backend to be shutdown while draining. r=kinetik 2014-07-03 18:50:40 +02:00
Anthony Jones
c1f7c9decd Bug 1035059 - Add input padding for libav; r=edwin 2014-07-11 18:43:59 +12:00
Randell Jesup
cc394c3799 Bug 1036049: Support H.264 STAP-A depacketization in webrtc r=ehugg 2014-07-11 01:48:14 -04:00
Chris Pearce
40161d6200 Bug 1020760 - Pass GMP codec specific info as a uint8_t[], and pass buffer type separately. r=jesup 2014-07-11 15:36:21 +12:00
Chris Pearce
77d72ce6d8 Bug 1020760 - Update GMP APIs to support EME plugins. r=jesup 2014-07-11 15:35:56 +12:00
Anthony Jones
c8cf40eb54 Bug 1034444 - Fix libstagefright warnings; r=cpearce 2014-06-02 17:38:04 +02:00
Anthony Jones
86cdad1007 Bug 1034444 - Make MP4Reader::GetBuffered() accurate; r=edwin,cpearce 2014-06-02 17:38:04 +02:00
Ryan VanderMeulen
12f0323d62 Backed out 5 changesets (bug 1020760, bug 1035653, bug 1020090) for leaks on a CLOSED TREE.
Backed out changeset f0b20e3db93c (bug 1020760)
Backed out changeset 412b654e5cd2 (bug 1035653)
Backed out changeset 01ba0892af29 (bug 1020760)
Backed out changeset c7de1f4b078f (bug 1020760)
Backed out changeset 96aa9d33a1f5 (bug 1020090)
2014-07-10 21:43:04 -04:00
Chris Pearce
c77120c2d8 Bug 1020760 - Remove assertion that doesn't compile on Linux Debug on TBPL. r=bustage CLOSED TREE 2014-07-11 13:21:12 +12:00
Chris Pearce
96de77e4a1 Bug 1020760 - Pass GMP codec specific info as a uint8_t[], and pass buffer type separately. r=jesup 2014-07-11 12:21:13 +12:00
Chris Pearce
0b4b3a50b2 Bug 1020760 - Update GMP APIs to support EME plugins. r=jesup 2014-07-11 12:20:51 +12:00
Chris Peterson
e2cebc5d17 Bug 1034140 - Eat unused write() and read() return values. r=padenot 2014-07-04 12:00:07 -07:00
Randell Jesup
974d32fec4 Bug 1022008: Hook up SDP negotiation for H.264 GMP codecs r=ehugg 2014-07-08 15:28:56 -04:00
Nils Ohlmeier [:drno]
4df013587a Bug 1034327 - fix memory leak when TURN client is used. r=bwc 2014-07-03 16:54:00 +02:00
Randell Jesup
8a109268e9 Bug 1035067: Don't hint we expect a track if we're not going to receive it r=ehugg 2014-07-07 14:45:36 -04:00
Chris Peterson
d525daa0dc Bug 1031978 - Suppress -Wmismatched-tags clang warnings in third-party code: libstagefright. r=cajbir 2014-06-29 20:12:38 -07:00
Karl Tomlinson
b2353db8a8 b=1033140 make speex_resampler declarations consistent with OUTSIDE_SPEEX implementation r=padenot
Instead of defining OUTSIDE_SPEEX and RANDOM_PREFIX everywhere
speex_resampler.h is included, it is easier to patch the header.

Symbol names in gkmedias symbols.def are updated now that RANDOM_PREFIX is
taking effect, and unused symbols are no longer exported.

--HG--
extra : transplant_source : sx%C9%ED%EB%E7%D8P%09%18%87%D4Oj%85%D5%25%C8%A5%01
2014-07-02 20:22:45 +12:00
Anthony Jones
ab6dbf1a7a Bug 1027875 - Remove Annex B assertion; r=cpearce 2014-07-04 20:31:19 +12:00
Anthony Jones
5956115649 Bug 1027875 - Fix CTS offset processing in fMP4; r=cpearce 2014-07-04 20:31:19 +12:00
Randell Jesup
5b5bb47836 Bug 989944: Increase decode timestamp map to handle delayed decode on 8x10 r=jesup 2014-07-03 12:46:28 -04:00
Chris Peterson
aad0aaea7a Bug 1033192 - Fix gcc and MSVC warnings in media/libcubeb/. r=padenot 2014-07-01 19:02:56 -07:00
Wes Kocher
20f50977c0 Merge m-c to inbound 2014-07-02 17:44:20 -07:00
Changbin Park
39ec3f7cb8 Bug 1029983 - H.264 codec is working on B2G ignoring preference 'media.peerconnection.video.h264_enabled'. r=ehugg 2014-07-01 16:09:20 -07:00
Martin Thomson
9985a8421b Bug 1032525 - Making isolation dependent on peerIdentity property r=abr 2014-07-02 13:56:10 -07:00
James Willcox
e5b4ec12e2 Bug 1020227 - Disable OpenSL on Android 2.3 and lower r=gcp
--HG--
extra : rebase_source : d4a46bf6e3f8347da07dc1463bd3b87d0ec158f6
extra : histedit_source : 59bde0489bfcba21557e864d897f22fe8de8713c
2014-07-01 11:39:45 -05:00