Commit Graph

311 Commits

Author SHA1 Message Date
Jan-Ivar Bruaroey
b2e446deec Bug 1033885 - return MediaStreamError instead of error strings, to spec. r=bz, r=jesup 2014-10-27 15:42:56 -04:00
Jan-Ivar Bruaroey
6a7aa11f41 Bug 1033885 - rename error to onFailure in code before introducing an actual error object r=jesup 2014-10-17 20:47:46 -04:00
Jan-Ivar Bruaroey
c8b42cc3b4 Bug 1003274 - Part 2 - clue camera selection in to width/height code. r=jesup 2014-09-24 19:00:02 -04:00
Jan-Ivar Bruaroey
ee1536049b Bug 1003274 - Part 1 - refactor template types. r=jesup 2014-09-24 11:17:33 -04:00
Chai-hung Tai
06353daff2 Bug 1053130: Refactor MediaEngine video sources; alse remove Snapshot function. r=jesup,alfredo
--HG--
rename : content/media/webrtc/MediaEngineWebRTCVideo.cpp => content/media/webrtc/MediaEngineCameraVideoSource.cpp
rename : content/media/webrtc/MediaEngineWebRTC.h => content/media/webrtc/MediaEngineCameraVideoSource.h
rename : content/media/webrtc/MediaEngineWebRTCVideo.cpp => content/media/webrtc/MediaEngineGonkVideoSource.cpp
rename : content/media/webrtc/MediaEngineWebRTC.h => content/media/webrtc/MediaEngineGonkVideoSource.h
2014-10-12 23:37:37 -04:00
Andrea Marchesini
1560ff52a9 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Ryan VanderMeulen
566e49b6ff Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE

--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
946cf8e0e1 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Jan-Ivar Bruaroey
8f35ac661a Bug 1033885 - minor refactor of MediaManager::GetUserMedia to figure out privileged state itself. r=jesup 2014-09-30 19:17:53 -04:00
Randell Jesup
fa5130de56 Bug 1062876: refactor window iteration code for MediaManager r=jib 2014-09-19 17:24:28 -04:00
Daniel Holbert
9020fa69b0 Bug 1066703: Mark GetUserMediaCallbackMediaStreamListener::mMediaThread as permissably-unused in --disable-webrtc builds. r=jimm 2014-09-12 11:05:45 -07:00
Jim Mathies
57198fe6bf Bug 1060738 - Switch to using chromium's Thread/tasks in MediaManager. On Windows, use MessagePumpForNonMainUIThreads for the background media thread. r=jesup 2014-09-12 09:49:39 -05:00
EKR
372953c8d4 Bug 1063730 - Require HTTPS for Screen/window sharing. r=mt,sstamm 2014-09-10 15:01:44 -07:00
Alfredo Yang
0c6f6b4ed5 Bug 1054905 - Use takePhotoComplete callback on B2G. r=roc 2014-09-09 00:17:00 +02:00
Randell Jesup
108ea34872 Bug 1049583: comment-only fix for screensharing whitelist rs=jesup DONTBUILD 2014-09-05 09:43:39 -04:00
Jan-Ivar Bruaroey
ef5275232a Bug 1060708 - Detect user and environment cameras on Android. r=gcp,blassey,snorp 2014-08-29 20:38:09 -04:00
Matthew A. Miller
dca32055de Bug 1059295 - sending the getUserMedia:revoke notification with the "screen:" prefix doesn't stop app sharing r=jesup 2014-08-28 16:44:27 -06:00
Randell Jesup
22e10312df Bug 1057955: Stop the backend capture when the MSG track is stopped r=jib 2014-08-27 01:03:50 -04:00
Randell Jesup
5a13efae80 Bug 1057006: split window and app sharing reports so the UI can handle them separately, r=jib. 2014-08-25 11:01:19 -04:00
Matthew A. Miller
23971b4d05 Bug 1036653 - updates to basic framework for app sharing, r=jesup,gcp 2014-08-20 16:05:23 -06:00
Carsten "Tomcat" Book
ef13e7eb48 Backed out changeset 572c610328c6 (bug 1036653) 2014-08-27 09:20:40 +02:00
Carsten "Tomcat" Book
5018a13abd Backed out changeset 0edf5afdc13c (bug 1057955) 2014-08-27 08:40:09 +02:00
Matthew A. Miller
29c81b3031 Bug 1036653 - updates to basic framework for app sharing, r=jesup,gcp 2014-08-20 16:05:23 -06:00
Randell Jesup
65ab7922d6 Bug 1058829: enable users to enable window/screensharing on WinXP and 10.6 via pref r=jib 2014-08-27 01:09:38 -04:00
Randell Jesup
83d0a1d908 Bug 1057955: Stop the backend capture when the MSG track is stopped r=jib 2014-08-27 01:03:50 -04:00
Florian Quèze
a4d83b7b42 Bug 1056172 - the recording-window-ended notification isn't reliably fired, r=jesup. 2014-08-22 12:21:48 +02:00
Randell Jesup
774f50d295 Bug 1050802: Backend to allow stopping sharing for screen/window for a WindowID r=jib 2014-08-22 10:27:16 +01:00
Nigel Babu
1303a8d0b1 Backed out 2 changesets (bug 1050802) for bustage, CLOSED TREE
Backed out changeset c365e93b8e42 (bug 1050802)
Backed out changeset 7e35629e7cdb (bug 1050802)
2014-08-22 12:53:32 +05:30
Randell Jesup
dc72550d8e Bug 1050802: Backend to allow stopping sharing for screen/window for a WindowID r=jib 2014-08-22 01:29:21 -04:00
Bobby Holley
759ee691ed Bug 951991 - Assert against calling GetCurrentInnerWindow on an inner. r=smaug
The current convention is that this returns null when invoked on an inner, which
callers may or may not handle correctly. But when we start using GetEntryGlobal,
we'll end up with a lot of inners where we used to get outers, so we should get
strict about this now.
2014-08-19 12:02:05 -07:00
Paul Kerr [:pkerr]
1fccfdb5dd Bug 1049583 - Allow sub-domain wildcard on ScreenSharing domain whitelist patterns. r=ethanhugg, r=mt 2014-08-07 15:12:26 -07:00
Ehsan Akhgari
023b0195b2 Bug 579517 follow-up: Remove NSPR types that crept in 2014-08-08 08:39:07 -04:00
Randell Jesup
6880163332 Bug 1039666: Disable screen/windowsharing for OSX 10.6 and WinXP (re-merged) r=cpearce 2014-08-02 00:30:50 -04:00
Brad Lassey
bebebabc2d bug 1037424 - follow up to allow browser from privileged content r=jesup 2014-08-02 13:42:08 -04:00
Brad Lassey
3409513281 bug 1041700 - add browserWindow and scrollWithPAge to media constraints r=jesup,jib,khuey 2014-07-21 14:57:28 -04:00
Randell Jesup
0c2b7e6090 Bug 1037424: Fix typo in checkin for allowed_domains r=ehugg 2014-07-30 18:07:08 -04:00
Paul Kerr [:pkerr]
631b440c3f Bug 1037424 - Part 1: Implement prefs-based screenshare domain whitelist in MediaManager. r=mt 2014-07-30 17:03:20 -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
ce75229bed Bug 1039529: Add screen and window sharing booleans to MediaCaptureWindowState r=pkerr,gcp 2014-07-17 22:23:00 -04:00
Matthew A. Miller
4c1cff2114 Bug 983504 - Modify constraints for screen sharing. r=bholley,jib 2014-07-08 00:01:27 -06:00
Mark Banner
2c1e0f5872 Bug 1017273 Change Loop from compile-time enabled to runtime-enabled with a pref. r=dolske,r=jesup,r=glandium,r=gijs 2014-07-16 15:15:07 +01:00
Randell Jesup
0beb954b47 Bug 1035819: patch 2 - Enable dynamic rotation in gUM when we're hooked to a PeerConnection r=jhlin 2014-07-14 01:48:02 -04:00
Adam Roach [:abr]
db9c984ac9 Bug 1015486 Bypass the video and audio permission prompts for Loop, as Loop will provide its own mechanisms. Patch by abr, tests by Standard8. r=jesup,r=florian 2014-07-10 21:14:57 +01:00
Kyle Huey
760b7d243b Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:01 -07:00
Florian Quèze
a631f20793 Bug 1000253 - Background tabs with persistent device permissions can access devices without the user noticing, r=jesup,MattN. 2014-06-13 14:51:12 +02:00
Daniel Holbert
1738e57654 Bug 1022764: Add #ifdef guards around some WebRTC-specific code in MediaManager.cpp. r=jesup 2014-06-09 11:45:14 -07: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
Robert O'Callahan
b3cf47b176 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
Randell Jesup
32887f83df Bug 1008619: Release MediaEngineWebRTC at MediaManager shutdown r=anant 2014-05-28 14:38:37 -04:00
Randell Jesup
49ba04345d Bug 988877: Shut down MediaManager thread in xpcom-shutdown r=bsmedberg 2014-05-28 14:38:15 -04:00
Trevor Saunders
876b806f62 bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Neil Rashbrook
0b70d2a086 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
740e2ee668 Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Neil Rashbrook
4a282365d2 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
ada8818ed8 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
849371302f Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Neil Rashbrook
8868f86752 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-11 10:47:11 +01:00
Neil Rashbrook
978d29fd60 Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE 2014-05-08 20:35:09 +01:00
Neil Rashbrook
8fc1ba5e06 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Ted Mielczarek
2c20f5d8c9 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
e050622aff Bug 942367 - Stream isolation for WebRTC r=bholley 2014-05-01 12:51:00 +02:00
Jan Beich
93e853468f Bug 1004183: Unbreak build with --disable-webrtc after bug 907352 r=jib 2014-05-01 02:58:48 -04:00
Birunthan Mohanathas
504b581650 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
dc758ea8d1 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
398687e6de Bug 907352 - Part 5: Wiring for width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:10 -04:00
Jan-Ivar Bruaroey
27c5ae175d 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
986249d24d Bug 907352 - Part 3: WebIDL for width/height/frameRate gUM constraints. r=mt 2014-04-18 15:14:44 -04:00
Jan-Ivar Bruaroey
7a7b436da1 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
c601ff3ab9 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 14:00:16 -04:00
Jan Beich
f34bd92e17 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
d503f72d54 Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
c231f8dafe 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
2bbfbe3315 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Carsten "Tomcat" Book
b5fc89d249 Backed out changeset e6c72bcaa64c (bug 942367) 2014-04-16 09:54:31 +02:00
Martin Thomson
43558d920e Bug 942367 - Stream isolation for WebRTC. r=jib,bholley 2014-04-15 14:36:00 +02:00
Randell Jesup
44384d2552 Bug 993495: Update MediaManager UI r=jesup,florian,smaug 2014-04-16 02:22:19 -04:00
Randell Jesup
87719de66a 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
0d309498a3 Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
be10a847d3 Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
37aaff9726 Backed out changeset 74e5c32c6fa2 (bug 694814) 2014-04-07 15:37:51 -04:00
Randell Jesup
cfc12f48eb Backed out changeset 6dc08e9fc7e8 (bug 694814) 2014-04-07 15:37:50 -04:00
Randell Jesup
6672f86997 Backed out changeset 1cf98d1c6b75 (bug 694814) 2014-04-07 15:37:49 -04:00
Jan-Ivar Bruaroey
5198d30d69 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
d4e6f0a16b 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
fe864bc4dd Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
c494421e10 Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
3c5f8d49a1 Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
Randell Jesup
90d2a6cc51 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
54427b9318 Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
7024ecf09f Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Boris Zbarsky
9553dba3d6 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
d7a2db866a Bug 986764: don't leak a thread for every getUserMedia doorhanger r=jib 2014-03-26 17:57:46 -04:00
Kyle Huey
c547e55be7 Bug 967364: Replace crazy already_AddRefed handling with something reasonable. r=jesup 2014-03-15 12:00:15 -07:00
Gian-Carlo Pascutto
be0200562d Bug 877954 - Implement Load Management service. Add callbacks to ViEncoder. r=jesup 2014-03-13 11:05:27 +01:00
Nathan Froyd
48dafcbc9b Bug 968836 - fix a few already_AddRefed members in MediaManager.cpp; r=jesup 2014-03-05 17:58:13 -08:00
Wes Kocher
90d6c611e8 Backed out changeset 3a5a9d48b90c (bug 968836) for m-bc bustage 2014-03-05 18:44:33 -08:00
Nathan Froyd
18737cb763 Bug 968836 - fix a few already_AddRefed members in MediaManager.cpp; r=jesup 2014-03-05 17:58:13 -08:00
Florian Quèze
4f48223aa5 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
2f95181699 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
ec10a1eee2 Back out cbd2e8c512f6 (bug 968836) for hidden bustage 2014-02-22 20:13:27 -08:00