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

97 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 265a0934ca Bug 1463581 - Signal enabled state changes also on UnregisterSink. r=jib
MozReview-Commit-ID: FDCO73SdBoL

--HG--
extra : rebase_source : 642b59d13fbec001faa7991075ab7809e9f6ce56
2018-05-30 16:48:22 +02:00
Andreas Pehrson a734f9b29e Bug 1299515 - Remove superfluous include in MediaStreamTrack.h. r=jib
MozReview-Commit-ID: DTLQyiX8PtG

--HG--
extra : rebase_source : e75b3e92e749c2f8f9165174bfd088ca5d8da6ab
2017-11-14 11:54:18 +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
Byron Campen [:bwc] 63a499f3be Bug 1400363 - Part 0: Expose the SourceMediaStream of MediaStreamTrack, and store tracks instead of the source streams. r=pehrsons
MozReview-Commit-ID: KSYFGHsr0qk

--HG--
extra : rebase_source : 657ea373fb69d1e85b28a5535028a650c33dce9e
2017-11-30 14:47:13 -06:00
Andreas Pehrson d29c6d7f9e Bug 1208378 - Distinguish track sinks on whether their presence allows a source to stop. r=jib
There are currently two types of sinks for a MediaStreamTrackSource.
Actual MediaStreamTracks and HTMLMediaElement::StreamCaptureTrackSource.
A source needs actual tracks as sinks to not stop() the underlying source.

A StreamCaptureTrackSource, however, should not count toward keeping a source
alive (otherwise HTMLMediaElement.mozCaptureStream() would prevent track.stop()
from working on the track feeding the media element).

MozReview-Commit-ID: 9MBAyZFZUIQ

--HG--
extra : rebase_source : a73f182b95281baf4f44f7ae82158e4a6bce42eb
2017-11-10 15:08:02 +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
Andreas Pehrson d838c1b30a Bug 1208378 - Store MediaStreamTrackSource::Sink in a WeakPtr. r=jib
MozReview-Commit-ID: Movk15KRK7

--HG--
extra : rebase_source : d454f989be727367ba0e04d045bc1274ac075ab7
2017-11-06 18:04:27 +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
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
Andrea Marchesini 1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01: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
Andrew McCreight fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd 826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Andreas Pehrson 4c0e4b5845 Bug 1301675 - Assert that a MediaStreamTrackSource is not stopped more than once. r=jib
MozReview-Commit-ID: Dmp9TnIhmax

--HG--
extra : rebase_source : 30e950b8031c73fb1f46bda2e771bcab45f58bf3
2016-09-23 17:01:15 +02:00
Andreas Pehrson 825d513165 Bug 1301675 - Rename BasicUnstoppableTrackSource to BasicTrackSource. r=jib
They are not unstoppable any longer. We just don't forward Stop() to the real source.

MozReview-Commit-ID: FdFccMsD3eb

--HG--
extra : rebase_source : e29a1abb8f2060cb72399d61d91ca3a00128f08c
2016-09-16 15:19:28 +02: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 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 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
Sebastian Hengst 1456ec14f4 Backed out changeset 0593feead369 (bug 1294605)
--HG--
extra : source : 387012235302ccb073180d17ecea6e0d794dfcb3
2016-10-20 20:03:16 +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 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
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 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
Sebastian Hengst f310d4012a Backed out changeset c89b8cc657b2 (bug 1266646) 2016-06-13 21:23:53 +02:00
ctai 4b40fd1bc1 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=jesup,pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : rebase_source : e0f2ac5de75d54a870f5a99f08505e40aa0696d9
2016-04-29 11:45:25 +08:00
Andreas Pehrson bc991593cb Bug 1208373 - Implement MediaStreamTrack.readyState. r=smaug,jib
MozReview-Commit-ID: EoMaG0R3Dpp

--HG--
extra : rebase_source : 96ffe09a577f951b1d960434aa3b2de9d4aa2c4b
extra : intermediate-source : 2b5684b6362e51af2e90115e2b855662358b51b4
extra : source : eb945c96027405effd2138a069eabd68f192f15c
2016-05-10 17:03:37 +02:00
Andreas Pehrson 416244b4cf Bug 1208373 - Implement MediaStreamTrack's "ended" event and onended EventHandler. r=smaug,jib
MozReview-Commit-ID: DtqzY5nIdPI

--HG--
extra : rebase_source : 37600d9e9090d5a72f3b85baedb075914d473568
extra : intermediate-source : 9c8e3a0dbff3d67d20e7637e9e9975c52e35764c
extra : source : f6a237afe9a83a8389a8e0a4f7435da3c4d0ca54
2016-05-10 17:03:29 +02:00
Carsten "Tomcat" Book f9283e86ce Backed out changeset 9c8e3a0dbff3 (bug 1208373) 2016-06-09 15:18:46 +02:00
Carsten "Tomcat" Book 51b3fd3c7d Backed out changeset 2b5684b6362e (bug 1208373) 2016-06-09 15:18:45 +02:00