Randell Jesup
e676b9991e
Bug 1008619: Release MediaEngineWebRTC at MediaManager shutdown r=anant
2014-05-28 14:38:37 -04:00
Randell Jesup
42f0140188
Bug 988877: Shut down MediaManager thread in xpcom-shutdown r=bsmedberg
2014-05-28 14:38:15 -04:00
Trevor Saunders
78966cf36b
bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug
2014-01-09 21:03:47 -05:00
Neil Rashbrook
ef8d375d0b
Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
Relading with correct bug number so DONTBUILD.
--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
7ed88d413a
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Neil Rashbrook
71828ecc1c
Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Steven Lee
f25deb46d9
Bug 922500 - Fix the problem of casting a PRUnichar* to char* in MediaManager. r=ehsan
2014-05-25 23:38:00 +02:00
Birunthan Mohanathas
952b834c76
Bug 869836 - Part 9: Use AssignLiteral instead of `Assign(NS_LITERAL_STRING(...))`. r=ehsan
2014-05-22 06:48:52 +03:00
Neil Rashbrook
5b3f3e053a
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-11 10:47:11 +01:00
Neil Rashbrook
fac8c73779
Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE
2014-05-08 20:35:09 +01:00
Neil Rashbrook
5b1f7b4a77
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-08 20:08:38 +01:00
Ted Mielczarek
57682362bb
bug 999072 - fix leak in MediaManager loopback device pref checks, enable them for non-DEBUG. r=jesup
2014-05-08 14:18:40 -04:00
Martin Thomson
c3c2709899
Bug 942367 - Stream isolation for WebRTC r=bholley
2014-05-01 12:51:00 +02:00
Jan Beich
6359dd2dd2
Bug 1004183: Unbreak build with --disable-webrtc after bug 907352 r=jib
2014-05-01 02:58:48 -04:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Jan-Ivar Bruaroey
e8178b5b3b
Bug 907352 - Part 6: Change media.navigator.video.default_width to 0. r=mt
2014-04-24 19:30:08 -04:00
Jan-Ivar Bruaroey
cce37e9b39
Bug 907352 - Part 5: Wiring for width/height/frameRate gUM constraints. r=mt
2014-04-18 15:15:10 -04:00
Jan-Ivar Bruaroey
8321c5043f
Bug 907352 - Part 4: Normalized constraints to relieve downstream width/height/frameRate implementation. r=mt
2014-04-18 15:16:08 -04:00
Jan-Ivar Bruaroey
9f10a344cd
Bug 907352 - Part 3: WebIDL for width/height/frameRate gUM constraints. r=mt
2014-04-18 15:14:44 -04:00
Jan-Ivar Bruaroey
27529456e5
Bug 907352 - Part 2: Backwards-compatible facingMode constraint on mobile. r=mt, r=drno
2014-04-18 15:14:23 -04:00
Jan-Ivar Bruaroey
412a6bc6ff
Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt
2014-04-18 14:00:16 -04:00
Jan Beich
149bce343a
Bug 996433 - Sprinkle MOZ_WEBRTC ifdefs to unbreak --disable-webrtc after bug 694814. r=jesup
2014-04-21 09:15:34 +02:00
Ryan VanderMeulen
0ce621aabd
Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes.
2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
febff8480f
Bug 907352 - Part 2: Backwards-compatible facingMode constraint on mobile. r=mt, r=drno
2014-04-17 12:37:13 -04:00
Jan-Ivar Bruaroey
68500a88e9
Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt
2014-04-18 03:23:29 -04:00
Carsten "Tomcat" Book
e285a213e7
Backed out changeset e6c72bcaa64c (bug 942367)
2014-04-16 09:54:31 +02:00
Martin Thomson
d27d0a86fc
Bug 942367 - Stream isolation for WebRTC. r=jib,bholley
2014-04-15 14:36:00 +02:00
Randell Jesup
494e3f21b4
Bug 993495: Update MediaManager UI r=jesup,florian,smaug
2014-04-16 02:22:19 -04:00
Randell Jesup
fcfefc894e
Bug 694814: Patch 6 - Change gUM prefs to media.getusermedia.*, groundwork for in-call changes r=jib
2014-04-02 13:58:20 -04:00
Randell Jesup
41dac5d5ab
Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot
2014-04-02 13:58:19 -04:00
Randell Jesup
b0d9eb6953
Bug 694814: Patch 4 - Add audio playout delay config var r=padenot
2014-04-02 13:58:19 -04:00
Randell Jesup
08c9a793eb
Backed out changeset 74e5c32c6fa2 (bug 694814)
2014-04-07 15:37:51 -04:00
Randell Jesup
3126953e04
Backed out changeset 6dc08e9fc7e8 (bug 694814)
2014-04-07 15:37:50 -04:00
Randell Jesup
9954d550d1
Backed out changeset 1cf98d1c6b75 (bug 694814)
2014-04-07 15:37:49 -04:00
Jan-Ivar Bruaroey
1e25ffcc21
Bug 916012 - Clean up gUM to use webidl unions and filter by media-type. r=bz, r=bwc
2014-04-04 05:54:25 -04:00
Randell Jesup
fe8fbce08a
Bug 694814: Patch 6 - Change gUM prefs to media.getusermedia.*, groundwork for in-call changes r=jib
2014-04-02 13:58:20 -04:00
Randell Jesup
0710b9d23a
Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot
2014-04-02 13:58:19 -04:00
Randell Jesup
45c5a9c9bb
Bug 694814: Patch 4 - Add audio playout delay config var r=padenot
2014-04-02 13:58:19 -04:00
Randell Jesup
2dfec0638c
Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout
2014-04-02 17:11:12 -04:00
Randell Jesup
3f1ee43687
Bug 694814: Patch 6 - Change gUM prefs to media.getusermedia.*, groundwork for in-call changes r=jib
2014-04-02 13:58:20 -04:00
Randell Jesup
c944f7f471
Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot
2014-04-02 13:58:19 -04:00
Randell Jesup
f541101e08
Bug 694814: Patch 4 - Add audio playout delay config var r=padenot
2014-04-02 13:58:19 -04:00
Boris Zbarsky
6b002b786e
Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley
2014-03-29 01:45:10 -04:00
Randell Jesup
60df1ee9ac
Bug 986764: don't leak a thread for every getUserMedia doorhanger r=jib
2014-03-26 17:57:46 -04:00
Kyle Huey
3588b62871
Bug 967364: Replace crazy already_AddRefed handling with something reasonable. r=jesup
2014-03-15 12:00:15 -07:00
Gian-Carlo Pascutto
d0e2165a66
Bug 877954 - Implement Load Management service. Add callbacks to ViEncoder. r=jesup
2014-03-13 11:05:27 +01:00
Nathan Froyd
0ca2bb1bf9
Bug 968836 - fix a few already_AddRefed members in MediaManager.cpp; r=jesup
2014-03-05 17:58:13 -08:00
Wes Kocher
006d4b42d4
Backed out changeset 3a5a9d48b90c (bug 968836) for m-bc bustage
2014-03-05 18:44:33 -08:00
Nathan Froyd
e61fc8be4d
Bug 968836 - fix a few already_AddRefed members in MediaManager.cpp; r=jesup
2014-03-05 17:58:13 -08:00
Florian Quèze
015bd036d7
Bug 804611 - Add a way to grant/deny getUserMedia permissions persistently, r=jesup,dolske, ui-r=Boriss.
2014-02-25 12:50:42 +01:00
Florian Quèze
b49aeb2bf3
Bug 975177 - The WebRTC toolbar icon sometimes stays visible when no device is shared, r=jesup.
2014-02-24 16:33:32 +01:00
Phil Ringnalda
c83769bb4b
Back out cbd2e8c512f6 (bug 968836) for hidden bustage
2014-02-22 20:13:27 -08:00
Nathan Froyd
02db6b1627
Bug 968836 - fix a few already_AddRefed members in MediaManager.cpp; r=jesup
2014-02-06 10:45:00 -05:00
Jan-Ivar Bruaroey
e3704391bc
Bug 949907 - GetUserMediaDevices cleanup + untie GetUserMediaRequest obj from DOM. r=jesup
2014-02-14 11:32:58 -08:00
Mike Habicher
557d8c2d5c
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 17:41:07 -05:00
Ryan VanderMeulen
06dd91591b
Backed out changeset 6e588c56764b (bug 909542) for Gaia unit test perma-fail.
2014-02-14 08:27:44 -05:00
Mike Habicher
abbcc4db39
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
2014-02-14 00:28:57 -05:00
Phil Ringnalda
5a748ed604
Back out f03664765359 (bug 909542) for unexpected assertions and lack of expected assertions
2014-02-10 19:09:23 -08:00
Mike Habicher
e97948ed28
Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
...
* * *
Debugging the rotation issue with new camera.js
* * *
Fix the occasionally-invalid MOZ_ASSERT on GonkCameraControl.cpp:844
2014-02-10 17:53:19 -05:00
Alfredo Yang
3853c6783a
Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith
2014-02-09 15:34:40 -05:00
Jon Coppeard
4df3aa4450
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
f4bc96a601
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
ba27569312
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Jan-Ivar Bruaroey
0a07322d17
Bug 961802: Plugged leak in getUserMedia Denied code-path. r=jesup
2014-01-22 16:43:34 -05:00
Terrence Cole
d902eeddc8
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Trevor Saunders
ff0491aef6
bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug
2014-01-06 17:34:15 -05:00
Jan-Ivar Bruaroey
851a276e61
Bug 919244 - Leakproof gUMRunnable + OnNavigation cleanup of MediaManager::mActiveCallbacks. r=jesup
2014-01-08 16:51:33 -05:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Suhas Nandakumar
cf1bd82337
Bug 934667 - Add preferences to enable loopback devices. r=jesup
2013-11-11 02:39:54 -08:00
Randell Jesup
3a1d8de98f
Bug 853356: backout p2
2013-12-10 01:03:23 -05:00
Carsten "Tomcat" Book
b91f640910
Backed out changeset 1d72742584ad (bug 945614) per Bug 853356 comment 209
2013-12-10 08:38:43 +01:00
Phil Ringnalda
b1fd3d5806
Merge m-c to b-i
2013-12-07 08:28:10 -08:00
Wes Kocher
21fb590f55
merge m-c to b2g-inbound
2013-12-06 20:49:02 -06:00
Randell Jesup
fec166b78a
Bug 947429: add prefs that let us disable gum video and peerconnection video r=jib
2013-12-06 18:43:02 -05:00
Phil Ringnalda
6f9710e6f6
Back out d5d23d937ffc (bug 947429) on suspicion of breaking gaia-ui-test
2013-12-06 19:50:54 -08:00
Randell Jesup
ada51719aa
Bug 945614: Don't track windowIDs in MediaEngine for B2G r=mikeh,schien
2013-12-06 17:38:52 -05:00
Alfredo Yang
b642ddfe15
Bug 853356 - Part2 Add MediaPermissionGonk.h and MediaPermissionGonk.cpp to implement ContentPermissionPrompt. r=jesup
2013-12-06 17:38:51 -05:00
Randell Jesup
734079b6b5
Bug 947429: add prefs that let us disable gum video and peerconnection video r=jib
2013-12-06 18:43:02 -05:00
Randell Jesup
6be5235727
Bug 945334: Fix runnable pointer holding r=roc
2013-12-05 16:30:51 -05:00
Randell Jesup
17baba88fd
Backout bug 926746 part 3 (replaced with bug 945334) rs=jesup
2013-12-05 16:30:50 -05:00
Steven Lee
b7e5d57a8d
Bug 926746 - Part 3: Fix the problem that JS objects could be released on non-mainthread. r=jesup
2013-12-05 09:29:07 -05:00
Steven Lee
9ba99f1307
Bug 926746 - Part 2: nsContentPermissionHelper set grant information to GonkPermission. r=jesup
2013-12-05 09:29:07 -05:00
Shih-Chiang Chien
3ee69fea71
Bug 940045 - Part 2: Send requestURL from content process. r=jesup
2013-11-26 14:22:16 +08:00
Ryan VanderMeulen
7b10b617ea
Backed out changesets 720a36d92d37 and c24da899172a (bug 926746) for frequent timeouts/hangs in test_dataChannel_basicAudio.html.
2013-12-02 14:05:19 -05:00
Steven Lee
27232f6777
Bug 926746 - Part 2: nsContentPermissionHelper set grant information to GonkPermission. r=jesup
2013-12-02 10:21:51 -05:00
Jan-Ivar Bruaroey
d2b41c5e14
Bug 927358: Was mistake to begin failing on unsupported mandatory constraints. r=jesup
2013-11-22 16:10:00 -05:00
Tom Schuster
4478f5b384
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
cca4d45da6
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
bc757ef965
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Reuben Morais
1d3b24a4d5
Backed out 4 changesets (bug 853356) for breaking permission prompts.
2013-11-06 01:32:42 -02:00
Alfredo Yang
095eff90e8
Bug 853356 - Part2 Add MediaPermissionGonk.h and MediaPermissionGonk.cpp to implement ContentPermissionPrompt. r=jesup
2013-11-05 16:29:39 +08:00
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
Terrence Cole
a4b099f908
Bug 932466 - Fix two exact rooting hazards in dom; r=smaug
...
--HG--
extra : rebase_source : 8085170b6ab76912962c19dce9e409e2f6026058
2013-10-28 12:35:52 -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
Randell Jesup
25107fe5c3
Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot
2013-10-25 18:13:42 -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
6540e33b98
backout 5f38b1bd3358 for bustage CLOSED TREE
2013-10-25 19:25:54 -04:00
Randell Jesup
f299c1fdbc
Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot
2013-10-25 18:13:42 -04:00
Shih-Chiang Chien
7865eef416
Bug 905701 - Apply MediaStreamConstraint on FirefoxOS. r=jesup
2013-09-17 11:09:52 -04:00
Randell Jesup
48a056d44c
Bug 915705: reland changesets f6402ce2b67a and 5bdec1cb1428 r=bz
2013-09-16 02:39:03 -04:00
Randell Jesup
edd0e485ab
Bug 882145: reland changesets bc4ee7cbd7bd and cf373e408a6b r=bz
2013-09-16 02:34:57 -04:00
Ryan VanderMeulen
53987a6270
Backed out changesets f6402ce2b67a and 5bdec1cb1428 (bug 915705) because it depends on bug 882145, which was also backed out.
2013-09-15 18:51:50 -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
Shih-Chiang Chien
dde3c1ec48
Bug 915705 - Part 2: Add gUM request handler on FirefoxOS. r=jesup
2013-09-10 15:27:15 +02: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
Robert O'Callahan
03e7828db2
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
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
Randell Jesup
d093043b4d
Bug 909187: Part 2 - Allow DOM MediaStreams to intercept SetTrackEnabled calls r=roc (reland)
2013-08-26 02:07:19 -04:00
Wes Kocher
30bb9083ce
Backed out 2 changesets (bug 909187)
...
Backed out changeset 79b1a4a62635 (bug 909187)
Backed out changeset 0601038e2a31 (bug 909187)
2013-08-26 02:29:55 -07:00
Randell Jesup
7b81d69b21
Bug 909187: Part 2 - Allow DOM MediaStreams to intercept SetTrackEnabled calls r=roc
2013-08-26 02:07:19 -04:00
Randell Jesup
d4630d0cb2
Bug 884365: Deliver gUM data directly to PeerConnection to avoid delay buildup and resampling r=roc
2013-08-24 09:53:11 -04:00
Ehsan Akhgari
99058b577c
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -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
Boris Zbarsky
b927f50c8e
Bug 838146 part 2. Implement WebIDL API on Navigator for all our nonstandard extensions that are not behind build-time flags. r=smaug, sr=peterv
2013-07-12 10:35:44 -04:00
David Zbarsky
45aa3d2bde
Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger
2013-05-17 13:17:53 -07: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
Michael Wu
65d65906d0
Bug 869206 - Make webrtc code build on gonk-JB, r=jesup
2013-05-04 11:00:35 -04: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
David Zbarsky
720289e06b
Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger
2013-04-24 00:22:37 -04:00
Randell Jesup
45628691c5
Bug 856434: Bug 837035 didn't create the TransportFlow for DataChannels. Passes the m-line index of the flow r=ehugg
2013-03-31 21:09:27 -04:00
Randell Jesup
32de0d2510
Bug 839650: Add debugs to MediaStreamGraph to ease investigation of issues in the future r=roc
2013-03-07 03:53:45 -05:00
Ed Morley
c812c5d9f0
Backed out changeset be1ee54becf4 (bug 839650) for build failures
2013-03-07 09:10:47 +00:00
Randell Jesup
7364d8f8e9
Bug 839650: Add debugs to MediaStreamGraph to ease investigation of issues in the future r=roc
2013-03-07 03:53:45 -05: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
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
Alex Xu
fdd45047a0
Bug 840834 - Fix compiler warning. r=jesup
2013-02-25 09:07:16 -05:00
Randell Jesup
1b7c5bc7aa
Bug 843190: Allow cameras/mics to be shared if permissions UI is disabled r=derf
2013-02-20 17:08:44 -05:00
Justin Dolske
c59a1abd14
Bug 827145 - When no A/V devices are available, return that error to the page's getUserMedia callbacks. r=jesup
2013-02-15 19:22:27 -08:00
Randell Jesup
b3f55d6267
Bug 835953: Notify UI that all gUM streams for a WindowID are gone r=dolske
2013-02-15 11:10:15 -05:00
Robert O'Callahan
2c25988734
Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
...
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Robert O'Callahan
a019386f6d
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
83c2fd91ec
Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM (w/bustage fix) r=derf
2013-01-29 11:55:09 -05:00
Randell Jesup
ffd024bf5b
Bug 836294: Don't drop array of media devices on the floor r=bz
2013-01-30 10:56:10 -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
Gian-Carlo Pascutto
25904c460c
Bug 812650 - Enable WebRTC audio recording on Android. r=dmose
2013-01-16 10:14:49 +01: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
08fd4e2d72
Bug 827007: Implement Stop for UserMediaStreams; add NotifyRemoved for MediaStream listeners r=roc
2013-01-06 21:31:30 -05:00
Randell Jesup
ecb358d581
Bug 802656: GetUserMediaDevices: Consider no devices available an error r=anant
2013-01-04 13:11:14 -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
a4250e5b65
Bug 820978: keep reference to MediaManager singleton r=derf
2012-12-28 15:29:52 -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
22e9dc9724
Bug 823453 - Change gUM permissions response to be an array. r=anant
2012-12-20 12:03:07 -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
Mark Banner
36eb10078c
Bug 819916 Selecting "Share Microphone" or "Share Camera" picks the last item in the list rather than the first. r=jesup
2012-12-10 19:51:48 +00:00
Randell Jesup
d3a4f3b8fa
Bug 802376: wallpaper permissions bug when selecting a camera+audio other than the first r=ekr
2012-11-18 23:13:22 -05:00
Randell Jesup
ee58d7edd6
Bug 801227: Patch v2 (unbitrotted) r=anant a=abillings
2012-11-13 16:55:02 -05:00
Anant Narayanan
ea423daca6
Bug 803782: Reset found flag while enumerating audio devices; r=jesup
2012-11-07 08:12:14 -08:00
Anant Narayanan
7097406397
Revert d2f77172baf2 due to incorrect crashtest
2012-11-07 08:10:36 -08:00
Anant Narayanan
109054e57c
Bug 803782: Reset found flag before enumerating audio devices; r=jesup
2012-11-07 06:51:38 -08: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
Robert O'Callahan
b1feab9a84
Bug 805703. Part 1: MediaStreamGraph::CreateInputStream -> CreateSourceStream. r=jesup
...
--HG--
extra : rebase_source : 3c327e9ead92508f12df4b95f2fd24fa2ba97ab5
2012-10-29 17:36:31 +13: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
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
Anant Narayanan
546365d1f8
Bug 780790: Check for NULL callbacks in getUserMedia; r=jesup
2012-10-18 11:31:00 -07:00
Anant Narayanan
382c3b4fb6
Backed out changeset 3dfb18a29fe2
2012-10-18 11:53:59 -07:00
Anant Narayanan
611a7f7479
Bug 780790: Check for NULL callbacks to getUserMedia; r=jesup
2012-10-18 11:52:39 -07:00
Randell Jesup
bef0a4c1e2
Bug 803093: Lock access to MediaEngineWebRTC singleton r=anant
2012-10-18 14:03:00 -04:00
Anant Narayanan
edf634a604
Bug 802411: Refactor MediaEngine to use GIPS singletons; r=jesup
2012-10-16 17:53:55 -07: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
Randell Jesup
0945ff4d8b
Bug 799191: incorrect audioCount in GetUserMediaDevicesRunnable r=derf
2012-10-09 17:56:22 -04:00
Anant Narayanan
b768c06860
Bug 798966: Create a preference to bypass gUM permission; r=jesup
2012-10-07 17:31:45 -07:00
Anant Narayanan
8b97806c7b
Bug 792188: Add hints to MediaStreams to help with generating signaling r=jesup
2012-10-07 01:34:30 -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
f7ab670407
Bug 794668 - Fix error in patch to add fake media stream; r=me
2012-10-01 15:29:21 -07:00
Anant Narayanan
1045427d7c
Bug 794668 - Add fake media stream functionality to getUserMedia; r=jesup
2012-09-28 15:26:00 -07:00
Kyle Huey
43e58e33c8
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -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
Randell Jesup
e674138254
Bug 773847: Fix popupcontrol logic and take snapshots from main thread, enable Snapshots on Android by default r=mounir,blassey
2012-08-26 01:33:08 -04: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
Arjun
0d65c26ce9
Bug 780553: Fix error caused by merge of previous patch; r=anant
2012-08-10 08:41:33 -07:00
Arjun
1ea896bda5
Bug 780553 - Validate media type parameters for getUserMedia [r=anant]
2012-08-09 14:01:00 -07:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Robert O'Callahan
c26add417d
Bug 771833. Windows in mActiveWindows are all inner-windows. r=anant
2012-07-26 16:05:00 -07:00