Граф коммитов

645 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 9899305f28 Bug 1208371 - Add a MediaStreamTrackSource interface. r=roc
This lets a MediaStreamTrack communicate with its source/producer on the
main thread. It's for now used for stopping a track at the source and
retrieving some metadata, but it could also be a link between actual
sinks of a track and the source, to for instance let the source optimize
by scaling down the resolution when all sinks want lowres-video.

MozReview-Commit-ID: D4SJLr0aqhJ

--HG--
extra : rebase_source : ea511b5c86ca4836bfa980825f04617fef498261
2016-04-06 14:46:56 +02:00
Andreas Pehrson 4beebb8c88 Bug 1208371 - Remove unused MediaManager::NotifyMediaStreamTrackEnded. r=jib
MozReview-Commit-ID: 3QFbTliYTPw

--HG--
extra : rebase_source : 88d39ae528ccf26a81a114e893d599b366573629
2016-01-05 10:16:21 +08:00
Andreas Pehrson 88628853b2 Bug 1208371 - Move OnTracksAvailableCallback out of DOMMediaStream. r=roc
So it can be forward declared.

MozReview-Commit-ID: 4RH7p8AzO84

--HG--
extra : rebase_source : e9c4ef72029de4ed09dca3b51ba2b46829f41d14
2016-01-05 10:16:21 +08:00
Andreas Pehrson 37365c3483 Bug 1208371 - Pass parent window to DOMMediaStream through constructor. r=roc
MozReview-Commit-ID: AvBYQNADpyV

--HG--
extra : rebase_source : 8972b162fbcb017034f3c975ff9b725e52bcaf17
2016-01-05 10:16:20 +08:00
Wes Kocher 0fbf6c1476 merge inbound to m-c a=merge
MozReview-Commit-ID: BHxDQF6gIe3
2016-03-08 16:00:45 -08:00
Mark Banner d81b31cff7 Bug 1249365 - Fix regression in e10s mode to re-allow the camera by default in Loop's conversation window. r=gcp
--HG--
extra : commitid : 83CnO0jToMb
2016-03-07 14:11:54 +00:00
Randell Jesup 260da5482b Bug 1253333: Don't cause a second MediaManager to be created if there's a race with NotifyFinished r=jib
MozReview-Commit-ID: J4GArKKncYx
2016-03-07 16:44:25 -05:00
sakshi 1af0b67296 Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj 2016-02-17 14:23:39 -05:00
Nathan Froyd 9fb640a914 Bug 1251715 - use UniquePtr instead of ScopedDeletePtr in dom/media/; r=gerald
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
2016-02-26 14:21:05 -05:00
Wes Kocher 6866309c97 Backed out 2 changesets (bug 1251714, bug 1251715) for gtest failures in media code
Backed out changeset 1bbd0cd10f76 (bug 1251714)
Backed out changeset 80b197c5608f (bug 1251715)

MozReview-Commit-ID: EHOtiKLS4Xr
2016-03-01 11:36:35 -08:00
Nathan Froyd 710083b54a Bug 1251715 - use UniquePtr instead of ScopedDeletePtr in dom/media/; r=gerald
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
2016-02-26 14:21:05 -05:00
Jan-Ivar Bruaroey 1895ec8892 Bug 1251357 - fix regression where last MediaStreamTrack.stop did not turn off the camera light. r=jesup
MozReview-Commit-ID: DvDBKscIjnp

--HG--
extra : rebase_source : 9527e372e48442257f0237d38b38f430c3faed14
2016-02-26 12:26:47 -05:00
Jan-Ivar Bruaroey 45390b2d1d Bug 1250540 - have media.navigator.permission.disabled no longer bypass media.getusermedia.screensharing.allowed_domains. r=jesup
MozReview-Commit-ID: JTxeco3WGVr

--HG--
extra : rebase_source : 8a71af6471363f21210af6be8ed606c519985f8e
2016-02-23 15:54:00 -05:00
Jan-Ivar Bruaroey f784fde760 Bug 1250540 - fix string-parsing regression that made screen share whitelisting stop working. r=jesup
MozReview-Commit-ID: AKux0nBVBEF

--HG--
extra : rebase_source : 2c5a889c71cd6b69be525fffb1faf23b10ebaa30
2016-02-23 11:30:49 -05:00
Gian-Carlo Pascutto 3688a8295e Bug 1249365 - Store Loops permission to use the camera so we can check later. r=jesup 2016-02-23 12:09:44 +01:00
Gian-Carlo Pascutto 546b46fa4c Bug 1177242 - Verify whether sandboxed Content process has permissions to access the camera/mic. r=jesup 2016-02-17 18:57:26 +01:00
Gerald Squelart cb8bb9067d Bug 1248308 - Fix dom/media non-unified build errors - r=jya 2016-02-17 08:55:33 +11:00
Andreas Pehrson 68c86a9506 Bug 957691: Ensure that MediaManager ends all tracks before finishing its source stream r=jib,jesup,pehrsons
This puts all the logic in GetUserMediaCallbackMediaStreamListener and none in
MediaOperationTask to make it simpler to reason about what's happening.

When we want to stop a track, the gUMCallbackListener will send a
MEDIA_STOP_TRACK if other tracks will still be live.
If it was the last live track, the gUMCallbackListener will send a MEDIA_STOP
instead. The MEDIA_STOP makes sure the passed in devices (we pass in all) are
stopped before finishing the stream.

MozReview-Commit-ID: E43Iqw491tB
2016-02-05 13:20:20 +01:00
Paul Kerr [:pkerr] d7144f8634 Bug 1219339 - Part2: Ensure close of webrtc trace file during shutdown. r=rjesup 2016-02-10 13:10:46 -08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Randell Jesup f138ca68d1 Bug 987186 - remove AudioConfig, send agc/aec/noise from prefs r=jib,smaug
(Reland squashed)
Respect echoCancellation constraint in GetUserMedia
Support echoCancellation constraint, pass test

