481d2dace480c02b375a91e902ece00eef223c2b: Bug 1208371 - Various cleanups in DOMMediaStream/MediaStreamTrack. r?jib draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:24 +0800 - rev 306659
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Various cleanups in DOMMediaStream/MediaStreamTrack. r?jib
59035f24025ad781c86e6bf6f74d6dbfbf994d5d: Bug 1208371 - Implement DOMMediaStream::Clone() r?smaug,jib,roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:24 +0800 - rev 306658
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Implement DOMMediaStream::Clone() r?smaug,jib,roc
870eef8b92f9b4d2eec97124ba13f651ad7ea9ba: Bug 1208371 - Implement MediaStreamTrack::Clone(). r?smaug,jib,roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:23 +0800 - rev 306657
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Implement MediaStreamTrack::Clone(). r?smaug,jib,roc
d131a7fc80817ba92590dcd7e48ce62ebfcdd8b0: Bug 1208371 - Make it possible to block tracks in a MediaInputPort initally. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:23 +0800 - rev 306656
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Make it possible to block tracks in a MediaInputPort initally. r?roc
8ff589aefa6c808c2783e2766766bd8849500d34: Bug 1208371 - Route ApplyConstraints through MediaStreamTrackSource. r?jib draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:23 +0800 - rev 306655
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Route ApplyConstraints through MediaStreamTrackSource. r?jib
c7760640ef101fc255f506c044f176ebf505369b: Bug 1208371 - Remove MediaStreamTrack::GetStream/GetParentObject. r?jib draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:23 +0800 - rev 306654
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Remove MediaStreamTrack::GetStream/GetParentObject. r?jib
476112e25942b51c1cbbbb29fe02ebba0fb9bd53: Bug 1208371 - Fix DOMMediaStream::OwnsTrack. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:23 +0800 - rev 306653
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Fix DOMMediaStream::OwnsTrack. r?roc
322060def0bf4d21fe0dbc2952597a002b8424b8: Bug 1208371 - Make it possible to look up stream id by track in PeerConnectionImpl. r?jib draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:23 +0800 - rev 306652
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
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.
532526a4a7d8e4671a73987915f1c4d7999ce570: Bug 1208371 - Add an MSGTrackListener interface to MediaStreamTrack. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:23 +0800 - rev 306651
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Add an MSGTrackListener interface to MediaStreamTrack. r?roc This creates a convenience Wrapper MSGListener around MediaStreamListener to make MediaStreamTrack more self contained. The convenience lies in that the MediaStreamTrack will handle filtering out the right TrackID in the MediaStreamListener callback and only forward the relevant ones to the MSGListener instances.
0e0e553f75f863a88afa21fd67de1ed76f4e14e1: Bug 1208371 - Add a PrincipalChangeObserver interface to MediaStreamTrack. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:23 +0800 - rev 306650
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Add a PrincipalChangeObserver interface to MediaStreamTrack. r?roc Also adds MediaStreamTrack::GetPrincipal, so we can start moving consumers towards checking principals per consumed track, and producers to set principals per track instead of per stream. For compatibility with modules consuming whole streams we can move DOMMediaStream over to listening for principal changes on all its tracks, plus update its principal when its set of tracks changes.
f175af9a98ee5e84a5605cb1b708fccc1abb830c: Bug 1208371 - Add MediaStreamTrack::Graph(). r?jib draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:22 +0800 - rev 306649
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Add MediaStreamTrack::Graph(). r?jib
33f79ac61453773650a0051939e24f459df1ed21: Bug 1208371 - Remove obsolete SetTrackEnabled() from DOMMediaStream r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:22 +0800 - rev 306648
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Remove obsolete SetTrackEnabled() from DOMMediaStream r?roc
f146d209c5bfcc09167c0a1fa19d86f230178063: Bug 1208371 - Allow MediaInputPorts mapped to a destination TrackID. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:22 +0800 - rev 306647
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Allow MediaInputPorts mapped to a destination TrackID. r?roc This lets us know the track's TrackID in the destination stream before the input port has been processed. For sanity we only allow mapping to a destination TrackID if the destination stream does not have any TRACK_ANY input ports already assigned to it as that can cause intermittent TrackID collisions.
5ea609beaf80cac945dbb46ebad4026c72a0ac4b: Bug 1208371 - Add convenience method for checking if TrackID is explicit. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:22 +0800 - rev 306646
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Add convenience method for checking if TrackID is explicit. r?roc
9d2f0f79817de68ab74ad7500563219b841e2d6a: Bug 1208371 - Count the users of a MediaStream to ease Destroy() responsibility. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:22 +0800 - rev 306645
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Count the users of a MediaStream to ease Destroy() responsibility. r?roc
30ce6a6bac67ac924f01936296827e97443fe9fa: Bug 1208371 - Add some MediaStreamTrack helper methods. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:22 +0800 - rev 306644
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Add some MediaStreamTrack helper methods. r?roc
766aa4f77b8d5cb067237f4ae694576ffad4ad81: Bug 1208371 - Let FindOwnedDOMTrack operate on input stream. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:22 +0800 - rev 306643
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Let FindOwnedDOMTrack operate on input stream. r?roc This let's us use FindOwnedDOMTrack before the TrackID in mOwnedStream is known. This is necessary for a stream clone with multiple tracks whose original TrackID is the same.
04e4136978cd87274327cbb79a142aca199b3aaf: Bug 1208371 - Let MediaStreamTracks know their TrackID at the source. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:22 +0800 - rev 306642
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Let MediaStreamTracks know their TrackID at the source. r?roc For original tracks, the input TrackID is the same as in its owned stream. For cloned tracks, the input TrackID comes from the original track, since no guarantees about TrackIDs in a cloned DOMMediaStream's owned stream can be given (imagine e.g., `new MediaStream([trackID1FromStreamX, trackID1FromStreamY]).clone()`).
39f30ac191a51ae57aa2b99c437f3c8bcb1e9ef4: Bug 1208371 - Add MediaStreamTrackSourceGetter interface. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:22 +0800 - rev 306641
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
Bug 1208371 - Add MediaStreamTrackSourceGetter interface. r?roc This allows DOMMediaStream to assign MediaStreamTrackSources to dynamically created MediaStreamTracks.
1adfa472c04460bf2b0aea9031fb42f0d8d9608f: Bug 1208371 - Add a MediaStreamTrackSource interface. r?roc draft
Andreas Pehrson <pehrsons@gmail.com> - Thu, 05 Nov 2015 15:42:21 +0800 - rev 306640
Push 7183 by pehrsons@gmail.com at Thu, 05 Nov 2015 07:42:40 +0000
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.
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip