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
Andreas Pehrson
74fadc45ab
Bug 1208373 - Implement MediaStreamTrack.readyState. r=smaug,jib
...
MozReview-Commit-ID: EoMaG0R3Dpp
--HG--
extra : rebase_source : 162ed3922e0ab664f3cf02b2af996ba3e9759ba5
extra : source : eb945c96027405effd2138a069eabd68f192f15c
2016-05-10 17:03:37 +02:00
Andreas Pehrson
e86ac0c2b2
Bug 1208373 - Implement MediaStreamTrack's "ended" event and onended EventHandler. r=smaug,jib
...
MozReview-Commit-ID: DtqzY5nIdPI
--HG--
extra : rebase_source : e236f799c05de0bef9c9d1248e4a6db2e0ae7f31
extra : source : f6a237afe9a83a8389a8e0a4f7435da3c4d0ca54
2016-05-10 17:03:29 +02:00
Byron Campen [:bwc]
6caa8b4bd4
Bug 1273136: Start remote streams on SRD, and end them even if offer/answer never completed. r=jesup, r=pehrsons
...
MozReview-Commit-ID: ulrDM0Gzj6
2016-05-23 10:22:01 -05:00
Carsten "Tomcat" Book
2211bc30a2
Backed out changeset 5c3ed1091455 (bug 1208373)
2016-05-13 13:51:37 +02:00
Carsten "Tomcat" Book
54853544b8
Backed out changeset ee525e8953bd (bug 1208373)
2016-05-13 13:51:34 +02:00
Andreas Pehrson
11e0c929f7
Bug 1208373 - Implement MediaStreamTrack.readyState. r=jib,smaug
...
MozReview-Commit-ID: EoMaG0R3Dpp
--HG--
extra : rebase_source : e329085837c597610d32823c6c5b6efad23f27a1
extra : source : eb945c96027405effd2138a069eabd68f192f15c
2016-05-10 17:03:37 +02:00
Andreas Pehrson
df1fe74fee
Bug 1208373 - Implement MediaStreamTrack's "ended" event and onended EventHandler. r=jib,smaug
...
MozReview-Commit-ID: DtqzY5nIdPI
--HG--
extra : rebase_source : 2f8f2b5b141e4384555abd21de7fa823a9b34cf9
extra : source : f6a237afe9a83a8389a8e0a4f7435da3c4d0ca54
2016-05-10 17:03:29 +02:00
Andreas Pehrson
27ef6e83d4
Bug 1266926 - Move CaptureStreamTrackSource cleanup to Destroy method. r=jesup
...
--HG--
extra : rebase_source : f8eb4a11ac8a0e7d6f49c72a52b40498f213037c
2016-05-09 11:52:53 +02:00
ctai
8fcb64e480
Bug 1266644 - Rename StreamBuffer to StreamTracks. r=jesup r=pehrsons
...
Rename StreamBuffer to StreamTracks. We still need a place to keep the track information in every MediaStream, even the StreamBuffer::Track::mSegment is empty.
--HG--
rename : dom/media/StreamBuffer.cpp => StreamTracks.cpp
rename : dom/media/StreamBuffer.h => StreamTracks.h
2016-01-26 10:49:01 +08:00
Andreas Pehrson
ee5913bb8b
Bug 1208371 - Move MediaStreamTrack's label to MediaStreamTrackSource. r=jib
...
MozReview-Commit-ID: Aj7Cht4zxc6
--HG--
extra : rebase_source : c454a9f2b81a6a1eb574c1abee0fab64abbe5b72
2016-01-22 16:27:37 +08:00
Andreas Pehrson
ddd2ef4974
Bug 1208371 - Add a PrincipalHandleListener to MediaStreamTrack. r=mt,jesup
...
MozReview-Commit-ID: JvhXrlKPZAC
--HG--
extra : rebase_source : 617c64c0898fc78216621744b816ed319e66c95b
2016-03-15 10:52:25 +01:00
Andreas Pehrson
be74876e25
Bug 1208371 - Add PrincipalHandle to MediaChunks. r=mt,jesup
...
PrincipalHandle is a thread safe pointer to a holder of (the main-thread-only
nsIPrincipal) that can be passed around the MSG.
A MediaStreamTrack whose source has just updated its principal, sets the new
principal aside (as its "pending principal"), and combines the new principal
into its current principal.
Then the source starts passing the new principal to the MediaStreamGraph as
a PrincipalHandle.
Changes to a track's PrincipalHandle on the MSG will be surfaced through the
MediaStreamTrackListener API. These changes are dispatched to main thread
and compared to a MediaStreamTrack's pending principal. In case of a match
the track knows the correct principal is flowing and can move the pending
principal to be the current principal and update any main thread principal
observers.
MozReview-Commit-ID: D0JXGWhQFFU
--HG--
extra : rebase_source : 296e269bb46fc5a85a9c3f90dfc0dc40e53572bc
2016-04-06 14:56:44 +02:00
Andreas Pehrson
f1662d16c9
Bug 1208371 - Switch MediaPipeline to use direct listeners on tracks. r=jesup,bwc
...
MozReview-Commit-ID: BSSfkTwXoVN
--HG--
extra : rebase_source : 8f001d4513062bb426f0a18670a3692ecf737a52
2016-03-18 14:21:51 +01:00
Andreas Pehrson
77ac51c2c4
Bug 1208371 - Add DirectTrackLister to MediaStreamGraph and MediaStreamTrack. r=roc,jesup
...
MozReview-Commit-ID: HRWa6A35FSC
--HG--
extra : rebase_source : 85f2507cc91c62105eda6568b5a40edd604d5af8
2016-03-03 17:28:37 +01:00
Andreas Pehrson
cf7486e258
Bug 1208371 - Add convenience method for checking track forwarding to MediaStreamTrack. r=roc
...
MozReview-Commit-ID: 2rhLzZi72Yh
--HG--
extra : rebase_source : 0283f89a181c2030fd071c77fa2301b3a6027803
2016-01-05 10:16:29 +08:00
Andreas Pehrson
1e75696f73
Bug 1208371 - Add GetPeerIdentity() to MediaStreamTrackSource. r=mt
...
MozReview-Commit-ID: CsiUYQVb8LO
--HG--
extra : rebase_source : 1d9561a1db1c36b61d319321605e36df01ea1771
2016-01-05 10:16:28 +08:00
Andreas Pehrson
0c197308ae
Bug 1208371 - Add convenience method for forwarding a track to an MSG-stream. r=roc
...
MozReview-Commit-ID: 5NDThQWgSoP
--HG--
extra : rebase_source : 817543a8ad37608b64df64cb24b6a6fe344ef11f
2016-01-05 10:16:27 +08:00
Andreas Pehrson
7bbfe662ca
Bug 1208371 - Add CORSMode methods to MediaStreamTrack. r=mt
...
MozReview-Commit-ID: 5vYHjdDHDSn
--HG--
extra : rebase_source : 5a627fb16e07a40d8c91e6092041bd891d415a0b
2016-01-05 10:16:27 +08:00
Andreas Pehrson
660d9407e0
Bug 1208371 - Implement MediaStreamTrack::Clone(). r=smaug,jib,roc
...
MozReview-Commit-ID: HrL0RFMcG4B
--HG--
extra : rebase_source : 2b07983ebec0c0a7016b8a0e0e64ad38486d035b
2016-01-22 16:27:51 +08:00
Andreas Pehrson
0396985d77
Bug 1208371 - Route ApplyConstraints through MediaStreamTrackSource. r=jib
...
MozReview-Commit-ID: CnJnxszKU4o
--HG--
extra : rebase_source : f5ef65897108b3feadd51b8b11a47f65a7a71ff1
2016-02-01 22:43:38 +08:00
Andreas Pehrson
5f32f21927
Bug 1208371 - Remove MediaStreamTrack::GetStream. r=jib
...
MozReview-Commit-ID: GP0Mo3CZZ8E
--HG--
extra : rebase_source : 196b149a180e033e021366790bf662037c4ec89f
2016-02-01 22:48:05 +08:00
Andreas Pehrson
84740b0197
Bug 1208371 - Make it possible to look up stream id by track in PeerConnectionImpl. r=jib
...
This attempts to get rid of uses of MediaStreamTrack::GetStream() in
PeerConnectionImpl but does unfortunately not go all the way. There's
still a use case in ReplaceTrack() so we handle it for now by making
PeerConnectionImpl a friend of MediaStreamTrack.
MozReview-Commit-ID: K4sKjWqjOSI
--HG--
extra : rebase_source : 913e7280151a275c8866ff44fa1886d8e2dc6660
2016-01-15 12:48:51 +08:00
Andreas Pehrson
8ee8a34873
Bug 1208371 - Add a MediaStreamTrackListener to MediaStreamGraph. r=roc
...
MozReview-Commit-ID: 6KHzimw9kiP
--HG--
extra : rebase_source : 78e7f4b4bf18eaf390ee09c08f6f5c19d9f24d65
2016-03-03 17:27:59 +01:00
Andreas Pehrson
58ac7b5fd2
Bug 1208371 - Make remaining DOMMediaStream principal sources use MediaStreamTrack. r=mt
...
MozReview-Commit-ID: 1hgHp5dlBZJ
--HG--
extra : rebase_source : 30d7d5bccc663ef00a640b4f385278a336191088
2016-02-01 22:46:34 +08:00
Andreas Pehrson
f2fb4ac630
Bug 1208371 - Let DOMMediaStream base its principal on the tracks it contains. r=mt
...
MozReview-Commit-ID: 7MtYk2GnpeS
--HG--
extra : rebase_source : 88903bea8491d365998df11056a6de6c697c613d
2016-03-16 16:08:43 +01:00
Andreas Pehrson
179a500f52
Bug 1208371 - Create MediaStreamTrackSource::Sink that forwards principal changes from the source. r=mt
...
MozReview-Commit-ID: 2jsQCC7MMRj
--HG--
extra : rebase_source : e58ddf2600321ec7e9e32679879d2789835f06b6
2016-01-22 12:28:57 +08:00
Andreas Pehrson
d9191f3f71
Bug 1208371 - Add principal APIs to MediaStreamTrack. r=mt
...
MozReview-Commit-ID: D0mOCZXLiEp
--HG--
extra : rebase_source : 28ed04fcab1011e8b21b3fd24934d404dac583a3
2016-01-22 11:24:16 +08:00