Commit Graph

2282 Commits

Author SHA1 Message Date
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
Mike Hommey
7ca0de0fb4 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
171507509c 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
5659a611dd 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
af37eab57f 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
33ef4f2c39 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Mike Hommey
9ae3c48776 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
c19ff45f7b 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
b51cf02974 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
4147056ed9 Bug 1033833 - finish plumbing offerToReceiveAudio|Video to long. r=abr 2014-07-18 18:08:30 -04:00
Jan-Ivar Bruaroey
1865464875 Bug 1033833 - Remove signaling unittests for createAnswer options. r=abr 2014-07-18 17:58:55 -04:00
Jan-Ivar Bruaroey
ce40c9b335 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
e96a159582 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
866a87e584 Bug 1041346 - Remove MediaBufferGroup from libstagefright, since it's no longer used. r=kentuckyfriedtakahe 2014-07-21 14:00:42 +12:00
Chris Pearce
53072af22f 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
5e73cbb6d0 Bug 1040168 - Unbreak WebRTC on more archs without SSE2 after bug 983504. r=gcp 2014-07-19 21:32:18 -04:00
Randell Jesup
8d44efe84e 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
a3e265b8ee 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
ab8eadeff3 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
42b2a87851 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
5910664e6b 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
fc7b881562 Merge m-c to inbound. a=merge 2014-07-18 10:25:14 -04:00
Mike Hommey
ec3e587eb4 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
d25a961916 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
9dd1c3dc09 Bug 1039917 - Fix clang and gcc warnings in webrtc/signaling. r=jesup 2014-07-15 20:28:57 -07:00
Anthony Jones
c6e5e04644 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
d3a85486a8 Backed out changeset daa82439f77f (bug 1022434) for build bustage 2014-07-17 20:03:18 -07:00
Anthony Jones
87bcf4c0d6 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
36fa47e7a4 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
16784889cf Bug 1038926 - implement window sharing in webrtc/getUserMedia r=jesup,gcp,smaug 2014-07-17 22:23:00 -04:00
Carsten "Tomcat" Book
cd372dae0e Backed out changeset 929cc6239d79 (bug 1022434) for bustage 2014-07-17 06:52:32 +02:00
Anthony Jones
b69aef4f27 Backed out cset 588a03cd4e27 bug 1022434 2014-07-17 16:47:21 +12:00
Carsten "Tomcat" Book
5625b02f9f Backed out changeset 588a03cd4e27 (bug 1022434) for bustage on a CLOSED TREE 2014-07-17 06:45:20 +02:00
Anthony Jones
5b241555ef 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
371220169d Bug 1037754: Query GMPService to determine if H.264 is available r=cpearce 2014-07-16 22:59:17 -04:00
Randell Jesup
1bb3afde43 Backed out changeset 6d976c67e926 (bug 1037754) 2014-07-16 23:50:10 -04:00
Randell Jesup
241a56c740 Bug 1037754: Query GMPService to determine if H.264 is available r=cpearce 2014-07-16 22:59:17 -04:00
Gian-Carlo Pascutto
c96ce84351 Bug 1038799 - Properly wrap Xfixes.h header. r=glandium 2014-07-16 19:16:38 +02:00
Gian-Carlo Pascutto
d5fbe92aac Bug 983504 - Screensharing fix: B2G doesn't use X11. r=ted 2014-07-16 19:16:38 +02:00
Gian-Carlo Pascutto
2a73a6cde5 Bug 983504 - Enable SS2 flags for desktop capture during Mozilla build. r=ted 2014-07-16 19:16:38 +02:00
Matthew A. Miller
ef653bee23 Bug 983504 - Buildsystem changes for multimonitor support. r=ted 2014-07-16 19:16:38 +02:00
Gian-Carlo Pascutto
3ffb2db3ff Bug 983504 - Buildsystem changes for screen sharing. r=ted 2014-07-07 08:50:00 +02:00
Gian-Carlo Pascutto
fbee1627ac Bug 983504 - ViECapturer changes for screen sharing. r=jesup 2014-07-08 05:49:00 +02:00
Matthew A. Miller
64aba35255 Bug 983504 - ViEInputManager & config changes for screen sharing. r=gcp 2014-07-07 09:55:00 +02:00
Gian-Carlo Pascutto
dce7a5198d Bug 983504 - Generic DesktopCaptureImpl implementation for screen sharing. r=jesup 2014-07-08 10:04:00 +02:00
Matthew A. Miller
375d91b08a Bug 983504 - Desktop capture code changes/updates for screen sharing. r=gcp 2014-07-08 10:00:00 +02:00
Gian-Carlo Pascutto
072ed37c68 Bug 983504 - Add new files, null implementations for screen sharing. r=jesup 2014-07-08 10:06:00 +02:00
Ralph Giles
af45cd41dc 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
2e6ed134e1 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]
78b93edb70 Bug 980270 - Part 1: Plug a couple of common leaks in nICEr. r=drno 2014-03-06 14:43:15 -08:00
Anuj Agarwal
d818654ca0 Bug 1028139 - DataBuffer should not be a refcounted class. r=jesup 2014-07-11 16:39:00 +02:00
Randell Jesup
ffd4a88b14 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]
8067d5b958 Bug 942188 - Various fixes to role-conflict resolution and some test-cases. r=abr 2013-12-13 20:18:24 -08:00
Paul Adenot
cbf00b035a Bug 1046470 - Properly unregister property listeners in AudioUnit cubeb backend. r=kinetik 2014-08-01 14:12:17 +02:00
Landry Breuil
69da078887 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
8388ea9dc5 Bug 1037626: Support Webrtc H.264 offers with only packetization mode 1 r=ehugg 2014-07-11 16:35:36 -04:00
Martin Thomson
b0cf2d0129 Bug 1037205 - Initialize mPrivacyRequested. r=bwc 2014-07-10 15:48:00 -04:00
Chris Pearce
9ee7bb7bfe Bug 1037317 - Move GMPBufferType to be a property of GMPVideoFrameEncoded. r=jesup 2014-07-11 10:39:10 -04:00
Jan Beich
412be305d6 Bug 1037363 - Unbreak WebRTC on BSDs after bug 1036049. r=jesup 2014-07-11 03:13:00 -04:00
Paul Adenot
837d896520 Bug 1032266 - Allow the alsa backend to be shutdown while draining. r=kinetik 2014-07-03 18:50:40 +02:00
Anthony Jones
9aa568b8a6 Bug 1035059 - Add input padding for libav; r=edwin 2014-07-11 18:43:59 +12:00
Randell Jesup
c31255e117 Bug 1036049: Support H.264 STAP-A depacketization in webrtc r=ehugg 2014-07-11 01:48:14 -04:00
Chris Pearce
393864fa45 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
37b71327dd Bug 1020760 - Update GMP APIs to support EME plugins. r=jesup 2014-07-11 15:35:56 +12:00
Anthony Jones
90849f2eba Bug 1034444 - Fix libstagefright warnings; r=cpearce 2014-06-02 17:38:04 +02:00
Anthony Jones
9568f41cc0 Bug 1034444 - Make MP4Reader::GetBuffered() accurate; r=edwin,cpearce 2014-06-02 17:38:04 +02:00
Ryan VanderMeulen
1dea3b300a 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
3da7be400c 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
edbb97661e 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
a234e1b6cb Bug 1020760 - Update GMP APIs to support EME plugins. r=jesup 2014-07-11 12:20:51 +12:00
Chris Peterson
62fd9cb628 Bug 1034140 - Eat unused write() and read() return values. r=padenot 2014-07-04 12:00:07 -07:00
Randell Jesup
0868894340 Bug 1022008: Hook up SDP negotiation for H.264 GMP codecs r=ehugg 2014-07-08 15:28:56 -04:00
Nils Ohlmeier [:drno]
b9acc644ea Bug 1034327 - fix memory leak when TURN client is used. r=bwc 2014-07-03 16:54:00 +02:00
Randell Jesup
332bbb8b9d 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
3eb8a23187 Bug 1031978 - Suppress -Wmismatched-tags clang warnings in third-party code: libstagefright. r=cajbir 2014-06-29 20:12:38 -07:00
Karl Tomlinson
81f2e4ebe8 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
c78bf6bcba Bug 1027875 - Remove Annex B assertion; r=cpearce 2014-07-04 20:31:19 +12:00
Anthony Jones
6501cf8ba1 Bug 1027875 - Fix CTS offset processing in fMP4; r=cpearce 2014-07-04 20:31:19 +12:00
Randell Jesup
69dd27db99 Bug 989944: Increase decode timestamp map to handle delayed decode on 8x10 r=jesup 2014-07-03 12:46:28 -04:00
Chris Peterson
c6ac80f06d Bug 1033192 - Fix gcc and MSVC warnings in media/libcubeb/. r=padenot 2014-07-01 19:02:56 -07:00
Wes Kocher
0908f44530 Merge m-c to inbound 2014-07-02 17:44:20 -07:00
Changbin Park
7d5380a3fc 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
7f60a8d608 Bug 1032525 - Making isolation dependent on peerIdentity property r=abr 2014-07-02 13:56:10 -07:00
James Willcox
b8a4e683bd 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
Randell Jesup
c0fc79abd1 Bug 979716: drop opus bitrate to 16000bps to reduce mobile cpu use r=jmspeex 2014-07-01 05:10:49 -04:00
Randell Jesup
459f667139 Bug 979716: Make Opus complexity configurable in WebRTC; default Gonk to complexity 1 r=jmspeex 2014-07-01 05:10:44 -04:00
Randell Jesup
03d72e93a9 Bug 1022008: Support max-fs & max-fr in SDP for H.264; clean up video codec fmtp generation r=ehugg 2014-07-01 04:19:32 -04:00
Ralph Giles
86f9227b2d Bug 1030308 - Clean up EbmlBufferWriter. r=cajbir DONTBUILD
Fix comments to match code and correct indenting.
2014-06-25 13:13:00 -07:00
Chris Pearce
95167634d4 Bug 1024300 - Allow GMPs to be segregated by origin. r=josh 2014-06-30 11:02:39 +12:00
Randell Jesup
5b6b6f382d Bug 1031500: Increase number of buffers for webrtc OMX H.264 decode r=sotaro 2014-06-27 21:49:24 -04:00
Randell Jesup
20eeecabf3 Bug 1030338: Don't assert or generate bad stats if we go from ICE New->Closed directly r=bwc 2014-06-27 13:55:40 -04:00
Gian-Carlo Pascutto
f60a7f4450 Bug 1018928 - Work around Camera focus mode bug in some Android devices. r=blassey 2014-06-27 12:13:50 +02:00
Carsten "Tomcat" Book
335e945fdc Backed out changeset 5c28253351a2 (bug 1018402) for breaking Windows PGO Builds on a CLOSED TREE 2014-06-27 10:56:40 +02:00
Bruce Sun
f179436f2e Bug 1017438 - Use SL_PLAYEVENT_HEADATMARKER event to trigger CUBEB_STATE_DRAINED state callback. r=kinetik 2014-06-26 14:59:48 +08:00
David Major
3fa36c502a Bug 1018402 - Disable -Gw for the offset files since the extractor doesn't understand it. r=glandium
--HG--
extra : rebase_source : 5351a7166400930d35e3145228dd8d4b4fe3d805
2014-06-26 19:38:53 +12:00
Benoit Jacob
38775afe87 Bug 1028588 - Fix dangerous public destructors in media/webrtc/ - r=rjesup 2014-06-26 09:31:20 -04:00
Chris Pearce
adf34838ff Bug 1024300 - Backout 72040861741d. r=burninator. 2014-06-26 16:00:28 +12:00
Chris Pearce
7fe471ea99 Bug 1024300 - Allow GMPs to be segregated by origin. r=josh 2014-06-26 15:44:54 +12:00
Chris Pearce
53319952b1 Bug 1029824 - Fix AVCC to AnnexB conversion code for non-4 length NAL sizes and multiple NAL per samples. r=kentuckyfriedtakahe 2014-06-26 15:43:14 +12:00
Paul Kerr
874f2f07f8 Bug 1027100: visual distortion work-around by re-initializing the vp8 encoder on frame size changes r=jesup 2014-06-25 13:40:18 -07:00
Ethan Hugg
5ee4b80502 Bug 1028962 - Fix for setting maxFramerate with Gecko Media Plugins. r=jesup 2014-06-25 09:08:41 -07:00
Byron Campen [:bwc]
f8886376da Bug 1028408 - Expose candidate pair stats to content. r=drno 2014-06-20 14:47:14 -07:00
Benoit Jacob
451139b088 Bug 1028588 - Fix dangerous public destructors in media/mtransport - r=abr 2014-06-24 12:36:44 -04:00
Byron Campen [:bwc]
1effc3a9ac Bug 1027938 - Bump max transmit count for ICE checks to 7. Also, adjust unit-tests. r=drno 2014-06-19 17:13:12 -07:00
Rishab Arora
4e426e209a Bug 956525 - Replace 'Lower lower' in log messages with 'Lower layer'. r=abr 2014-01-20 07:38:00 -05:00
Cgg
dea46e068a Bug 1026854 - Add a utility class for array RAII for cubeb's resampler. r=padenot 2014-06-21 17:00:52 +02:00
Jeff Muizelaar
e5f6b8cedc Bug 1027323 - Fix the libyuv linking issues with clang-cl; r=jesup 2014-06-21 08:56:48 -04:00
Chris Peterson
53878181a7 Bug 1026336 - Fix warnings in content/media/webrtc and mark FAIL_ON_WARNINGS. r=jesup 2014-06-15 11:57:30 -07:00
Benoit Jacob
2a12d817cb Bug 1027251 - Address review comments on mtransport - r=abr
(Sorry about that!)
2014-06-21 00:09:48 -04:00
Ralph Giles
a1dff513ce Bug 1019291 - Construct Annex B samples in the decoder. r=cpeace
Move Annex B sample formatting from the demuxer to a
static utility function. Return NAL unit syntax
samples by default, since more platforms prefer to
unpack the AVCC data themselves.

Pass the raw AVCC payload to ffmpeg through its extradata
field. It can handle either sample format, expecting one or
the other depending on whether extradata is present.

Pass input samples through a new WMFOutputSource::Input
method. Save a reference to the VideoDecoderConfig in the
WFMVideoOutputSource and use it to convert samples to
Annex B before forwarding them to the MFTDecoder.
2014-06-19 15:59:00 -07:00
Benoit Jacob
a27726f467 Bug 1027251 - Fix or whitelist dangerous public destructors in media/mtransport - r=abr 2014-06-20 07:08:24 -04:00
Benoit Jacob
257c09f0c6 Bug 1027251 - Fix or whitelist dangerous public destructors in media/webrtc - r=rjesup 2014-06-20 07:08:23 -04:00
Birunthan Mohanathas
6462f85452 Bug 1026535 - Disable C4099 warning in 3rd party code. r=ehsan 2014-06-19 14:42:00 -04:00
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Wes Kocher
08bba76886 Merge m-c to inbound 2014-06-17 19:01:09 -07:00
EKR
5dda4b3612 Bug 1009227. Unit test for fix for DTLS connection establishment failure. r=mt 2014-06-17 14:30:28 -07:00
Ryan VanderMeulen
66a404b11c Merge m-c to b2g-inbound. a=merge 2014-06-17 15:41:18 -04:00
Carsten "Tomcat" Book
7f8748fc0d Merge mozilla-central to b2g-inbound 2014-06-17 14:40:36 +02:00
Ehsan Akhgari
25889ad902 Bug 950676 - Enable unified builds for b2g by default; r=glandium 2014-06-17 08:35:19 -04:00
Anthony Jones
87864c8be2 Bug 1020679 - Guard against MP4 /0 for timescale. r=cpearce 2014-06-17 13:52:03 +12:00
Anthony Jones
777b028f90 Bug 1020679 - Fix MP4 demuxer duration. r=cpearce 2014-06-06 16:19:29 +12:00
Ehsan Akhgari
6df6805088 Bug 1025393 - Enable building webrtc with clang-cl; r=jesup
--HG--
extra : rebase_source : 16c3846d3a31b71e4ba3f9e4214c1ef8ff6a03e4
2014-06-16 18:17:47 -04:00
Randell Jesup
d4746d1de5 Bug 1025176: Save AEC dumps in a specified directory depending on platform/pref r=pkerr 2014-06-16 15:51:45 -04:00
Randell Jesup
735438f351 Bug 1025349: fix error in ccsnap line label indexes r=ehugg 2014-06-16 15:10:16 -04:00
Randell Jesup
c2b8cdaaff Bug 1025354: fix out-of-sync name array for SIPCC logs r=ehugg 2014-06-16 15:10:05 -04:00
JW Wang
fc92b87533 Bug 1008079 - Add cubeb_resampler.cpp to build files. r=glandium 2014-06-16 19:46:00 -04:00
JW Wang
73a1053383 Bug 1008079 - Use a resampler when the sample rate is not supported by the audio engine in cubeb_opensl.c. r=padenot 2014-06-16 19:45:00 -04:00
JW Wang
2ff8979857 Bug 1008079 - Extract the resampling code from cubeb_wasapi.cpp so it is reusable. r=padenot 2014-06-16 19:27:00 -04:00
Jan Beich
9c80ad52ff Bug 1024510 - Unbreak --with-system-nss build after bug 1022812. r=mshal 2014-06-16 01:02:25 -04:00
Randell Jesup
06a8193337 Bug 1025343: fix issues with overlong codec names in AudioConduit r=pkerr 2014-06-16 01:00:33 -04:00
Randell Jesup
f398cfeee3 Bug 1025106: if someone passes us a bogus videocodec config, say it's 'unknown' r=pkerr 2014-06-16 01:00:25 -04:00
Randell Jesup
e3cb840cc2 Bug 1022235: Make the webrtc LoadManager/LoadMonitor a singleton r=bsmedberg,pkerr 2014-06-13 15:50:51 -04:00
Byron Campen [:bwc]
24e05c32c0 Bug 1017332 - Part 1: Dump the r_log ringbuffer on all ICE failures. r=ekr, r=jesup 2014-06-12 17:22:00 -07:00
Mike Hommey
d96ad9d710 Bug 1024260 - Fixup dependencies in media/libopus/Makefile.in to avoid celt_pitch_xcorr_arm-gnu.o being always rebuilt. r=ted,r=me 2014-06-13 10:05:26 +09:00
Wes Kocher
508e00dfab Back out two changesets (bug 1024260) for android build failures on a CLOSED TREE
* * *
Backed out changeset 9d92de0ada7d (bug 1024260)
* * *
Backed out changeset 5264e512b53c (bug 1024260)
2014-06-12 17:41:25 -07:00
Mike Hommey
f11f6a062b Fixup for bug 1024260 because mkdir_deps can only be used after including rules.mk. r=me 2014-06-13 09:19:16 +09:00
Mike Hommey
03438d234a Bug 1024260 - Fixup dependencies in media/libopus/Makefile.in to avoid celt_pitch_xcorr_arm-gnu.o being always rebuilt. r=ted 2014-06-13 08:44:48 +09:00
Randell Jesup
9ecc4f0aa3 Bug 1024288: Add a button to about:webrtc to turn on/off AEC logging r=jib,smaug,unfocused 2014-06-12 12:21:38 -04:00
Randell Jesup
a004aeb3ad Bug 1024288: Allow aec debug data to be dumped on the fly, with max size r=pkerr 2014-06-12 12:20:10 -04:00
Ed Morley
ea9936f870 Backed out changeset 7b4feb3d3a39 (bug 1024288) for compilation errors; CLOSED TREE 2014-06-12 17:41:12 +01:00
Ed Morley
866f114249 Backed out changeset 5d63a1316981 (bug 1024288) 2014-06-12 17:40:44 +01:00
Randell Jesup
3668de4ea0 Bug 1024288: Add a button to about:webrtc to turn on/off AEC logging r=jib,smaug,unfocused 2014-06-12 12:21:38 -04:00
Randell Jesup
2e622d9a43 Bug 1024288: Allow aec debug data to be dumped on the fly, with max size r=pkerr 2014-06-12 12:20:10 -04:00
Randell Jesup
f2d53111fa Bug 1017332: log WebRTC SDP parse errors due to no \n r=ehugg 2014-06-12 12:03:42 -04:00
Byron Campen [:bwc]
4765de2c12 Bug 1008796 - Fix return value in nr_ice_component_stun_server_default_cb. r=ekr 2014-06-10 10:45:01 -07:00
Byron Campen [:bwc]
0bcb4baac2 Bug 1022776 - Bump max transmit count by 1 and modify unit-tests to compensate. r=ekr 2014-06-09 17:31:44 -07:00
Karl Tomlinson
b1de31746b b=1023697 use MediaStream to convert between stream time and seconds/ticks in MediaPipeline r=roc
The fake graph needs an implementation of the conversion methods.

The real graph will change to use audio ticks for time in a subsequent patch,
but the fake graph doesn't know about MEDIA_TIME_FRAC_BITS, so that change
can be made now in the fake graph.

--HG--
extra : transplant_source : %22%C4%01Yh%5D%F0%A6%11%40%CD%B5%89%0A%8C%8A%C2%19%5E%CC
2014-06-12 16:44:58 +12:00
EKR
cc9ec6c21f Bug 1022812 - Link a debuggable version of NSS into media/mtransport. r=mt 2014-06-11 07:17:02 -07:00
Chris Peterson
688dce7e4b Bug 1023075 - Fix more clang warnings in webrtc/signaling. r=jesup 2014-06-09 22:42:11 -07:00
Randell Jesup
f7c6fe9f6e Bug 970713: Adjust webrtc trace buffering for about:webrtc changes r=pkerr 2014-06-09 04:34:37 -04:00
Jan-Ivar Bruaroey
fdfec6e2f2 Bug 970713 - Add 'Start Debug Mode' button to about:webrtc. r=smaug, r=Unfocused, r=jesup 2014-06-08 21:00:12 -04:00
Paul Kerr [:pkerr]
6cf4c86116 Bug 970713 - Part 1: Control webrtc logging from about:config settings r=jesup 2014-06-08 18:54:47 -07:00
Anthony Jones
b5c97017c7 Bug 1016150 - Fix Windows date assert in libstagefright demuxer; r=cpearce 2014-06-09 18:07:46 +12:00
Randell Jesup
2f70ec93bb Bug 999704: Implement GMP codec interface to webrtc (not enabled yet) r=joshmoz,ehugg,jesup,pkerr 2014-06-08 17:25:18 -04:00
Ryan VanderMeulen
e58e907b46 Backed out changeset 2af237fa2079 (bug 999704) for bustage.
CLOSED TREE DONTBUILD
2014-06-08 14:39:44 -04:00
Randell Jesup
fe44092940 Bug 999704: Implement GMP codec interface to webrtc (not enabled yet) r=joshmoz,ehugg,jesup 2014-06-08 14:07:53 -04:00