5a2f77ffe84f9b99b4668520c838b29a428578d3: Bug 1315850 - Shutdown CDMVideoDecoder. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Wed, 08 Mar 2017 10:20:33 +1300 - rev 504176
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Shutdown CDMVideoDecoder. r=jya This severs the ChromiumCDMVideoDecoder's connection with the CDM. The CDM process will shutdown when the MediaKeys also severs its connection. MozReview-Commit-ID: Aqc4y5Nxjvc
3f9636503523f0c6effab15fa89cce25a961a0b4: Bug 1315850 - Implement CDM video decoder drain. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Tue, 07 Mar 2017 16:37:21 +1300 - rev 504175
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement CDM video decoder drain. r=jya MozReview-Commit-ID: 5RbrWyLglRf
8ee1ae28a36779484717c6b105ef7730dd1896b3: Bug 1315850 - Implement CDM video decoder flush. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Tue, 14 Feb 2017 22:42:26 +1300 - rev 504174
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement CDM video decoder flush. r=jya MozReview-Commit-ID: 3CzwfOCXGP
b7f162515a1a32b2c344c11d0fa5c7004cec2e15: Bug 1315850 - Implement video decoding through CDM. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 11:32:15 +1300 - rev 504173
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement video decoding through CDM. r=jya At this stage, I store video frames in memory in nsTArrays rather than in shmems just so we can get this working. Once this is working, I'll follow up with patches to switch to storing all large buffer traffic between the CDM and other processes in shmems. I'm not planning on preffing this new CDM path on until that's in place. MozReview-Commit-ID: LSTb42msWQS
b6d499cafef2d6a6558b0db703b60320dea67803: Bug 1315850 - Initialize video decoder. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 18:17:50 +1300 - rev 504172
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Initialize video decoder. r=jya MozReview-Commit-ID: 559SP0ECldq
aa854e9d88965d7da60231d6f6a3912bf6ad2eeb: Bug 1315850 - Add threadsafe ChromiumCDMProxy::GetCDMParent. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Mon, 13 Mar 2017 13:47:20 +1300 - rev 504171
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Add threadsafe ChromiumCDMProxy::GetCDMParent. r=gerald The MediaKeys accesses the ChromiumCDMProxy on the main thread. But the ChromiumCDMVideoDecoder will need to access the ChromiumCDMProxy on the decode task queue in order to get a reference to the ChromiumCDMParent so that it can talk to the CDM (on the GMP thread). Additionally we'll need to shutdown the ChromiumCDMProxy, and if we do that on the main threrad while the ChromiumCDMVideoDecoder is trying to get the ChromiumCDMParent reference, we could hit thread safety issues. So we need to hold a lock while reading or writing from the ChromiumCDMProxy's reference to the ChromiumCDMParent. So add a GetCDMParent() function to the ChromiumCDMProxy which takes the lock while reading or writing the reference. This means that the caller will always get a valid reference. There is no guarantee that the ChromiumCDMParent isn't shutdown after the reference is taken; if that happens, the ChromiumCDMParent returned will fail on all operations. In a later patch in this series, the ChromiumCDMProxy will anull its reference to the ChromiumCDMParent on shutdown, and cause GetCDMParent to return null. So callers need to null check the return value of GetCDMParent. MozReview-Commit-ID: 4xL41YbwkxL
018abf2b8e1b351a29ba62275a2681fe9ea4fc24: Bug 1315850 - Create CDM video decoder in EMEDecoderModule. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Wed, 08 Mar 2017 16:20:09 +1300 - rev 504170
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Create CDM video decoder in EMEDecoderModule. r=jya MozReview-Commit-ID: 3xgFxg1WfmY
6c5a3706b37e122a67e5ec1670587f37e25a1bc6: Bug 1315850 - Stub out ChromiumCDMVideoDecoder. r=jya draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 18:17:14 +1300 - rev 504169
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Stub out ChromiumCDMVideoDecoder. r=jya MozReview-Commit-ID: 6I9N1c1nNMF
3821c378c73067066f3cc67499680bdf546fb4f0: Bug 1315850 - Add CDMProxy::AsChromiumCDMProxy(). r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 15 Dec 2016 11:32:03 +1300 - rev 504168
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Add CDMProxy::AsChromiumCDMProxy(). r=gerald This means the EME PDM implementation can safely tell when a CDMProxy is a ChromiumCDMProxy, so we can create an appropriate MediaDataDecoder for it (in the next patch). MozReview-Commit-ID: CpL6QRa7SwJ
90de89bec9b004859c3c2c09ed8efbd255acc141: Bug 1315850 - Ensure GMPParent checks whether the adapter version is present. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Mon, 20 Feb 2017 11:48:32 +1300 - rev 504167
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Ensure GMPParent checks whether the adapter version is present. r=gerald This ensures that when we're using the ChromiumAdapter that we actually ask it whether it'll work, rather than asking the adapter we're not using. MozReview-Commit-ID: 85nZPl9MdWa
67575a02290ddb871510dd88f59fdab77658b3ce: Bug 1315850 - Send decrypt operations to Chromium CDM. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 11:31:07 +1300 - rev 504166
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Send decrypt operations to Chromium CDM. r=gerald We still use the same EMEDecryptor MediaDataDecoder as is used by the existing EME decrypting path. MozReview-Commit-ID: 3pXPjChctLb
b7de793c7676ace43d34a9556ef803e1bd3df239: Bug 1315850 - Add more logging to Chromium CDM actors. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 11:42:12 +1300 - rev 504165
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Add more logging to Chromium CDM actors. r=gerald MozReview-Commit-ID: 2DcprLAE1bg
cf303b0d792dfd86f1056529eb4c081d84fc2e82: Bug 1315850 - Connect MediaKeys.createSession to Chromium CDM. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Wed, 30 Nov 2016 14:51:18 +1300 - rev 504164
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Connect MediaKeys.createSession to Chromium CDM. r=gerald MozReview-Commit-ID: AzvypvetoOL
0931d65116bf0c499933efc58cae97b275b0ba85: Bug 1315850 - Handle sending and receiving key session messages. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Wed, 08 Mar 2017 16:41:06 +1300 - rev 504163
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Handle sending and receiving key session messages. r=gerald MozReview-Commit-ID: 6hLPFLFRD5I
914db1f04e0770776ae25c7b8bdc59e729fe78d0: Bug 1315850 - Implement ChromiumCDMProxy initialization. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 09 Mar 2017 11:29:45 +1300 - rev 504162
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement ChromiumCDMProxy initialization. r=gerald This means the MediaKeys is able to create a CDM. MozReview-Commit-ID: 94Xc7sCLhH3
68ce766bede0f5c8e41de3a3f9e46b6ef88cab96: Bug 1315850 - Ensure we query for the correct string in HavePluginForKeySystem. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Wed, 22 Feb 2017 13:06:58 +1300 - rev 504161
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Ensure we query for the correct string in HavePluginForKeySystem. r=gerald Otherwise navigator.requestMediaKeySystemAccess() doesn't know whether we have a CDM or not. MozReview-Commit-ID: Hic6UneGA4u
76937006b9e424f2588e7d06f8f7b0c3a68b5af2: Bug 1315850 - Create ChromiumCDMProxy in MediaKeys.cpp when preffed on. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Wed, 22 Feb 2017 14:42:55 +1300 - rev 504160
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Create ChromiumCDMProxy in MediaKeys.cpp when preffed on. r=gerald MozReview-Commit-ID: G37QlP74esb
df41a20a0fefaf26a63ed18f1ccdf7fa5a3a1e89: Bug 1315850 - Stub out ChromiumCDMProxy. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Wed, 22 Feb 2017 14:42:32 +1300 - rev 504159
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Stub out ChromiumCDMProxy. r=gerald This will eventually replace GMPCDMProxy. Methods will be implemented in later patches. MozReview-Commit-ID: 86pwo81tFZv
94dacb5107e7f098c7dde88e6d246edb9deb6a35: Bug 1315850 - Add GetGMPAbstractThread() to GMPUtils.h. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Thu, 23 Feb 2017 14:04:25 +1300 - rev 504158
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Add GetGMPAbstractThread() to GMPUtils.h. r=gerald MozReview-Commit-ID: G4sq6pa7jmS
dd262cc875ece0d82b4af002341ee0566125a401: Bug 1315850 - Implement trivial cdm::Host functions. r=gerald draft
Chris Pearce <cpearce@mozilla.com> - Mon, 13 Mar 2017 13:26:13 +1300 - rev 504157
Push 50748 by bmo:cpearce@mozilla.com at Fri, 24 Mar 2017 01:10:17 +0000
Bug 1315850 - Implement trivial cdm::Host functions. r=gerald MozReview-Commit-ID: 5OsopZbflf1
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip