Commit Graph

233 Commits

Author SHA1 Message Date
Kan-Ru Chen (陳侃如)
a582f5f131 Backout 2baeee8eb114 2013-11-05 15:00:06 +08:00
Alfredo Yang
02b2d7381a Bug 853356 - Part2 Add MediaPermissionGonk.h and MediaPermissionGonk.cpp to implement ContentPermissionPrompt. r=jesup 2013-11-05 14:07:29 +08:00
Doug Turner
58f885e6e0 Backing out 0f687f920370 2013-10-31 20:25:25 -07:00
Alfredo Yang
6898c45efe Bug 853356 - Part 2: Add MediaPermissionGonk.h and MediaPermissionGonk.cpp to implement ContentPermissionPrompt. r=jesup 2013-10-26 21:19:53 -04:00
Shih-Chiang Chien
3a63b0c4e2 Bug 926289 - Part 2, Carry recording type and request URL in recording-device-events in gUM API. r=jesup. 2013-10-23 19:10:42 +08:00
Randell Jesup
edd0e485ab Bug 882145: reland changesets bc4ee7cbd7bd and cf373e408a6b r=bz 2013-09-16 02:34:57 -04:00
Ryan VanderMeulen
45c4ca50e7 Backed out changesets bc4ee7cbd7bd and cf373e408a6b (bug 882145) for causing bug 916609. r=jsmith 2013-09-15 18:19:42 -04:00
Jan-Ivar Bruaroey
d1f9cc1efa Bug 882145: Implements gUM constraints. First constraint: facingMode. r=jesup 2013-09-14 00:57:33 -04:00
Jan-Ivar Bruaroey
3ab140206b Bug 882145: gUM constraints converted to webidl + gUMDevices() takes constraints. r=bz r=jesup 2013-09-14 00:48:39 -04:00
Gian-Carlo Pascutto
7a76409d70 Bug 946865 - Move Load Adaption preference to the main thread. r=jesup 2013-12-06 20:34:40 +01:00
Steven Lee
b1411c0617 Bug 904025 - part2: stop MediaStream when there is incoming call. r=jesup 2013-09-13 16:51:48 +08:00
Boris Zbarsky
8b65afbbc7 Bug 909645 part 3. Make including SpeechRecognition.h and MediaManager.h not pull ipdl headers. r=ms2ger 2013-08-28 00:14:57 -04:00
Joshua Cranmer
36673bcae2 Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Suhas Nandakumar
8a3f1d02db Bug 886891: Don't show recording indicator when using fake sources r=jesup 2013-07-04 22:53:10 -07:00
Arnaud Sourioux
8ebb1ca3e6 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Robert O'Callahan
c91b9193e1 Bug 866514. Part 2: Delay delivering getUserMedia stream result until the DOM object has asynchronously acquired the desired tracks. r=jesup
--HG--
extra : rebase_source : 26a908d2e1bcf0d6d83a864f47dd9d117699bb9c
2013-05-03 17:07:37 +12:00
Ms2ger
164bfd91dd Backout changesets f309dacf4010:be3cef4b69e3 for thread safety assertions on Windows and test failures on OSX. 2013-05-05 11:51:47 +02:00
Robert O'Callahan
95251bed50 Bug 866514. Part 2: Delay delivering getUserMedia stream result until the DOM object has asynchronously acquired the desired tracks. r=jesup 2013-05-03 17:07:37 +12:00
Chiajung Hung
04960e6d50 Bug 825110 - Part 3: WebRTC changes for B2G WebRTC video module. r=jesup 2013-05-02 08:00:12 -04:00
Randell Jesup
c92ed777f4 Bug 842715: Refactor gUM prefs use to be on mainthread, and prepare for constraints r=derf 2013-03-04 16:02:17 -05:00
Randell Jesup
c5597b655d Bug 843971: initializer order bustage fix rs=bustage 2013-03-02 22:04:40 -05:00
Randell Jesup
d0758bc719 Bug 843971: fix backend for GUM a/v notification in opt builds r=derf 2013-03-02 21:49:29 -05:00
Randell Jesup
d18bc2cc14 Bug 843971: Add MediaManager function to report what a window is capturing r=smaug 2013-02-27 15:36:06 -05:00
Randell Jesup
4c966d0634 Bug 829907: release video capture device on MainThread (mac only) r=bsmedberg 2013-02-14 14:59:27 -05:00
Randell Jesup
d5dc1a93b2 Bug 837874: Check ObserverService before adding observers in MediaManager r=derf 2013-02-07 22:14:21 -05:00
Randell Jesup
83c2fd91ec 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
58ea6b383c 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
5bfe28ca5c 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
367cd59d9d Backout df75a87cce60 & 19e164f7d88d (bug 818670) for build bustage on a CLOSED TREE 2013-01-29 17:28:30 +00:00
Randell Jesup
abaf7857dc Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM r=derf 2013-01-29 11:55:09 -05:00
Sotaro Ikeda
9869e6bdbd Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 21:45:36 -05:00
Ryan VanderMeulen
cc8552d9ab Backed out changeset 58209cc0ae14 (bug 833521) for build bustage. 2013-01-24 15:23:53 -05:00
Sotaro Ikeda
06930e355e Bug 833521 - forward "recording-device-events" event to parent process, r=dougt 2013-01-24 14:51:03 -05:00
Randell Jesup
4fadb0bc10 Bug 831427: Gate RemoveListener(stream) to avoid calling if Destroy() pending r=roc 2013-01-17 02:38:21 -05:00
Randell Jesup
d12b4b0cfb Bug 827913: remove no-longer-correct MOZ_ASSERT in getUserMedia r=derf 2013-01-08 22:10:09 -05:00
Randell Jesup
26b82f4427 Bug 827203: add locks against calling RemoveListener on a Destroy()ed MediaStream r=roc 2013-01-07 21:44:43 -05:00
Randell Jesup
8e9451dfa1 Bug 826576: Manage the lifetimes of GUMCMSL objects (with inactive Listeners) r=roc 2013-01-06 21:31:32 -05:00
Randell Jesup
e49cc9e10e Bug 805632: backend for getUserMedia:revoke r=anant 2013-01-04 13:11:12 -05:00
Robert O'Callahan
cbd61fb349 Bug 822956. Part 2: Don't wrap getUserMedia's SourceMediaStream in a DOM object wrapper. Create an nsDOMUserMediaStream wrapper specifically to clean up the SourceMediaStream and the MediaInputPort. r=jesup 2013-01-04 12:16:32 -05:00
Randell Jesup
573e321f8d Bug 822956: convert to TrackUnionStreams for getUserMedia (and add hint support) r=roc 2012-12-19 02:07:37 -05:00
Randell Jesup
8d4b69e76b Bug 825526: Improve lifetime control of SourceMediaStream in gUM r=anant 2012-12-31 18:12:15 -05:00
Randell Jesup
5cd17e7cda Bug 811757: Allow the user to explicitly share devices between tabs r=anant 2012-12-31 18:12:12 -05:00
Randell Jesup
ac2befd756 Bug 802538: Make sure gUM MediaStreams are destroyed (and fix other leaks) r=derf 2012-12-28 15:27:57 -05:00
Randell Jesup
889ac174c8 Bug 799417: Backend support for list of documents that have active gUM MediaStreams r=derf 2012-12-22 03:09:36 -05:00
Randell Jesup
db1a97de43 Bug 822956: backout 3dead2094684 due to breaking normal PeerConnection cases rs=me 2012-12-20 14:23:55 -05:00
Randell Jesup
c17e3ff221 Bug 822956: convert to TrackUnionStreams for getUserMedia (and add hint support) r=roc 2012-12-19 02:48:12 -05:00
Ted Mielczarek
11d95aa6fc bug 821306 - Expose nsIMediaDevice.id to script. r=jst
--HG--
extra : rebase_source : 147c0419bc89e52164234cc6edcb367f63322317
2012-12-17 08:28:24 -05:00
Saurabh Anand
6de7befa37 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Randell Jesup
0421c82850 Bug 817841: Proxy deletion of nsDOMMediaStreams with NS_ProxyRelease() r=roc 2012-12-03 22:17:38 -08:00
Jason Duell
2e63d7c91c Backed out changeset d9bcbec33260 for bustage. 2012-12-03 22:12:51 -08:00
Randell Jesup
b045050020 Bug 817841: Proxy deletion of nsDOMMediaStreams with NS_ProxyRelease() r=roc 2012-12-04 00:53:13 -05:00
Randell Jesup
ee58d7edd6 Bug 801227: Patch v2 (unbitrotted) r=anant a=abillings 2012-11-13 16:55:02 -05:00
Nathan Froyd
4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Randell Jesup
0111b8798d Bug 805451: Remove lock (mostly) and ensure other singleton refs are MainThread r=derf 2012-10-25 20:14:47 -04:00
Randell Jesup
d78da9336d Bug 798829: Force MediaManager to be created from MainThread r=anant 2012-10-25 00:54:38 -04:00
Randell Jesup
157dcda1cc Bug 803976: Bustage fixes r=ehsan 2012-10-24 21:31:08 -04:00
Randell Jesup
4fda85ac3e Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Randell Jesup
f9529e846d Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc 2012-10-24 19:21:15 -04:00
Ehsan Akhgari
12ad3e18ba Backed out changeset ea436c6f7d2d (bug 803799), landed on a CLOSED TREE 2012-10-24 20:30:08 -04:00
Ehsan Akhgari
fec8894f04 Backed out changeset 165208ecd591 (bug 803976) 2012-10-24 20:29:32 -04:00
Randell Jesup
d6cc9a88c2 Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Randell Jesup
8f9c42aa87 Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc 2012-10-24 19:21:15 -04:00
Randell Jesup
bb05ef58b2 Bug 802661: Clean up getUserMedia MediaStream handling r=roc,anant 2012-10-17 17:40:14 -04:00
Randell Jesup
abfb94ebc4 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
Randell Jesup
05bc38656e Bug 773649: Support getting audio and video in the same getUserMedia call r=roc,anant 2012-10-15 16:41:46 -04:00
Anant Narayanan
b31de5499b Bug 797796: Hookup getUserMedia backend with frontend UI; r=jesup 2012-10-05 17:20:47 -07:00
Anant Narayanan
e852b08eb1 Bug 752352: Implement getUserMediaDevices for privileged chrome code; r=smaug, r=jesup 2012-09-20 12:54:00 -07:00
Ehsan Akhgari
e368dc9c85 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
Paul Adenot
106e87bbbc Bug 774581: Send event when starting/stopping audio or video recording; r=anant,mhabicher 2012-08-17 09:10:08 -07:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Anant Narayanan
50e0b02bed Bug 771833: Assign an nsIPrincipal to media streams returned by getUserMedia; r=roc 2012-07-12 04:53:48 -07:00
Anant Narayanan
3e5896e86b Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst 2012-07-12 04:53:08 -07:00
Anant Narayanan
2d7d479c31 Backout b53e8a614a4c, bustage 2012-07-11 21:43:48 -07:00
Anant Narayanan
9bd2546c26 Backout 39fe6a5577d7, bustage 2012-07-11 21:43:24 -07:00
Anant Narayanan
ae28b3b6c2 Bug 771833: Assign an nsIPrincipal to media streams returned by gUM; r=roc 2012-07-11 21:24:34 -07:00
Anant Narayanan
75cd324c15 Bug 691234: Part 3/3: Add DOM binding for getUserMedia on Desktop; r=jst 2012-07-11 21:22:24 -07:00
Ehsan Akhgari
4830dd98a3 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky 2012-06-14 22:31:55 -04:00
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Anant Narayanan
bff22f37e2 Bug 738528: Android still image support for getUserMedia r=sicking, r=jesup (plus bustage fix r=jesup) 2012-06-05 08:53:00 -04:00
Anant Narayanan
87b32d19f1 Backout e8364adb4fd8, build bustage on Android (Bug 738528) 2012-06-08 17:17:52 -07:00
Anant Narayanan
10c1d5d1a7 Bug 738528: Android still image support for getUserMedia; r=sicking, r=jesup 2012-06-05 08:53:00 -07:00
Anant Narayanan
025e433abb Bug 752353: DOM bindings for getUserMedia; r=jst
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00