Andreea Pavel
8633610e74
Backed out 2 changesets (bug 1324548) for failing wpt at idlharness.https.window.html on a CLOSED TREE
...
Backed out changeset 055578135fba (bug 1324548)
Backed out changeset 7aefaab277fe (bug 1324548)
2019-04-03 23:18:19 +03:00
Léo Paquet
d761d81c93
Bug 1324548 - Add MediaStreamTrackAudioSourceNode. r=pehrsons,baku
...
MozReview-Commit-ID: IdVqfNigMyu
Differential Revision: https://phabricator.services.mozilla.com/D15958
--HG--
extra : moz-landing-system : lando
2019-04-03 17:01:38 +00:00
Dorel Luca
47b5923c5b
Backed out 2 changesets (bug 1324548) for Mochitest failures in dom/tests/mochitest/general/test_interfaces.html. CLOSED TREE
...
Backed out changeset fda93e03e469 (bug 1324548)
Backed out changeset 8e6135544e33 (bug 1324548)
2019-04-03 18:54:05 +03:00
Léo Paquet
13ed118524
Bug 1324548 - Add MediaStreamTrackAudioSourceNode. r=pehrsons,baku
...
MozReview-Commit-ID: IdVqfNigMyu
Differential Revision: https://phabricator.services.mozilla.com/D15958
--HG--
extra : moz-landing-system : lando
2019-04-03 14:00:28 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Boris Zbarsky
058f83508f
Bug 1517434 part 2. Convert existing callers of GetIsSystemPrincipal() to IsSystemPrincipal(). r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D15673
--HG--
extra : moz-landing-system : lando
2019-01-03 20:55:38 +00:00
Andreas Pehrson
88cb071d63
Bug 1513638 - Rename DispatchToMainThreadAfterStreamStateUpdate to DispatchToMainThreadStableState. r=jya,karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D14421
--HG--
extra : moz-landing-system : lando
2018-12-19 04:34:10 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jan-Ivar Bruaroey
01afd58c84
Bug 1492479 - Move MediaStreamError out of MediaManager. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D13175
--HG--
extra : moz-landing-system : lando
2018-11-30 05:15:54 +00:00
Jan-Ivar Bruaroey
7cc33e93cf
Bug 1497175 - Have DOMMediaStream::TrackPort::BlockSourceTrackId() return a promise. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D8010
--HG--
extra : moz-landing-system : lando
2018-11-30 05:14:40 +00:00
Jan-Ivar Bruaroey
e3194aa305
Bug 1492479 - Have MediaManager::GetUserMedia() return a promise. r=achronop,jya
...
Differential Revision: https://phabricator.services.mozilla.com/D8008
--HG--
extra : moz-landing-system : lando
2018-11-30 05:13:58 +00:00
Andreas Pehrson
afa103537f
Bug 1423241 - Move track-ended notifications from DOMMediaStream to MediaStreamTrack. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D12275
--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:10 +00:00
Andreas Pehrson
44c5fa2785
Bug 1423241 - Remove a rawptr in MediaStreamTrack. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D12274
--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:04 +00:00
Andreas Pehrson
4213b7db86
Bug 1423241 - Refactor DecodedStream. r=jya
...
This removes DecodedStream's use of MediaStreamListener in favor of
MediaStreamTrackListener. This change has however rippled through to a lot
more cleanup, per below.
This moves the MediaStreamTrack lifetime ownership for captured
HTMLMediaElements from the media element to DecodedStream, where the
MediaStreamGraph-side tracks are already created and ended today.
This makes MediaStreamTrack creation explicit across the entire codebase and
lets us remove the MediaStreamTrackSourceGetter class and the infrastructure
of adding MediaStreamTracks after they've already been created in the graph
from DOMMediaStream.
With track ownership, and thus TrackID allocation ownership, happening
exclusively in DecodedStream for its output tracks, we also stop throwing
away and recreating the SourceMediaStream to which we feed data on seek.
This is one step closer to fixing bug 1172394 and spec compliance of
HTMLMediaElement.captureStream().
Differential Revision: https://phabricator.services.mozilla.com/D12273
--HG--
extra : moz-landing-system : lando
2018-11-23 15:02:03 +00:00
Sylvestre Ledru
804b8b8883
Bug 1204606 - Reformat of dom/media r=jya
...
# skip-blame
Differential Revision: https://phabricator.services.mozilla.com/D12251
--HG--
extra : moz-landing-system : lando
2018-11-19 13:25:37 +00:00
Andreas Pehrson
f5f6f6fdb4
Bug 1377146 - Remove AudioStreamTrack and VideoStreamTrack from js. r=jib,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D8063
--HG--
extra : moz-landing-system : lando
2018-10-11 15:36:11 +00:00
Bryce Van Dyk
855803da5c
Bug 1453127 - Do not use iterators in MediaStreamTrack when removing listeners. r=pehrsons
...
--HG--
extra : rebase_source : 41c5d93b54c6dc062daa05a2644d4a194400dd1e
extra : amend_source : c53c4f75e4b813104122d22da29f97919f9d62d3
2018-04-18 15:30:57 -04:00
Jan-Ivar Bruaroey
b5b5ad5862
Bug 1452031 - Use strong types for Media error names, fixing OverconstrainedError typo. r=pehrsons
...
MozReview-Commit-ID: AqGoW9rBdl5
--HG--
extra : rebase_source : fc7a638a2502aaebf318a35c6135755558a7396b
2018-04-10 01:22:53 -04:00
Ben Kelly
75bf35692e
Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor
2018-02-22 14:28:39 -08:00
Andreas Pehrson
176f6fa9fc
Bug 1299515 - Only notify of enabled state if it actually changed. r=jib
...
MozReview-Commit-ID: 4pGYXb9onJO
--HG--
extra : rebase_source : 8ce242a5566a0eeeb8aba0cbf223ec1c4402ced3
2017-11-15 18:41:28 +01:00
Andreas Pehrson
85ded5b958
Bug 1299515 - Plumb MediaStreamTrack enabled state to sources. r=jib
...
MozReview-Commit-ID: Eg1g9JtLmOz
--HG--
extra : rebase_source : 73057e1093d487736f69addca346b05c48d8d280
2017-11-10 15:55:42 +01:00
Andreas Pehrson
167e43c316
Bug 1208378 - Implement MediaStreamTrack's muted state and events. r=jib,smaug
...
MozReview-Commit-ID: 1Sp9utMnWXI
--HG--
extra : rebase_source : f2d1036ab37ed9882c0bb9aa1d7b7d68eb7799e4
2017-11-06 19:03:52 +01:00
Chung-Sheng Fu
dcc7fc01d6
Bug 1372073 - Spoof MediaStreamTrack. r=arthuredelstein,jib,smaug
...
MozReview-Commit-ID: 71UOGrJ9cgm
--HG--
extra : rebase_source : 50cf31f478fd3b97219f468fb8cb59132ff7e0b6
2017-10-13 11:57:25 +08:00
Andreas Pehrson
368e21e1b1
Bug 1407542 - Remove back reference to consumer in MediaStreamTrack. r=jib,smaug
...
It doesn't matter that this is traversed by the cycle collector when the track is live and playing.
It prevents cycle collection of any number of MediaStreams that contain (thus consume) this track.
MozReview-Commit-ID: GvdLfWDTVQQ
--HG--
extra : rebase_source : 29e65d25bd7cdf03e32ff4aa736b0ff762ebf1c1
2017-10-10 20:48:58 +02:00
Andrew McCreight
78807d8776
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
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Paul Adenot
404c800005
Bug 1341555 - Consolidate use of the MSG's AbstractMainThread, and stop having AbstractMainThread on MediaStreams. r=pehrsons
...
MozReview-Commit-ID: 5hGDQcfpH6a
--HG--
extra : rebase_source : 41bb678f37cfcdbc9912a25f45a5ca488084aabe
2017-06-29 11:30:57 -07:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Jean-Yves Avenard
10d2da1b08
Bug 1374596: P7. Fix includes as per coding style. r=padenot
...
MozReview-Commit-ID: 5WfOWcOoxg0
--HG--
extra : rebase_source : 988c09623e83a0d9188d9ff5d705314e2c43e756
2017-06-20 17:56:55 +02:00
Jean-Yves Avenard
b930da7f1c
Bug 1374596: P3. Fix MediaStream* headers. r=padenot
...
MozReview-Commit-ID: 5dIPrLqxUtm
--HG--
extra : rebase_source : d672119a7805738e6f04bf0691d2f9afce509757
2017-06-20 17:32:18 +02:00
Dan Minor
f41633e415
Bug 1319489 - Make it possible for "fake" media streams to inherit from real streams; r=jesup
...
MozReview-Commit-ID: 8sBzMmTVhQU
--HG--
extra : rebase_source : 4aeb46774df76b170abbd47b239457519b81615c
2017-01-10 09:57:16 -05:00
Boris Zbarsky
387da61c81
Bug 1335368 part 15. Remove the use of IsCallerChrome in ApplyConstraints. r=jib
2017-02-01 15:43:38 -05:00
Bevis Tseng
72d516ef01
Bug 1314833 - Part 2.2: Use AbstractThread::CreateDirectTaskDrainer() to Drain Direct Tasks Dispatched to MediaStreamGraph. f=rjesup,r=padenot,jwwang
...
MozReview-Commit-ID: 1KgE3uKu4CG
--HG--
extra : rebase_source : 2ad950afe84675fb9bc4c449e53e7c0d52270175
2016-12-07 22:00:12 -10:00
Andreas Pehrson
159d4ead9e
Bug 1301675 - Remove MediaStreamTrackSource::mIsRemote. r=jib
...
MediaStreamTrack.remote is no longer part of the spec.
MozReview-Commit-ID: BgHJ1zNIoWN
--HG--
extra : rebase_source : 11022eb420cbdb0c7aa5aa7814cf35330f4170b9
2016-09-12 15:59:58 +02:00
Andreas Pehrson
da3ba8634d
Bug 1208316 - Route notifications of ending tracks through MediaStreamTrack instead of DOMMediaStream. r=jib
...
MozReview-Commit-ID: KMFE5HXEOtJ
--HG--
extra : rebase_source : 279dffcdd325a5ac78f115803269a724887b6ac0
2016-09-23 17:03:13 +02:00
Andreas Pehrson
d88a8a02fa
Bug 1208316 - Rename MediaStreamTrack::NotifyEnded to OverrideEnded. r=jib
...
Better semantics for what I want to do with NotifyEnded in later patches in the bug.
MozReview-Commit-ID: 8X0BdiVncNo
--HG--
extra : rebase_source : f36f5a17f2294c6ad9b5db2593b41eb8cd8a9a15
2016-09-08 11:06:21 +02:00
Andreas Pehrson
406b5cd4d6
Bug 1294605
- Notify MediaStreamTrackSource when track is notified of ended on main thread. r=jib
...
I haven't seen test failures from this but I imagine there could be.
MozReview-Commit-ID: 8iyMBzQCWeA
--HG--
extra : rebase_source : 86c375e2a39b93df4f7055c0b186e6db986d5ee8
extra : intermediate-source : 316fdba6ea475ab9b549ffd87eb0fcd45fc6e76d
extra : source : 097be88cedbf8333cb8b7d20952baa4dd6bae522
2016-08-29 16:34:27 +02:00
Andreas Pehrson
5b8cee9143
Bug 1294605
- Notify MediaStreamTrackSource when ReadyState is overriden. r=jib
...
MozReview-Commit-ID: CSRWgYt4hqe
--HG--
extra : rebase_source : 48ca3562db75b5e691773d82f41537070dae9eef
extra : intermediate-source : d7cc714009d4db05f343522f80502673f61d7cca
extra : source : 8e71a7a649109d03cebe039ee787edb32631e31f
2016-08-22 18:28:10 +02:00
Iris Hsiao
f80725bcd4
Backed out changeset f6927a9b3488 (bug 1294605
)
...
CLOSED TREE
2016-10-26 17:55:01 +08:00
Iris Hsiao
ee5f311064
Backed out changeset 7545f9159a1b (bug 1294605
)
...
CLOSED TREE
2016-10-26 17:54:40 +08:00
Andreas Pehrson
1b33cd6755
Bug 1294605
- Notify MediaStreamTrackSource when ReadyState is overriden. r=jib
...
MozReview-Commit-ID: CSRWgYt4hqe
2016-08-22 18:28:10 +02:00
Andreas Pehrson
ee3f88eec2
Bug 1294605
- Notify MediaStreamTrackSource when track is notified of ended on main thread. r=jib
...
I haven't seen test failures from this but I imagine there could be.
MozReview-Commit-ID: 8iyMBzQCWeA
2016-08-29 16:34:27 +02:00
Sebastian Hengst
1456ec14f4
Backed out changeset 0593feead369 (bug 1294605
)
...
--HG--
extra : source : 387012235302ccb073180d17ecea6e0d794dfcb3
2016-10-20 20:03:16 +02:00
Sebastian Hengst
2c7995c52e
Backed out changeset c0c023815311 (bug 1294605
)
...
--HG--
extra : source : 40fb588cb1bc706a9c86dd5a27442714bd236afb
2016-10-20 20:03:15 +02:00
Andreas Pehrson
a9fa621604
Bug 1294605
- Notify MediaStreamTrackSource when track is notified of ended on main thread. r=jib
...
I haven't seen test failures from this but I imagine there could be.
MozReview-Commit-ID: 8iyMBzQCWeA
--HG--
extra : rebase_source : 55e1abdafc01c04eca4c6615feba3a0efe34d622
extra : source : 097be88cedbf8333cb8b7d20952baa4dd6bae522
2016-08-29 16:34:27 +02:00
Andreas Pehrson
92faa5f2f5
Bug 1294605
- Notify MediaStreamTrackSource when ReadyState is overriden. r=jib
...
MozReview-Commit-ID: CSRWgYt4hqe
--HG--
extra : rebase_source : 2dca4336be2ded296d6ec780092227ba4e37f922
extra : intermediate-source : d86d58ab990c2c9c5cc5969e5822d3235ac47986
extra : source : 8e71a7a649109d03cebe039ee787edb32631e31f
2016-08-22 18:28:10 +02:00
Andreas Pehrson
9a907cfbfc
Bug 1259788 - Add a new disabled mode for MSG tracks. r=jesup
...
MozReview-Commit-ID: 1dMTR4Wmcd8
--HG--
extra : rebase_source : 8c2ea262d53901a11ec5c0e5067f328461dee8f2
2016-08-15 14:19:42 +02:00
Andreas Pehrson
ba31cb2444
Bug 1259788 - Allow MediaStreamTrack::ForwardTrackContentsTo to take an explicit TrackID. r=jesup
...
MozReview-Commit-ID: EqsRdVJVuWu
--HG--
extra : rebase_source : 0008e6da5a4f49acdd567c0a84e432687599453e
extra : source : 7403911293c523f9714a693b91f9cafe5f5b3234
2016-07-06 10:37:28 +02:00
Andreas Pehrson
d95d7de7da
Bug 1259788 - Fix MediaStreamTrack logging. r=jesup
...
MozReview-Commit-ID: 43Pz8VcSXQ
--HG--
extra : rebase_source : e5fc6dc4cc1e3e5a7d65a5d742100dad89317b35
2016-08-12 14:03:33 +02:00
Jan-Ivar Bruaroey
b8a3459024
Bug 1213517 - Wire up getSettings(). r=padenot
...
MozReview-Commit-ID: EX5FIo3rCoi
--HG--
extra : rebase_source : c9a814eb3fbc0a7455ec7c290c3c074cf1b45e7e
2016-06-20 00:38:25 -04:00
Jan-Ivar Bruaroey
594073da3e
Bug 1213517 - make getUserMedia store initial constraints on resulting tracks. r=jesup
...
MozReview-Commit-ID: 291CrmVmq4x
--HG--
extra : rebase_source : d29e6996ee93b01c8abe3a98a3f6d05e98bce3c5
2015-11-24 23:42:26 -05:00