--HG--
extra : commitid : 7Bq2u1yamMf
2016-01-22 16:46:38 -05:00
Kyle Huey 0fbc58d746 Backed out 3 changesets (bug 987186) for build bustage. CLOSED TREE
Backed out changeset 00cb175253b9 (bug 987186)
Backed out changeset deaf45c9ad2a (bug 987186)
Backed out changeset bc3d6c21f5ed (bug 987186)
2016-01-22 10:35:23 -08:00
Brian Armstrong 6f7fc7357b Bug 987186 - remove AudioConfig, send agc/aec/noise from prefs r=jib
--HG--
extra : commitid : 5Yfw0K2W9nl
2016-01-19 16:33:11 -08:00
Randell Jesup cbdb5359ca Bug 1221587: add per-platform prefs to control full-duplex cubeb input r=jib
--HG--
extra : commitid : 7P9rnGXTYh1
2016-01-21 11:51:36 -05:00
Wes Kocher e8203da294 Backed out changeset 4b22bd7b7a73 (bug 1221587)
--HG--
extra : commitid : K0g4NPkKZW6
2016-01-21 17:28:18 -08:00
Randell Jesup b8df5b1837 Bug 1221587: add per-platform prefs to control full-duplex cubeb input r=jib
--HG--
extra : commitid : JswRdGqAT1s
2016-01-21 11:51:36 -05:00
Jean-Yves Avenard bc55ba93a4 Bug 1240411: P9. Clean up media headers. r=jwwang
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:36 +11:00
Emilio Cobos Álvarez b5364082de Bug 866513 - Non-empty MediaStreamTrack labels. r=jib 2016-01-16 13:39:00 +01:00
Chris Peterson 74f570e360 Bug 1240264 - Annotate intentional switch fallthroughs in dom/media/. r=cpearce
dom/media/MediaManager.cpp:1905:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/media/webm/WebMBufferedParser.cpp:133:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2016-01-14 01:42:18 -08:00
Jan-Ivar Bruaroey d7d3df857d Bug 1224766 - forward callID to disambiguate multiple gUM requests from same window. r=jesup,smaug
--HG--
extra : rebase_source : 038e5b2eb6d2332da05c2c7dc44dc6ed3dde3d83
2016-01-07 17:30:10 -05:00
Jim Mathies d52bf97565 Bug 1107702 - Try to avoid internal memory exhaustion problems with the Windows api GetAdaptersInfo by making a priming call to the api during startup. r=jesup 2016-01-07 13:57:42 -06:00
Jan-Ivar Bruaroey fad5e24ed1 Bug 1229413 - remove MediaManager's xpcom-will-shutdown observer. r=jesup
--HG--
extra : transplant_source : %AF%E4%80id%2B%23%CD%9D%B1%DF%1F%B4%0B%F5%7Di%DCz%15
2015-12-01 12:13:47 -05:00
Jan-Ivar Bruaroey e23061aecc Bug 1229926 - only fake cams and mics. r=jesup
--HG--
extra : transplant_source : %0F%90%21%94%14X%EC%83%03M%068p%D3%F9%0D%84%F29J
2015-12-02 22:51:03 -05:00
Jan-Ivar Bruaroey 3d86334afb Bug 1229926 - don't throw OverConstrainedError(deviceId) on fake devices. r=jesup
--HG--
extra : transplant_source : .R%BF%F3%93qV/%DB%A0%3C%F5m%10.%FB2%8F%1ES
2015-12-02 21:35:56 -05:00
David Rajchenbach-Teller 0da8936844 Bug 1216972 - MediaManager AsyncShutdown for content processes. r=jesup
--HG--
extra : transplant_source : %D9%A4%C4%95%EB%F9%0Fh%83z%21%91A5cu7%B4%DF%DE
2015-11-18 21:42:16 +01:00
Randell Jesup bc9f456480 Bug 1218799: Shutdown MediaManager engines from the MediaManager thread r=jib 2015-11-18 15:03:13 -05:00
sajitk 582e1a55fa Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
Wes Kocher f3a9eb2a26 Backed out changeset 1e5f3d1151d6 (bug 1219480) for cpp unittest bustage CLOSED TREE
--HG--
extra : commitid : BMVKq6cPeho
2015-11-11 09:36:56 -08:00
sajitk 3cbe348cdd Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian
--HG--
extra : rebase_source : c73098485fa005d914304fb6e7f8eba3c15e66dc
2015-11-11 06:52:00 +01:00
Andreas Pehrson 4a2ca8f712 Bug 1219711 - Let fake stream take precedence in testing. r=jib
TL;DR requesting a fake stream always gives you a fake stream. No magic.

The gUMConstraint `fake: true` should take precedence and if set always
use MediaEngineDefault.
If it is set the state of `faketracks` is passed
on to MediaEngineDefault.
If it is not set, but (any of) audio/video loopback devices are set, the
device enumeration will filter out only those.

--HG--
extra : commitid : IGZfna954PV
extra : rebase_source : e9b5f69c176f6987ab6b0f9081147330a2bf87ad
2015-11-09 23:17:42 +08:00
Wes Kocher fbc669c142 Backed out 5 changesets (bug 1219711) for frequent android m(9) failures
Backed out changeset 2d5f09d89424 (bug 1219711)
Backed out changeset cf14a6e5f340 (bug 1219711)
Backed out changeset 4eaa8cf9a752 (bug 1219711)
Backed out changeset 65abe62869df (bug 1219711)
Backed out changeset a21d79a94307 (bug 1219711)

