Andrew McCreight
84ee98de3c
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
2017-08-29 16:02:48 -07:00
Andrea Marchesini
6049efaf9c
Bug 1322883 - AudioNode constructors - part 18 - MediaStreamAudioDestinationNode, r=padenot
2016-12-15 19:24:43 +01:00
Andreas Pehrson
61dc6ff9dc
Bug 1301675 - Implement AudioDestinationTrackSource. r=padenot
...
So stop()ing the output track can clean up the destination node.
MozReview-Commit-ID: CmMXRCpOeFY
2016-09-16 11:25:38 +02:00
Andreas Pehrson
df7217d38d
Bug 1300529 - Remove default arguments from AudioNodeStream::Create. r=padenot
...
MozReview-Commit-ID: KG8PtBbJrc2
2016-09-05 17:25:41 +02:00
Andreas Pehrson
f2994d694b
Bug 1259788 - Break out AddTrackInternal() from DOMMediaStream::CreateDOMTrack. r=jesup
...
Sometimes a track is added to a stream synchronously (before the stream is
exposed to script), and sometimes asynchronously (see the mediacapture-main spec
on the "addtrack" event).
In the latter case we might still need to create the MediaStreamTrack object
synchronously for tracking purposes. CaptureStream of Media element playing a
MediaStream wants this.
MozReview-Commit-ID: 7me8xzN7rwj
2016-08-12 13:50:41 +02:00
Jan-Ivar Bruaroey
24fa5af59c
Bug 1213517 - make getUserMedia store initial constraints on resulting tracks. r=jesup
...
MozReview-Commit-ID: 291CrmVmq4x
2015-11-24 23:42:26 -05:00
Iris Hsiao
891d081796
Backed out changeset 0fc93ec9ccd7 (bug 1213517)
2016-07-18 15:41:37 +08:00
Jan-Ivar Bruaroey
748192df03
Bug 1213517 - make getUserMedia store initial constraints on resulting tracks. r=jesup
...
MozReview-Commit-ID: 291CrmVmq4x
2015-11-24 23:42:26 -05:00
ctai
2fc6b0fcd0
Bug 1266644 - Rename DOMMediaStream:: CreateXXXStream to DOMMediaStream:: CreateXXXStreamAsInput. r=jesup r=pehrsons
...
MozReview-Commit-ID: 4X0Q1XuENa4
2016-04-25 11:43:27 +08:00
Andreas Pehrson
2432434625
Bug 1208371 - Move MediaStreamTrack's label to MediaStreamTrackSource. r=jib
...
MozReview-Commit-ID: Aj7Cht4zxc6
2016-01-22 16:27:37 +08:00
Andreas Pehrson
00c438eb9b
Bug 1208371 - Rename CreateOwnDOMTrack/CreateClonedDOMTrack to CreateDOMTrack/CloneDOMTrack. r=jib
...
MozReview-Commit-ID: DOGiwcYycJY
2016-01-05 10:16:26 +08:00
Andreas Pehrson
de09f14bc4
Bug 1208371 - Make remaining DOMMediaStream principal sources use MediaStreamTrack. r=mt
...
MozReview-Commit-ID: 1hgHp5dlBZJ
2016-02-01 22:46:34 +08:00
Andreas Pehrson
cd7f617dd4
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
2016-04-06 14:46:56 +02:00
Emilio Cobos Álvarez
3602c50091
Bug 866513 - Non-empty MediaStreamTrack labels. r=jib
2016-01-16 13:39:00 +01:00
Andreas Pehrson
9261227d49
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.
2015-09-30 09:31:54 +08:00
Andreas Pehrson
f183ed6c8d
Bug 1170958 - Allow MediaInputPort to lock to a specific input track. r=roc
...
Locking to specific tracks lets us dynamically remove and add single
tracks to a ProcessedMediaStream.
2015-09-30 09:31:53 +08:00
Wes Kocher
954ce67cb5
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
Andreas Pehrson
4132b4532f
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.
2015-09-25 23:23:18 +08:00
Andreas Pehrson
aa0d330301
Bug 1170958 - Allow MediaInputPort to lock to a specific input track. r=roc
...
Locking to specific tracks lets us dynamically remove and add single
tracks to a ProcessedMediaStream.
2015-09-25 23:23:18 +08:00
Robert O'Callahan
4b795940b9
Bug 1189506. Pass AudioContext to AudioNodeStream::Create. r=karlt
2015-09-09 01:22:16 +12:00
Karl Tomlinson
e2a143bb32
bug 1197043 use flags to distinguish between external streams and events r=padenot
...
MediaStreamAudioDestinationNode does not need any main thread events because
mDOMStream provides GetCurrentTime to consumers.
MediaRecoder also does not use main thread current time.
2015-08-13 16:13:34 +12:00
Karl Tomlinson
2da94f3fb7
bug 1197043 move AudioNodeStream creation to stream class r=padenot
2015-08-12 11:26:24 +12:00
Paul Adenot
8c0e8cb808
Bug 1179484 - Pass in the right graph when created the DOMMediaStream. r=roc
2015-07-02 09:30:58 +02:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Andreas Pehrson
69aaaba77d
Bug 1081819 - Let the output stream itself process input data from MediaStreamAudioDestinationNode::mStream. r=roc
2015-03-02 17:08:40 +08:00
Phil Ringnalda
be5e912ee8
Backed out 3 changesets (bug 1081819) for frequent mochitest-e10s failures
...
Backed out changeset b78fd38002f5 (bug 1081819)
Backed out changeset ff063b9a1ea2 (bug 1081819)
Backed out changeset 322d60fc413e (bug 1081819)
2015-03-07 18:14:05 -08:00
Andreas Pehrson
e4adfe2065
Bug 1081819 - Let the output stream itself process input data from MediaStreamAudioDestinationNode::mStream. r=roc
2015-03-02 17:08:40 +08:00
Andreas Pehrson
d79534d523
Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup
2015-02-09 15:23:34 +08:00
Chris Peterson
ad426f785b
Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo
2015-01-06 21:39:46 -08:00
Robert O'Callahan
3da0dfd29f
Bug 1061046. Part 17: Remove some unused TrackRate parameters. r=karlt
2014-09-18 17:13:16 +12:00
Birunthan Mohanathas
417b400d55
Bug 946065 - Part 10: Move content/media/ to dom/. r=peterv
2014-10-25 20:24:36 +03:00