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

100 Коммитов

Автор SHA1 Сообщение Дата
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
Jan-Ivar Bruaroey 9e1ebfb7eb Bug 1213517 - make track.applyConstraints() store constraints on success. r=jesup
MozReview-Commit-ID: CqTgWuBXSyD

--HG--
extra : rebase_source : c65cf51dfd3279820e2cb6262a369ce12490c946
2015-11-18 22:17:09 -05:00
Jan-Ivar Bruaroey 0216e7c8a0 Bug 1213517 - add webidl for track.getConstraints() and track.getSettings(). r=smaug
MozReview-Commit-ID: D15Lo3e1giL

--HG--
extra : rebase_source : 9a9ce6900dae6dc1e9a80e0c67577da4aab44437
2015-11-13 23:27:39 -05:00
Iris Hsiao 6496bfc972 Backed out changeset f22693a94979 (bug 1213517) 2016-07-18 15:42:12 +08:00
Iris Hsiao 3366ed3525 Backed out changeset 015cb0829df5 (bug 1213517) 2016-07-18 15:41:47 +08:00
Iris Hsiao 725d265c2c Backed out changeset 0fc93ec9ccd7 (bug 1213517) 2016-07-18 15:41:37 +08:00
Iris Hsiao d6cc817c38 Backed out changeset eca5b39db393 (bug 1213517) 2016-07-18 15:39:22 +08:00
Jan-Ivar Bruaroey 018c5b2f42 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 e7503fa4a5 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
Jan-Ivar Bruaroey 9f04ae2af4 Bug 1213517 - make track.applyConstraints() store constraints on success. r=jesup
MozReview-Commit-ID: CqTgWuBXSyD

--HG--
extra : rebase_source : c65cf51dfd3279820e2cb6262a369ce12490c946
2015-11-18 22:17:09 -05:00
Jan-Ivar Bruaroey 551d3d6567 Bug 1213517 - add webidl for track.getConstraints() and track.getSettings(). r=smaug
MozReview-Commit-ID: D15Lo3e1giL

--HG--
extra : rebase_source : 9a9ce6900dae6dc1e9a80e0c67577da4aab44437
2015-11-13 23:27:39 -05:00
ctai ff32ed223d Bug 1266646 - Change HTMLMediaElement::StreamSizeListerner to inherit MediaStreamTrackDirectListener. r=pehrsons
MozReview-Commit-ID: HnNv9BnlbDy

--HG--
extra : transplant_source : i0%FA%08%16%A6/%96%13%C5%F22%5E%EC%8C%2B%C6%B1%F3_
2016-05-10 17:02:15 +08:00
ctai 533acf2e59 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : transplant_source : %5C%1C%23%AC%D7%0D%97%24%CB%ED%8E%D5%60/%5E%07%F2%85Z%DA
2016-04-29 11:45:25 +08:00
Andreas Pehrson 141eefc951 Bug 1208373 - Introduce a new blocking mode to MediaInputPort. r=jesup
This lets us notify about a created TrackUnionStream track (and since it was
created, we can notify when it ends), even though it has been blocked from main
thread.

MozReview-Commit-ID: HyopzISBfbb

--HG--
extra : rebase_source : a18be6b0fcb194c016ae06c62eb5cebbf86eb8d5
extra : intermediate-source : 38e3e48c8dd011a0503f1241c7b21a630738c6c0
extra : source : 690904309e169aa74f95163f0d796493ef882972
2016-06-07 16:20:29 +02:00
Andreas Pehrson b69ab58f85 Bug 1208373 - Implement MediaStreamTrack.readyState. r=smaug,jib
MozReview-Commit-ID: EoMaG0R3Dpp

--HG--
extra : rebase_source : 47d0fedfc4701d2e629ba43b30b0a7fb95322660
extra : intermediate-source : 8cffa26910a860fafe49fd2c43e86ab4020e6cea
extra : source : eb945c96027405effd2138a069eabd68f192f15c
2016-05-10 17:03:37 +02:00
Andreas Pehrson eabd9f9fe1 Bug 1208373 - Implement MediaStreamTrack's "ended" event and onended EventHandler. r=smaug,jib
MozReview-Commit-ID: DtqzY5nIdPI

--HG--
extra : rebase_source : f6d4a868a22a86862a97da615dea1ca644a36cfd
extra : intermediate-source : 9a8c5a9bb9d5be0a1c3d27b3e4f99853188110f1
extra : source : f6a237afe9a83a8389a8e0a4f7435da3c4d0ca54
2016-05-10 17:03:29 +02:00
Sebastian Hengst 6d87e39b07 Backed out 9 changesets (bug 1208373) for frequent failures in test_peerConnection_addtrack_removetrack_events.html on Android 4.3 debug. r=backout
Backed out changeset 95412432bf10 (bug 1208373)
Backed out changeset 38e3e48c8dd0 (bug 1208373)
Backed out changeset 72cf70065470 (bug 1208373)
Backed out changeset 8cffa26910a8 (bug 1208373)
Backed out changeset 9a8c5a9bb9d5 (bug 1208373)
Backed out changeset bc120c9071bb (bug 1208373)
Backed out changeset fb8a0b464701 (bug 1208373)
Backed out changeset 5ddb73097cfd (bug 1208373)
Backed out changeset c4827087a333 (bug 1208373)
2016-06-14 11:06:51 +02:00