Commit Graph

248 Commits

Author SHA1 Message Date
Ed Morley
504f2b3fae Backed out changeset 81cee5ae7973 (bug 904617) 2013-09-16 08:43:47 +01:00
Paul Adenot
ea33beeb7a Bug 904617: Part 3 - Log latency, and adds a python script to understand the log r=padenot,jesup 2013-01-28 19:22:37 +01:00
Shih-Chiang Chien
bfa6d4226f Bug 912960 - Use nsString for mDeviceName and mUniqueId. r=rjesup 2013-09-06 09:14:15 -04:00
Steven Lee
3893487dbe Bug 902856 - Generate fake audio data in MediaEngineDefaultAudioSource. r=jesup, r=derf 2013-09-05 08:34:49 -04:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Randell Jesup
5946f2b5b2 Bug 901583: Reapply mozilla patches on top of webrtc.org 3.34, use NEON detection rs=jesup
--HG--
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.cc
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.h => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.h
2013-08-30 02:08:57 -04:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Randell Jesup
2365ec9687 Bug 909946: missing %s in LOG statement for webrtc_trace logging r=abr 2013-08-27 17:30:10 -04:00
Trevor Saunders
6d4bc4993b bug 899210 - convert camera control to WebIDL r=bz 2013-07-06 16:55:10 -04:00
Ms2ger
2d7391b50d Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Randell Jesup
3966b79145 Bug 905062: Clean up fake source for getUserMedia r=padenot 2013-08-14 17:01:16 -04:00
Randell Jesup
3f6b4f213a Bug 825112: Enable opensles webrtc backend on gonk r=mwu,jesup,ted
--HG--
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.cc
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.h => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.h
2013-07-17 20:00:43 -04:00
Joshua Cranmer
08dac03f44 Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Trevor Saunders
82e5558b37 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
Suhas Nandakumar
2f49975283 Bug 886891: Don't show recording indicator when using fake sources r=jesup 2013-07-04 22:53:10 -07:00
Ethan Hugg
7d3811cc7c Bug 879743 - Fake audio should be sent at the same rate as fake video r=jesup 2013-06-20 10:14:04 -07:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Gian-Carlo Pascutto
9cc5fa74c8 Bug 863290 - Correctly detect failure to initialize Android capture objects. Fix crashers. r=jesup 2013-05-15 18:50:42 +02:00
Michael Wu
78451df40a Bug 869206 - Make webrtc code build on gonk-JB, r=jesup 2013-05-04 11:00:35 -04:00
Ryan VanderMeulen
3388355e9a Merge m-c to birch. 2013-05-02 13:10:42 -04:00
Chiajung Hung
105da9b5d8 Bug 825110 - Part 3: WebRTC changes for B2G WebRTC video module. r=jesup 2013-05-02 08:00:12 -04:00
Gian-Carlo Pascutto
6447a8c8a1 Bug 866093 - Set Android Context Objects, use any-thread FindClass, compile AudioCapture classes. r=jesup f=blassey 2013-05-02 08:42:53 +02:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Dan Mosedale
426c04e030 Bug 830942 - Make VideoEngine attach to JVM on Android to support getUserMedia video capture. r=blassey 2013-02-09 14:20:03 -08:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Randell Jesup
7e724d9df2 Bug 848401: switch from ReentrantMonitors and PR_Lock/Condvar to Monitor. Fix {picture:true} for desktop r=khuey,dao 2013-03-13 11:42:18 -04:00
Randell Jesup
86187459da Bug 842715: Refactor gUM prefs use to be on mainthread, and prepare for constraints r=derf 2013-03-04 16:02:17 -05:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
aa0fed2e03 Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
Robert O'Callahan
d96eb1e910 Bug 843214. Make SourceMediaStream::AddTrack/AppendToTrack/HaveEnoughBuffered/DispatchWhenNotEnoughBuffered/EndTrack smoothly handle cases where track does not exist. r=jesup 2013-02-25 22:25:07 +13:00
Ed Morley
94361edb30 Backed out changeset dba7a059ed22 (bug 843214) 2013-02-27 12:49:26 +00:00
Robert O'Callahan
4dd110ae0a Bug 843214. Make SourceMediaStream::AddTrack/AppendToTrack/HaveEnoughBuffered/DispatchWhenNotEnoughBuffered/EndTrack smoothly handle cases where track does not exist. r=jesup
--HG--
extra : rebase_source : adcfa0e92b5e498c597e16e013fdcba2dae4b8e5
2013-02-25 22:25:07 +13:00
Daniel Holbert
05681efc3b Bug 843929 - Part 3: Add '(void) mFps' to silence Wunused-private-field warnings, until the code that uses it is turned on. r=jesup 2013-02-22 06:59:45 -05:00
Daniel Holbert
b473241461 Bug 843929 - Part 2: Add '(void) mEchoCancel' to silence Wunused-private-field warnings, until the code that uses it is turned on. r=jesup 2013-02-22 06:59:29 -05:00
Daniel Holbert
37c9f647b8 Bug 843929 - Part 1: Remove no-longer-used private variables mTrackID & mLastEndTime from MediaEngineWebRTCVideoSource. r=jesup 2013-02-22 06:59:11 -05:00
Randell Jesup
2aa1ac6953 Bug 842715: add prefs for default getUserMedia resolution r=derf 2013-02-20 10:18:54 -05:00
Robert O'Callahan
ca6fcfb8f3 Bug 837034. Part 1: Rename nsDOM(Local)MediaStream to DOM(Local)MediaStream and put them in the mozilla namespace. r=jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 6fd3f71779b4ecb9d3b053b6cd844c2ff0c25f80
2013-02-15 21:01:58 +13:00
Randell Jesup
3da3d3f210 Bug 829907: release video capture device on MainThread (mac only) r=bsmedberg 2013-02-14 14:59:27 -05:00
Randell Jesup
349a3e90c7 Bug 830247: rollup of changes to media/webrtc/trunk, and backouts of some temp patches r=ted,derf
--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/DShowTools.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/DShowTools.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.h
2013-02-09 23:16:10 -05:00
Robert O'Callahan
0cc85c72c1 Bug 830707. Part 3: Don't constrain AudioSegment to a fixed number of channels. r=jesup
--HG--
extra : rebase_source : feacede00821b6673ce04c886a9c3727a4989404
2013-01-21 09:44:44 +13:00
Randell Jesup
cf23ac0992 Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM (w/bustage fix) r=derf 2013-01-29 11:55:09 -05:00
Ed Morley
0428c8dbe2 Backout 40f09f7bc670 & fc262e3c635f (bug 818670) for frequent fedora64 mochitest-3 leaks on a CLOSED TREE 2013-01-30 10:32:11 +00:00
Randell Jesup
0e1d434873 Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM (w/bustage fix) r=derf 2013-01-29 11:55:09 -05:00
Ed Morley
382ec96750 Backout df75a87cce60 & 19e164f7d88d (bug 818670) for build bustage on a CLOSED TREE 2013-01-29 17:28:30 +00:00
Randell Jesup
86ad09285d Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM r=derf 2013-01-29 11:55:09 -05:00
Randell Jesup
db14a79f0f Bug 831427: Gate RemoveListener(stream) to avoid calling if Destroy() pending r=roc 2013-01-17 02:38:21 -05:00
Mats Palmgren
94ede408a1 Bug 786533 - On Windows, one of the system header files (windef.h) defines 'min' and 'max' as macros which breaks any use of std::min/std::max. Define NOMINMAX before including system header files where needed to avoid defining those macros. r=ehsan 2013-01-15 13:22:03 +01:00
Dan Mosedale
03dd7713f3 Bug 829314, enable webrtc_trace logging for getUserMedia's VideoEngine, r=jesup 2013-01-11 15:30:20 -08:00
Robert O'Callahan
851a0582da Bug 827537. Refactor AudioChunk to support having separate buffers for each channel. r=jesup
--HG--
extra : rebase_source : 0aa26e1c3181d9fe5158520d4b33248bae0fa5d0
2012-11-22 18:04:27 +13:00
Randell Jesup
b9d1a6ca0b Bug 828828: Use monitor around all accesses to stream array r=derf 2013-01-10 11:52:53 -05:00
Randell Jesup
11f9186e84 Bug 816664: wallpaper patch for negative delta times for video frames r=roc,derf 2012-11-30 03:08:17 -05:00
Randell Jesup
67ba2367db Bug 804760: Drop cached image when we stop capturing + debugs r=anant 2012-12-29 21:55:24 -05:00
Randell Jesup
410542abca Bug 811757: Allow the user to explicitly share devices between tabs r=anant 2012-12-31 18:12:12 -05:00
Josh Matthews
df590b9c83 Backed out changeset 7d6255d1c547 (bug 816664) 2012-12-28 19:03:48 -05:00
Randell Jesup
a96f37681d Bug 816664: wallpaper patch for negative delta times for video frames r=derf 2012-12-28 15:34:01 -05:00
Saurabh Anand
c9e3659e16 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Trevor Saunders
f1b73ccb3d bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir 2012-12-05 02:55:37 -05:00
Jan-Ivar Bruaroey
68777d5651 Bug 800538: Added MOZ_ASSERTs of passed-in VoiceEngine/VideoEngine in MediaEngineWebRTCAudio/VideoSource constructors respectively. r=jesup 2012-11-28 22:30:31 -05:00
Timothy B. Terriberry
a467ca0213 Bug 815825 - Rotate colors in fake video streams, r=jesup 2012-11-27 16:15:55 -08:00
Randell Jesup
52d8acc98e Bug 802399: set capture index for audio input when device is Allocate()ed, plug VoEHw leak r=derf 2012-11-15 18:23:39 -05:00
Randell Jesup
4e788c410e Bug 811695: disable internal socket transports for getUserMedia Audio capture r=derf 2012-11-15 17:58:40 -05:00
Randell Jesup
dde7ff9d8c Bug 809554: if a device has no uniqueId, use the name r=derf 2012-11-12 20:46:52 -05:00
Nathan Froyd
bd55a07f0e Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Robert O'Callahan
b1f3765e26 Bug 805254. Part 7: Move SampleFormat to mozilla::AudioSampleFormat in its own file. r=kinetik 2012-10-25 23:09:40 +13:00
Randell Jesup
2546ad6ad0 Bug 805596: Incorrect audio rates used for fake audio streams r=anant 2012-10-25 20:14:47 -04:00
Randell Jesup
0b36cd32e3 Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc 2012-10-24 19:21:15 -04:00
Ehsan Akhgari
e4097ac608 Backed out changeset ea436c6f7d2d (bug 803799), landed on a CLOSED TREE 2012-10-24 20:30:08 -04:00
Randell Jesup
491dae523f Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc 2012-10-24 19:21:15 -04:00
Randell Jesup
aed1ba0a24 Bug 803535: Add mutex for MediaEngineDefault access, fix cut-and-paste error r=anant 2012-10-19 18:06:18 -04:00
Randell Jesup
890418950c Bug 803093: Lock access to MediaEngineWebRTC singleton r=anant 2012-10-18 14:03:00 -04:00
Randell Jesup
9490a0aea5 Bug 802661: Clean up getUserMedia MediaStream handling r=roc,anant 2012-10-17 17:40:14 -04:00
Randell Jesup
8050a5ddc6 Bug 801843: Change how video frames are inserted into getUserMedia streams to remove blocking r=roc,anant 2012-10-17 05:46:40 -04:00
Anant Narayanan
8e09a03964 Bug 802411: Refactor MediaEngine to use GIPS singletons; r=jesup 2012-10-16 17:53:55 -07:00
Randell Jesup
bab284d6b8 Bug 773649: Support getting audio and video in the same getUserMedia call r=roc,anant 2012-10-15 16:41:46 -04:00
Randell Jesup
123a8599dc Bug 797671: cleanup from importing webrtc.org update r=ted,glandium (Part is bug 778801 r=derf) 2012-10-04 12:09:35 -04:00
Anant Narayanan
f7e7e69c9c Bug 794668 - Add fake media stream functionality to getUserMedia; r=jesup 2012-09-28 15:26:00 -07:00
Paul Adenot
02ca3e551c Bug 783953 - Rename MOZ_SAMPLE_TYPE_S16LE to MOZ_SAMPLE_TYPE_S16. r=kinetik,roc 2012-09-01 11:35:56 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Zbarsky
fbb04700b6 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Matt Woodrow
7591d1ef12 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Aryeh Gregor
6a9cec29c8 Bug 626472 part 3 - Remove nsnull for good; r=ehsan 2012-08-12 13:43:47 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
David Zbarsky
06ea1f66f2 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Makoto Kato
fab68322c5 Bug 777304 - Don't use freed pointer after destructor of NS_ConvertUTF16toUTF8. r=bsmedberg 2012-07-27 12:13:51 +09:00
Anant Narayanan
e91b26162f Bug 691234: Part 2/3: Implement WebRTC backend for MediaEngine on Desktop; r=jesup, r=roc 2012-07-12 04:53:08 -07:00
Anant Narayanan
2a355449fc Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00
Anant Narayanan
bb04cfc046 Backout 431ab4d097c9, bustage 2012-07-11 21:51:20 -07:00
Anant Narayanan
a268b8a7a6 Backout 431ab4d097c9, bustage 2012-07-11 21:45:20 -07:00
Anant Narayanan
de0f08c487 Backout 038e89521330, bustage 2012-07-11 21:44:16 -07:00
Anant Narayanan
641e5c597a Bug 691234: Part 2/3: Implement WebRTC backend for MediaEngine on Desktop; r=jesup, r=roc 2012-07-11 21:22:24 -07:00
Anant Narayanan
f8751ea4ae Bug 691234: Part 1/3: Move MediaEngine files and tweak interface; r=roc
--HG--
rename : content/media/MediaEngine.h => content/media/webrtc/MediaEngine.h
rename : content/media/MediaEngineDefault.cpp => content/media/webrtc/MediaEngineDefault.cpp
rename : content/media/MediaEngineDefault.h => content/media/webrtc/MediaEngineDefault.h
2012-06-19 17:29:43 -07:00