--HG--
extra : commitid : HEjaguOuDSy
extra : rebase_source : e1d48c63852424d2cbe5ab75996c5485f8536a87
2015-11-06 11:14:11 -08:00
Matthew Noorenberghe a0a2b249c4 Bug 1221365 - Move "Is origin potentially trustworthy?" logic outside ServiceWorkerManager.cpp. r=ckerschb,bkelly 2015-11-06 11:10:17 -08:00
Andreas Pehrson 3affebad3f Bug 1219711 - Let fake stream take precedence in testing. r=jib
TL;DR requesting a fake stream always gives you a fake stream. No magic.

The gUMConstraint `fake: true` should take precedence and if set always
use MediaEngineDefault.
If it is set the state of `faketracks` is passed
on to MediaEngineDefault.
If it is not set, but (any of) audio/video loopback devices are set, the
device enumeration will filter out only those.

--HG--
extra : commitid : ACLnd4zWe6Y
extra : rebase_source : 3fc85bb11def1d19707338baf05317d2ee216b44
2015-11-05 17:15:51 +08:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Jan-Ivar Bruaroey 8a441a9cf1 Bug 1193075 - add viewport constraints for independent scrolling in tab sharing. r=smaug, r=jesup
--HG--
extra : transplant_source : %F8%AE%16%B7D%EFN%CC%16%A7%0C%B9%07%3F%D4%7B%E5%3Co%97
2015-10-22 17:03:47 -04:00
Jan-Ivar Bruaroey ef83b4f124 Bug 1166293 - Use AsyncShutdown API to shut down media thread in non-e10s. r= jesup
--HG--
extra : transplant_source : %5Cfb%EC%C4%C6L%9E%8C%0E%E5%C5%C3/%81lS%06%D2%F3
2015-10-14 23:54:39 -04:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Andrew McCreight ae5fe6a2ad Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Andrew McCreight 0ff7248107 Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Jan-Ivar Bruaroey 61cd22ad23 Bug 1210852 - do SelectSettings of device capabilities on media thread. r=jesup
--HG--
extra : transplant_source : %8E%BB%7B%90MSt%0F%40s%8A%0C/%16y%15Ne%2A%1E
2015-10-03 20:42:26 -04:00
Sotaro Ikeda 739eddd54e Bug 1186813 - Replace nsBaseHashtable::EnumerateRead() calls in dom/media/ with iterators r=cpearce 2015-09-30 06:40:54 -07:00
Andreas Pehrson 9914ff85f8 Bug 1103188 - Keep track of stopped tracks in gUM stream listener. r=jib
This is needed to avoid something like:
* [old stream] stop track 1 -> deallocate MediaDevice for track 1
* [new stream] gUM() -> allocate MediaDevice for track 1
* [old stream] stop stream -> deallocate MediaDevice for track 1
* [new stream] gUM() -> start MediaDevice for track 1 (oops, MediaDevice was no more!)

--HG--
extra : commitid : FmkFYbCfel7
extra : rebase_source : e17ad400705198c48e3d561241dd50d0844c472e
2015-09-30 14:08:33 +08:00
Andreas Pehrson 6f60cbc89d Bug 1103188 - Keep track of capture stop only in gUM stream listener. r=jib
--HG--
extra : commitid : AqIOlsR7w1y
extra : rebase_source : 6f5670be3bf711a38eb9f914dc69c5b987dd9b9e
2015-09-30 14:08:26 +08:00
Andreas Pehrson aaef4911a9 Bug 1103188 - Always call MediaManager::NotifyFinished/NotifyRemoved on main thread. r=jib
--HG--
extra : commitid : 8kb5G98FAY9
extra : rebase_source : 97086507d1c546f9423f4d2f790924c21ccfa28a
2015-09-30 14:08:22 +08:00
Andreas Pehrson 0239788481 Bug 1103188 - Deprecate DOMMediaStream::Stop(). r=jib
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : cc7351a34694b7b0e822bcd0b7025ded0ab54b9d
2015-09-30 09:32:06 +08:00
Andreas Pehrson ce2776ea0d Bug 1103188 - Remove identical override nsDOMUserMediaStream::Stop(). r=jib
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 2e37a21b1789bf4ab893c6fb8b2dd2c75f613855
2015-09-30 09:32:05 +08:00
Andreas Pehrson 867415c0b5 Bug 1170958 - Remove ProcessedMediaStream::ForwardTrackEnabled. r=roc,jesup
TrackUnionStream guarantees that TrackIDs are maintained if no tracks
have claimed them before.

In the gUM case, we have a SourceMediaStream which we wholly own (the
DOMMediaStream's Input stream), piped into a TrackUnionStream which
no-one external is able to add tracks to (the DOMMediaStream's Owned
stream) - addTrack()ed tracks are added to the DOMMediaStream's Playback
stream.

The MediaStreamTracks being enabled/disable refer to a TrackID in the
DOMMediaStream's Owned stream.

Alas, we don't need to forward a track's enabled state, we can just do
it on the source.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 4388211be87ebe8a3839ea031b5c504d642806ab
2015-09-30 09:31:54 +08:00
Andreas Pehrson 9ecf8f59c7 Bug 1170958 - Feed a SourceMediaStream-backed dom stream instead of a raw SourceMediaStream in MediaManager. r=jesup
Simplifies the structure of MediaManager somewhat. Possible since
MediaManager owns both the SourceMediaStream and the DOMMediaStream.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 494b8b673084ea050420dfaf8d16e44a3bc49672
2015-09-30 09:31:54 +08:00
Andreas Pehrson 937747498a Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
This lets us separate tracks by ownership like so:
* Input    - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned    - Contains Input tracks (per above) or tracks cloned tracks
             if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
             DOMMediaStream minus tracks removeTrack()ed from this
             DOMMediaStream.

--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : fba22e96c6c65a74e012509f3da67a4d7df7a244
2015-09-30 09:31:54 +08:00
Wes Kocher 03a1803261 Backed out 9 changesets (bug 1170958) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
Backed out changeset 277c1f8098d1 (bug 1170958)
Backed out changeset aa86bb9eea95 (bug 1170958)
Backed out changeset 8af8b85a4b26 (bug 1170958)
Backed out changeset ec1bf225e9cb (bug 1170958)
Backed out changeset 4a04ddca2b6b (bug 1170958)
Backed out changeset e85c9977a311 (bug 1170958)
Backed out changeset 16b40ff04e8f (bug 1170958)
Backed out changeset ad206925c84a (bug 1170958)
Backed out changeset 2106eccec79b (bug 1170958)
2015-09-25 13:08:55 -07:00
Wes Kocher b4a25c9f58 Backed out 7 changesets (bug 1103188) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
Backed out changeset f0f33a8ef14c (bug 1103188)
Backed out changeset dbe0ebdebad5 (bug 1103188)
Backed out changeset bb656022a1a7 (bug 1103188)
Backed out changeset cc6b5f5ba444 (bug 1103188)
Backed out changeset ca97d52bf144 (bug 1103188)
Backed out changeset de8cc967f8eb (bug 1103188)
Backed out changeset 6da8f4905060 (bug 1103188)
2015-09-25 13:08:44 -07:00
Andreas Pehrson 7c822e759d Bug 1103188 - Deprecate DOMMediaStream::Stop(). r=jib
--HG--
extra : commitid : FxucwRqUZUo
2015-09-25 23:23:31 +08:00
Andreas Pehrson 6c449288a0 Bug 1103188 - Remove identical override nsDOMUserMediaStream::Stop(). r=jib
--HG--
extra : commitid : FxucwRqUZUo
2015-09-25 23:23:30 +08:00
Andreas Pehrson b4ff8db67c Bug 1170958 - Remove ProcessedMediaStream::ForwardTrackEnabled. r=roc,jesup
TrackUnionStream guarantees that TrackIDs are maintained if no tracks
have claimed them before.

In the gUM case, we have a SourceMediaStream which we wholly own (the
DOMMediaStream's Input stream), piped into a TrackUnionStream which
no-one external is able to add tracks to (the DOMMediaStream's Owned
stream) - addTrack()ed tracks are added to the DOMMediaStream's Playback
stream.

The MediaStreamTracks being enabled/disable refer to a TrackID in the
DOMMediaStream's Owned stream.

Alas, we don't need to forward a track's enabled state, we can just do
it on the source.

--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson 96fa1303ef Bug 1170958 - Feed a SourceMediaStream-backed dom stream instead of a raw SourceMediaStream in MediaManager. r=jesup
Simplifies the structure of MediaManager somewhat. Possible since
MediaManager owns both the SourceMediaStream and the DOMMediaStream.

--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson eacfc2cf0e Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
This lets us separate tracks by ownership like so:
* Input    - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned    - Contains Input tracks (per above) or tracks cloned tracks
             if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
             DOMMediaStream minus tracks removeTrack()ed from this
             DOMMediaStream.

--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson 143e9256c4 Bug 1192170 - Remove media capture indicator when all tracks have ended. r=jib
--HG--
extra : commitid : 7nO1zyYTfLV
extra : rebase_source : 4761874ce4d5bb2d5675d3fa8e235cb491348919
2015-09-25 13:55:29 +08:00
Randell Jesup b7ab4c0916 Bug 953265: make getUserMedia fake audio tones configurable in frequency via pref r=jib 2015-09-24 09:23:37 -04:00
Randell Jesup 6a27768207 Bug 1206900: Add telemetry for device types captured with getUserMedia() r=jib,smaug 2015-09-21 22:20:45 -04:00
Jan-Ivar Bruaroey 1c3f3f8536 Bug 1206982 - getUserMedia s/PermissionDeniedError/SecurityError/. r=jesup
--HG--
extra : transplant_source : %BB%1A%10%27%95%15%E0%A4%F3%F4%93%83%26%B91%CA%C8%9Cn%B1
2015-09-21 20:57:12 -04:00
Jan-Ivar Bruaroey 4fbccc5b50 Bug 912342 - get Promise out. r=jesup
--HG--
extra : commitid : L54TpPNzEgB
extra : rebase_source : 29eceb81efe9ab96053b37a202714319be13fc80
2015-09-20 10:04:51 -04:00
Jan-Ivar Bruaroey 5c97b1be39 Bug 912342 - Move code SelectSettings to MediaConstraintsHelper. r=jesup
--HG--
extra : commitid : IHOcGmMAzno
extra : rebase_source : 371c265877854d57f094583066b145aae50ed638
2015-09-19 02:00:48 -04:00
Jan-Ivar Bruaroey 17d85435b2 Bug 912342 - Pass in Audio/VideoDevice in place of Audio/VideoSource. r=jesup
--HG--
extra : commitid : KyF5JvNyJbV
extra : rebase_source : e8fc7ff48eb38d5df55cd685e187a2069f66d6de
2015-09-19 00:49:07 -04:00
Jan-Ivar Bruaroey 434ce0be70 Bug 912342 - Change capture resolution. r=jesup
--HG--
extra : commitid : I3MtL3fA2IA
extra : rebase_source : 5ffa9bc955b35b2915afea6c5bff794ca97a4ea2
2015-09-20 18:45:57 -04:00
Jan-Ivar Bruaroey e5af2b70b2 Bug 912342 - Move code MediaOperationTask from .h to .cpp. r=jesup
--HG--
extra : commitid : L4YvvKBc9ft
extra : rebase_source : 3f732a3e21b8a9038ce35f232c012169134248e9
2015-09-16 22:44:14 -04:00
Jan-Ivar Bruaroey f953fc2b69 Bug 1195951 - fix heap type on stack error in MediaUtils' Pledge class. r=jesup
--HG--
extra : commitid : 7vVVqOmBW1W
extra : rebase_source : 186c56708e579f2734a1a9db8acebcb69c9f5af2
2015-09-20 02:26:41 -04:00
Jan-Ivar Bruaroey 19676d62dc Bug 1181896 - make gUM fail w/OverconstrainedError and candidate argument r=jesup 2015-09-18 14:04:41 -04:00
Jan-Ivar Bruaroey 3f14a4d7ce Bug 1181896 - rename .constraintName to .constraint in MediaStreamError r=jesup,bz 2015-09-18 14:03:30 -04:00
Richard Barnes 52d9a0fc5e Bug 1205156 - Add telemetry to measure how often getUserMedia is used over non-secure origins r=jib 2015-09-17 08:44:50 -04:00
Robert O'Callahan 53dbc8f50e Bug 1189506. Remove aFlags parameter from AllocateInputPort. r=karlt
--HG--
extra : commitid : GZuYprloPNM
extra : rebase_source : 17ca412dd6232ad5c739918500d959a03895a65c
2015-09-04 16:42:42 +12:00
Robert O'Callahan 5c2c7e03d5 Bug 1189506. Remove usage of FLAG_BLOCK_OUTPUT from MediaManager. r=jesup
--HG--
extra : commitid : GWToVox5Vvu
extra : rebase_source : 0054cbd1ddc64ad48e84b175d3c05a16ac79a4a7
2015-09-04 16:39:37 +12:00
Jan-Ivar Bruaroey c64c66da29 Bug 1201197 - add dedicated listener to enumerateDevices. r=jesup
--HG--
extra : transplant_source : %AF3%DCR%D41%91%FD4U%C1%5E%03%1C%0F%AE%92o%95U
2015-09-03 19:09:34 -04:00
Jan-Ivar Bruaroey f777a670cd Bug 1187315 - Refactor out Constraints.webidl. r=bz
--HG--
extra : transplant_source : r%D6%95%C3%AE%3F%98%E5%2C%2C%067%B8%ABX%90%9F%5D%0Dz
2015-07-29 01:16:19 -04:00
Paul Adenot 2c70ea6a84 Bug 1190676 - Part 6 - Fix consumers: MediaManager. r=jesup
--HG--
extra : rebase_source : d7f9711c20834a8acd4e1e11ff5bfecb9f8a3c9b
2015-08-25 10:29:51 +02:00
Aryeh Gregor 15205c18ac Bug 1179451 - Part 4: Don't pass nsRefPtr&& to functions that want raw pointers. r=froydnj
--HG--
extra : rebase_source : d25c43a593a72615259e39ae053376f261aa55ad
2015-08-13 15:22:48 +03:00
Jan-Ivar Bruaroey ec3cfdec9c Bug 1191298 - don't fail on unknown audio constraints e.g. getUserMedia({ audio: {} }) (regression) r=jesup 2015-08-10 12:16:30 -04:00
Birunthan Mohanathas 2b4a52cf2e Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas edbcd5e014 Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -07:00
Paul Adenot d4057fe585 Bug 1156472 - Part 12 - Allow to pipe the AudioCaptureStream into an AudioContext. r=mt,roc 2015-07-24 14:28:17 +02:00
Paul Adenot da9b49eced Bug 1156472 - Part 11 - Unbitrot MediaManager.cpp over jib's changes. r=jib 2015-07-24 14:28:17 +02:00
Paul Adenot 6f08789e18 Bug 1156472 - Part 5 - Add MediaEngineWebRTCAudioCaptureSource as a new audio source, and "audioCapture" as a new MediaSource. r=jesup,bz 2015-07-24 14:28:16 +02:00
Wes Kocher 83b4188234 Backed out 14 changesets (bug 1156472) for test_getUserMedia_audioCapture.html failures on b2g emulator
Backed out changeset deec8eb18346 (bug 1156472)
Backed out changeset 0f5bec4c05ba (bug 1156472)
Backed out changeset 2dd83ac00bf9 (bug 1156472)
Backed out changeset abd4e47887f7 (bug 1156472)
Backed out changeset 4824d9874663 (bug 1156472)
Backed out changeset 12805598e6fa (bug 1156472)
Backed out changeset e2f0062a1f67 (bug 1156472)
Backed out changeset 99ef8e436a7f (bug 1156472)
Backed out changeset 65bbfc1546af (bug 1156472)
Backed out changeset 2ab4f16eaf0a (bug 1156472)
Backed out changeset 7f565685e20a (bug 1156472)
Backed out changeset 28c03c98cb2b (bug 1156472)
Backed out changeset d477cfba6e1d (bug 1156472)
Backed out changeset 9819fa56caa1 (bug 1156472)
2015-07-24 13:15:57 -07:00
Paul Adenot 8290e5cb5d Bug 1156472 - Part 12 - Allow to pipe the AudioCaptureStream into an AudioContext. r=mt,roc 2015-07-24 14:28:17 +02:00
Paul Adenot 889273bd21 Bug 1156472 - Part 11 - Unbitrot MediaManager.cpp over jib's changes. r=jib 2015-07-24 14:28:17 +02:00
Paul Adenot f692e0d9ce Bug 1156472 - Part 5 - Add MediaEngineWebRTCAudioCaptureSource as a new audio source, and "audioCapture" as a new MediaSource. r=jesup,bz 2015-07-24 14:28:16 +02:00
Carsten "Tomcat" Book 2b73aa4f63 Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Paul Adenot 67ca74db0b Bug 1156472 - Part 12 - Allow to pipe the AudioCaptureStream into an AudioContext. r=mt,roc 2015-07-24 14:28:17 +02:00
Paul Adenot 7872410708 Bug 1156472 - Part 11 - Unbitrot MediaManager.cpp over jib's changes. r=jib 2015-07-24 14:28:17 +02:00
Paul Adenot e1e882cb56 Bug 1156472 - Part 5 - Add MediaEngineWebRTCAudioCaptureSource as a new audio source, and "audioCapture" as a new MediaSource. r=jesup,bz 2015-07-24 14:28:16 +02:00
Jan-Ivar Bruaroey 39499d18e0 Bug 1186708 - Fix debug-only assert (crash) on advanced browserWindow constraint. r=jesup
--HG--
extra : transplant_source : %CD%E7%89%1CA%86%FC%10q%F3%89%F1%16%7DE%AF5f%7B%C8
2015-07-23 00:44:52 -04:00
Jan-Ivar Bruaroey da1c4fffe2 Bug 1182354 - Clear non-persistent deviceIds on last-pb-context-exited. r=jesup 2015-07-12 23:55:02 -04:00
Jan-Ivar Bruaroey 36217c88d3 Bug 1181428 - Defer persisting until gUM succeeds or persistent permission. r=mt
--HG--
extra : transplant_source : %FDn%E3%9C%9Ee%0E%16%FE%B3%DD6%40%1C%9D%07%DB%8DjZ
2015-07-10 10:15:19 -04:00
Jan-Ivar Bruaroey d7d7a9cf96 Bug 1181428 - Plumb origin through to success path. r=mt
--HG--
extra : transplant_source : D%3C%F43%9B%81e%89%27%21-%864%05wa%982%F8%A0
2015-07-13 21:56:29 -04:00
Jan-Ivar Bruaroey 5e4109ceda Bug 1181428 - Add persist option to OriginKey to skip saving of temporal keys. r=mt
--HG--
extra : transplant_source : %7C%F5%ACv%E0%7F9I%A0%7F%9A%1A%02%BA%97%CA3%A7%B7%F2
2015-07-13 00:09:02 -04:00
Jan-Ivar Bruaroey 88f4606bfa Bug 1181428 - Move code to reuse test for active gum or persistent permission. r=mt
--HG--
extra : transplant_source : %1B%98O0t%95d%D5Y%C4%5C%8DMt%DC%94%03%A7%15%03
2015-07-09 23:07:42 -04:00
Randell Jesup c87c478f4f Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Emanuel Hoogeveen 7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Jan-Ivar Bruaroey e895da16b9 Bug 1037389 - add support for deviceId in gUM constraints (merged 11 patches). r=smaug, r=jesup 2015-07-02 18:01:52 -04:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Jan-Ivar Bruaroey d4bc9fa237 Bug 1173255 - Cleanup MediaManager e10s code in prep for deviceId constraint. r=jesup
--HG--
extra : amend_source : 057f17d55cd44a700abab5595c9f4fc95cfd2419
extra : transplant_source : %B7%5C%7D%FA%E9%3F%29%F9%EBM%9E%B5%1A%A6G%29%25%01%0E-
extra : histedit_source : a10d0d5106f5fffb3881604728c1933c90772622%2Cdf022706033cb19f87a8dd58376ab7800d9d2526
2015-06-18 11:46:36 -04:00
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Jan-Ivar Bruaroey c3aad628b9 Bug 1169665 - Have enumerateDevices return empty array on zero devices instead of fail. r=jesup
--HG--
extra : rebase_source : 8863ddfd7f6a7cff5fb7c6236231d4aa4f9e7144
2015-06-01 19:21:38 -04:00
Carsten "Tomcat" Book 5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher 4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Randell Jesup 92797f7344 Bug 1164463 - Clean up MediaManager shutdown to be reliable and avoid holding locks while Joining a thread. r=jib 2015-05-29 14:28:03 -04:00
Ryan VanderMeulen 41ad07d757 Backed out changeset 03abe252fc92 (bug 1164463) for WinXP debug 868504.html permacrash.
CLOSED TREE
2015-05-29 13:10:21 -04:00
Randell Jesup c4233dd2c5 Bug 1164463: clean up MediaManager shutdown to be reliable and avoid holding locks while Joining a thread r=jib 2015-05-29 10:10:02 -04:00
Jan-Ivar Bruaroey 625c6452b6 Bug 1162720 - Rename CallbackRunnable::New to NewRunnableFrom. r=jesup 2015-05-14 07:30:00 -04:00
Eric Rahm 3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Andrea Marchesini 3aa189b5ff Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
--HG--
rename : dom/base/nsIDOMFile.idl => dom/base/nsIDOMBlob.idl
2015-05-18 14:52:26 +01:00
Phil Ringnalda 9fd5acd0bd Back out 3 changesets (bug 1162720) for mozilla::media::Parent::Release crashes
CLOSED TREE

Backed out changeset 05306872093a (bug 1162720)
Backed out changeset 94a7098042fb (bug 1162720)
Backed out changeset 7c2f391a7fdd (bug 1162720)
2015-05-16 09:09:25 -07:00
Jan-Ivar Bruaroey a2bb965e99 Bug 1162720 - rename CallbackRunnable::New to NewRunnableFrom. r=jesup 2015-05-14 07:30:00 -04:00
Bobby Holley e61971d74b Bug 1164292 - Switch nsIPrincipal::origin to ACString. r=gabor 2015-05-15 11:51:51 -07:00
Eric Rahm 34f99e4b4c Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Nils Ohlmeier [:drno] 5411527eb9 Bug 1161433: reject empty gUM contraints with NotSupportedError. r=jib 2015-05-08 12:05:48 -07:00
Jan-Ivar Bruaroey d8b43f8bb0 Bug 1162412 - Part 2 - order devices by shortest fitness distance. r=jesup 2015-05-07 13:15:49 -04:00
Jan-Ivar Bruaroey a2ef19c648 Bug 1162412 - Part 1 - don't treat plain facingMode constraint as required. r=jesup 2015-05-07 13:15:35 -04:00
Maire Reavy 8f306bfa8b Bug 1159659 - Allow tab sharing on XP and OSX 10.6. r=pkerr 2015-05-01 08:55:33 -04:00
Nathan Froyd 1e6cdad33c Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Ehsan Akhgari a7ef170b22 Bug 1154389 - Stop leaking DeviceSuccessCallbackRunnable objects, and release its mOnSuccess and mOnFailure on the main thread if needed; r=jesup 2015-04-14 20:55:00 -04:00
Wes Kocher fbe2a5f466 Backed out changeset 2a03eeb0ec58 (bug 1154389) for static analysis bustage CLOSED TREE
--HG--
extra : amend_source : e80f1dabad13cc51434af75439bafedcfc56da3b
2015-04-14 16:32:44 -07:00
Ehsan Akhgari 6ae9c0bf6b Bug 1154389 - Stop leaking DeviceSuccessCallbackRunnable objects, and release its mOnSuccess and mOnFailure on the main thread if needed; r=jesup 2015-04-14 18:34:43 -04:00
Wes Kocher af34e14f2b Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
Nathan Froyd 4e3c075424 Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Jan-Ivar Bruaroey 924f8ae71f Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-29 13:43:43 -04:00
Jan-Ivar Bruaroey c6676519f2 Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, florian, billm, jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey 95f7adab84 Bug 1046245 - enumerateDevices origin-unique ids persisted to disk. r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey 8af3083f44 Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup 2015-02-23 11:50:48 -05:00
Jan-Ivar Bruaroey 7538e95524 Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey b711b1abcf Bug 1046245 - enumerateDevices (harmless interface version) r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Randell Jesup 2b3486247c Backed out 6 changesets (bug 1046245) on a CLOSED TREE 2015-03-29 01:42:32 -04:00
Jan-Ivar Bruaroey 6379bfb0be Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-28 19:02:46 -04:00
Jan-Ivar Bruaroey cdd0b089a5 Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey c4161900da Bug 1046245 - enumerateDevices origin-unique ids persisted to disk. r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey 34c27979df Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup 2015-02-23 11:50:48 -05:00
Jan-Ivar Bruaroey 2c6d1d99bc Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey a0143ecf52 Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Phil Ringnalda 24b4f38005 Back out 6 changesets (bug 1046245) for thinking that MSVC would have anything to do with a __PRETTY_FUNCTION__
CLOSED TREE

Backed out changeset 9e3ecca831d8 (bug 1046245)
Backed out changeset 87dc145f4da8 (bug 1046245)
Backed out changeset 01606cf19a77 (bug 1046245)
Backed out changeset 2ed2b15fe940 (bug 1046245)
Backed out changeset 2b99b193828a (bug 1046245)
Backed out changeset d1ac67faccbb (bug 1046245)
2015-03-28 19:57:17 -07:00
Jan-Ivar Bruaroey f3376e46f8 Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-28 19:02:46 -04:00
Jan-Ivar Bruaroey 222e93c87c Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey 1668e7a628 Bug 1046245 - enumerateDevices origin-unique ids persisted to disk. r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey 7d79ddc696 Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup 2015-02-23 11:50:48 -05:00
Jan-Ivar Bruaroey 6bea0d068b Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey 08e703b65e Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Ryan VanderMeulen 003e8f5278 Backed out 6 changesets (bug 1046245) for bustage on a CLOSED TREE.
Backed out changeset 222c2f9e3bc9 (bug 1046245)
Backed out changeset 4251eef464a2 (bug 1046245)
Backed out changeset 592f4cc23197 (bug 1046245)
Backed out changeset 5bfb9a1c0550 (bug 1046245)
Backed out changeset e966a5df87b6 (bug 1046245)
Backed out changeset 609f3ca64004 (bug 1046245)
2015-03-28 16:24:25 -04:00
Jan-Ivar Bruaroey f350dbadee Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-28 11:45:42 -04:00
Jan-Ivar Bruaroey 59e13faed0 Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey 6a70b84a54 Bug 1046245 - enumerateDevices origin-unique ids persisted to disk. r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey 600361d553 Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup 2015-02-23 11:50:48 -05:00
Jan-Ivar Bruaroey 4a058ae74a Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup 2015-03-03 09:51:05 -05:00
Jan-Ivar Bruaroey f33f50277c Bug 1046245 - enumerateDevices (harmless interface version). r=smaug, r=jesup 2015-03-03 09:51:05 -05:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jan-Ivar Bruaroey e9cc1b61ab Bug 1145403 - Don't open MediaManager on shutdown. r=jesup 2015-03-19 18:43:25 -04:00
Ehsan Akhgari 97b5f363cc Bug 579517 follow-up: Remove NSPR types that crept in 2015-03-16 21:15:10 -04:00
Wes Kocher 42e0c8a496 Merge m-c to fx-team a=merge CLOSED TREE 2015-03-11 19:09:10 -07:00
Andrew Osmond ce39ae083d Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
Mike de Boer 04f3c42e8e Bug 1139907: show WebRTC screen sharing notification icon in Hello conversation window and globally when tab sharing is active. r=jesup,florian 2015-03-11 16:34:31 +01:00
Jan-Ivar Bruaroey 005954fb76 Bug 1140363 - fire recording-window-ended on gUM failures, like we do on deny r=jesup 2015-03-06 13:23:33 -05:00
Andreas Pehrson 9b19093204 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Mark Banner 65c8629880 Bug 1110973 - Add a preference for enabling fake streams for tests, and use it in the Loop functional tests. r=smaug 2015-02-25 07:36:50 +00:00
Jan-Ivar Bruaroey 8c1b9f1777 Bug 1119335 - support ideal/exact constraint syntax. r=mrbkap, r=mt 2015-02-20 17:06:26 -05:00
Jan-Ivar Bruaroey 4993ea6729 Bug 997365 - End support for hold-out mandatory/optional: facingMode constraint on mobile. r=smaug, r=mt 2015-02-02 10:11:00 -05:00
Mark Banner 18958e9d0d Bug 1122032 Part 3 - Automatically allow screensharing for the Loop in-desktop pages. r=jesup 2015-02-02 21:53:19 +00:00
Jan-Ivar Bruaroey 9ce1941985 Bug 1006707 - add microphone to mediaSource and remove redundant enum in c++. r=rjesup 2015-01-20 10:31:59 -05:00
Jan-Ivar Bruaroey 4c8c004fd8 Bug 1006707 - change facingMode from enum to DOMString and support it as array. r=smaug, r=mt 2015-01-21 11:10:19 -05:00
Ehsan Akhgari 31a966ecd6 Bug 1117261 - Mark virtual overridden functions as MOZ_OVERRIDE in DOM media code; r=rillian 2015-01-08 23:11:30 -05:00
Brad Lassey a6571098ba bug 1088758 - Add the ability to mirror tabs from desktop to a second screen, restrict privledged GuM based on calling compartment rather than passed window's document r=rjesup 2014-12-10 09:06:02 -08:00
Shelly Lin d7e949d038 Bug 1003695 - Support multiple audio tracks and video tracks in DOMMediaStream. r=roc,jib,smaug 2014-12-12 11:54:12 +08:00
Jan-Ivar Bruaroey 54d43d8dad 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 d3aef91306 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 39f5aa8cc8 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 e4823c6f2c Bug 1003274 - Part 1 - refactor template types. r=jesup 2014-09-24 11:17:33 -04:00
Chai-hung Tai e2c48838cb 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 8f8ec51372 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 cd3e8a6f73 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 c8190ba625 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 fe0422ec02 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 233163862b Bug 1062876: refactor window iteration code for MediaManager r=jib 2014-09-19 17:24:28 -04:00
Daniel Holbert 78345da8f1 Bug 1066703: Mark GetUserMediaCallbackMediaStreamListener::mMediaThread as permissably-unused in --disable-webrtc builds. r=jimm 2014-09-12 11:05:45 -07:00
Jim Mathies 041794c1f3 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 36800a3f4b Bug 1063730 - Require HTTPS for Screen/window sharing. r=mt,sstamm 2014-09-10 15:01:44 -07:00
Alfredo Yang a6d8c4558e Bug 1054905 - Use takePhotoComplete callback on B2G. r=roc 2014-09-09 00:17:00 +02:00
Randell Jesup a36bfb4a7a Bug 1049583: comment-only fix for screensharing whitelist rs=jesup DONTBUILD 2014-09-05 09:43:39 -04:00
Jan-Ivar Bruaroey a8cadf5ca3 Bug 1060708 - Detect user and environment cameras on Android. r=gcp,blassey,snorp 2014-08-29 20:38:09 -04:00
Matthew A. Miller f29839ae1a 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 f4e1c39bb7 Bug 1057955: Stop the backend capture when the MSG track is stopped r=jib 2014-08-27 01:03:50 -04:00
Randell Jesup 4ea3a104aa 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 6830ad82b2 Bug 1036653 - updates to basic framework for app sharing, r=jesup,gcp 2014-08-20 16:05:23 -06:00
Carsten "Tomcat" Book d32ff1dfee Backed out changeset 572c610328c6 (bug 1036653) 2014-08-27 09:20:40 +02:00
Carsten "Tomcat" Book 3717cdb2c7 Backed out changeset 0edf5afdc13c (bug 1057955) 2014-08-27 08:40:09 +02:00
Matthew A. Miller 33a2f4ae68 Bug 1036653 - updates to basic framework for app sharing, r=jesup,gcp 2014-08-20 16:05:23 -06:00
Randell Jesup 4155ccb42b 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 cb5632ec09 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 3236b7aaa6 Bug 1056172 - the recording-window-ended notification isn't reliably fired, r=jesup. 2014-08-22 12:21:48 +02:00
Randell Jesup 74c0fb3f1e 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 87b08f33a5 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 3071e9efa1 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 3f0858f342 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] 821014490e 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 7257b2f870 Bug 579517 follow-up: Remove NSPR types that crept in 2014-08-08 08:39:07 -04:00
Randell Jesup cbf3e22c64 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 2e98715981 bug 1037424 - follow up to allow browser from privileged content r=jesup 2014-08-02 13:42:08 -04:00
Brad Lassey 89dedf4d28 bug 1041700 - add browserWindow and scrollWithPAge to media constraints r=jesup,jib,khuey 2014-07-21 14:57:28 -04:00
Randell Jesup 2057e3497f Bug 1037424: Fix typo in checkin for allowed_domains r=ehugg 2014-07-30 18:07:08 -04:00
Paul Kerr [:pkerr] 751f5fa9f6 Bug 1037424 - Part 1: Implement prefs-based screenshare domain whitelist in MediaManager. r=mt 2014-07-30 17:03:20 -04:00
Brad Lassey 094683c0e2 bug 1041493 - add support for browser to mediaSource constraint r=rjesup,khuey 2014-07-21 08:31:31 -04:00
Randell Jesup 5a8e25d582 Bug 1039529: Add screen and window sharing booleans to MediaCaptureWindowState r=pkerr,gcp 2014-07-17 22:23:00 -04:00
Matthew A. Miller a1d7e6fcd4 Bug 983504 - Modify constraints for screen sharing. r=bholley,jib 2014-07-08 00:01:27 -06:00
Mark Banner 264942d0a2 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 55623a8a1a 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] b81d6217c1 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 a1d1526ae4 Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:01 -07:00
Florian Quèze 7fd9445f50 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 11673edafb 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] 9d6e8e5434 Bug 970713 - Part 1: Control webrtc logging from about:config settings r=jesup 2014-06-08 18:54:47 -07:00
Robert O'Callahan 2a92625af7 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
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