gecko-dev/dom/media/gmp
Chris Pearce d4a2f03ae3 Bug 1376957 - Call rand_s() before starting GMP sandbox on Windows. r=bobowen
The loading of Widevine CDM 970 is being blocked on Windows 7 by our sandbox
when the CDM calls RtlGenRandom(). Chrome is calling s_rand() before enabling
the sandbox [1] in order to load the appropriate DLLs so that the call
succeeds, so we should do the same.

[1] https://cs.chromium.org/chromium/src/content/ppapi_plugin/ppapi_thread.cc?l=424&rcl=d0d190c09619cb359296999438551b66f0e1cdb1

MozReview-Commit-ID: IvmlQY0ohHc

--HG--
extra : rebase_source : d84780fda8181d2afaf4526ea37526522e90431c
2017-06-28 15:19:30 -07:00
..
gmp-api Bug 1342822 - Backed out changeset 70bc7d4e8512 (bug 1338924). r=gerald 2017-02-27 13:58:27 +13:00
widevine-adapter Bug 1375708 - Use base::Time() instead of time(0) in WidevineDecryptor::GetCurrentWallTime(). r=gerald 2017-06-23 16:02:14 +12:00
ChromiumCDMAdapter.cpp Bug 1315850 - Add ChromiumAdapter which we can use instead of WidevineAdapter. r=gerald 2017-03-13 16:59:34 +13:00
ChromiumCDMAdapter.h Bug 1315850 - Add ChromiumAdapter which we can use instead of WidevineAdapter. r=gerald 2017-03-13 16:59:34 +13:00
ChromiumCDMChild.cpp Bug 1360959 - Only assert our buffer is shmem backed if we have a buffer in ChromiumCDMChild. r=gerald 2017-05-01 11:09:21 +12:00
ChromiumCDMChild.h Bug 1357133 - Recover from incorrectly guessing the CDM's shmem sizes. r=gerald 2017-04-28 08:55:28 +12:00
ChromiumCDMParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
ChromiumCDMParent.h Bug 1372080 - Reorder frames decoded by Widevine CDM. r=jya 2017-06-12 17:47:05 +12:00
ChromiumCDMProxy.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
ChromiumCDMProxy.h Bug 1315850 - Implement CDM persistent sessions. r=gerald 2017-03-09 19:09:43 +13:00
DecryptJob.cpp Bug 1361900: Part 1 - Make CDMProxy.h compatible with mozilla::Result. r=JamesCheng 2017-05-12 12:08:43 -07:00
DecryptJob.h Bug 1351953 - Make DecryptJob::PostResult take a mozilla::Span instead of nsTArray. r=gerald 2017-04-05 10:32:19 +12:00
GMPCDMCallbackProxy.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPCDMCallbackProxy.h Bug 1346679 - Label runnables in dom/media/gmp/GMPCDMCallbackProxy.cpp. r=cpearce 2017-03-10 16:07:04 +08:00
GMPCDMProxy.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPCDMProxy.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPCallbackBase.h
GMPChild.cpp Bug 1315850 - Add ChromiumAdapter which we can use instead of WidevineAdapter. r=gerald 2017-03-13 16:59:34 +13:00
GMPChild.h Replace GMP use of PCrashReporter with shmem-based annotations. (bug 1337518, r=billm) 2017-02-12 11:39:44 -08:00
GMPContentChild.cpp Bug 1315850 - Add ChromiumAdapter which we can use instead of WidevineAdapter. r=gerald 2017-03-13 16:59:34 +13:00
GMPContentChild.h Bug 1315850 - Add PChromiumCDM.ipdl for Widevine CDM. r=gerald 2017-02-23 11:51:00 +13:00
GMPContentParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPContentParent.h Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce) 2017-06-12 20:20:08 -07:00
GMPCrashHelper.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPCrashHelper.h Bug 1322739: P1. Fix style and headers. r=gerald 2017-02-22 13:02:58 +01:00
GMPCrashHelperHolder.cpp Bug 1339733 - Move GMPCrashHelperHolder implementation into its own .cpp file. r=jwwang 2016-11-23 15:53:42 +13:00
GMPCrashHelperHolder.h Bug 1339733 - Move GMPCrashHelperHolder implementation into its own .cpp file. r=jwwang 2016-11-23 15:53:42 +13:00
GMPDecryptorChild.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPDecryptorChild.h Bug 1337778 - Use counter for decryptor ID instead of IPDL actor Id. r=gerald 2017-03-01 17:19:08 +13:00
GMPDecryptorParent.cpp Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce) 2017-06-12 20:20:08 -07:00
GMPDecryptorParent.h Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce) 2017-06-12 20:20:08 -07:00
GMPDecryptorProxy.h Bug 1342822 - Backed out changeset 70bc7d4e8512 (bug 1338924). r=gerald 2017-02-27 13:58:27 +13:00
GMPDiskStorage.cpp Bug 1332530 - Remove GMP enum storage names. r=gerald 2017-01-20 15:06:00 +13:00
GMPEncryptedBufferDataImpl.cpp
GMPEncryptedBufferDataImpl.h
GMPLoader.cpp Bug 1376957 - Call rand_s() before starting GMP sandbox on Windows. r=bobowen 2017-06-28 15:19:30 -07:00
GMPLoader.h Bug 1332530 - Flatten GMPLoader and GMPLoaderImpl. r=gerald 2017-01-19 15:44:54 +13:00
GMPLog.h Bug 1315850 - Add GMP_LOG macro. r=gerald 2017-02-22 09:45:54 +13:00
GMPMemoryStorage.cpp Bug 1332530 - Remove GMP enum storage names. r=gerald 2017-01-20 15:06:00 +13:00
GMPMessageUtils.h Bug 1315850 - Create ChromiumCDMProxy in MediaKeys.cpp when preffed on. r=gerald 2017-02-22 14:42:55 +13:00
GMPParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPParent.h Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce) 2017-06-12 20:20:08 -07:00
GMPPlatform.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPPlatform.h Bug 1338924 - Add GMPTask that takes/runs a lambda and a simple mechanism to set a timer on a lambda task. r=gerald 2017-02-14 11:09:38 +13:00
GMPProcessChild.cpp bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
GMPProcessChild.h bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
GMPProcessParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPProcessParent.h
GMPService.cpp Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce) 2017-06-12 20:20:08 -07:00
GMPService.h Bug 1315850 - Add GMPService::GetCDM. r=gerald 2017-02-22 09:26:47 +13:00
GMPServiceChild.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPServiceChild.h Bug 1352924 - Block creation of new GMPs once parent process begins shutdown. r=gerald 2017-04-03 11:08:06 +12:00
GMPServiceParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPServiceParent.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPSharedMemManager.cpp
GMPSharedMemManager.h
GMPStorage.h Bug 1332530 - Remove GMP enum storage names. r=gerald 2017-01-20 15:06:00 +13:00
GMPStorageChild.cpp Bug 1332530 - Remove GMP enum storage names. r=gerald 2017-01-20 15:06:00 +13:00
GMPStorageChild.h Bug 1332530 - Remove GMP enum storage names. r=gerald 2017-01-20 15:06:00 +13:00
GMPStorageParent.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
GMPStorageParent.h Bug 1332530 - Remove GMP enum storage names. r=gerald 2017-01-20 15:06:00 +13:00
GMPTimerChild.cpp Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
GMPTimerChild.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
GMPTimerParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPTimerParent.h Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce) 2017-06-12 20:20:08 -07:00
GMPTypes.ipdlh Backed out changeset 0b8bf5cb743f (bug 1358373) for build bustage. a=backout 2017-04-27 10:10:47 +08:00
GMPUtils.cpp Bug 1357133 - Recover from incorrectly guessing the CDM's shmem sizes. r=gerald 2017-04-28 08:55:28 +12:00
GMPUtils.h Bug 1357133 - Recover from incorrectly guessing the CDM's shmem sizes. r=gerald 2017-04-28 08:55:28 +12:00
GMPVideoDecoderChild.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPVideoDecoderChild.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
GMPVideoDecoderParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPVideoDecoderParent.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
GMPVideoDecoderProxy.h
GMPVideoEncodedFrameImpl.cpp
GMPVideoEncodedFrameImpl.h
GMPVideoEncoderChild.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
GMPVideoEncoderChild.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
GMPVideoEncoderParent.cpp Bug 1341285: rollup of changes for webrtc after applying webrtc.org v57 update r=ng,jesup,pehrsons,drno,dminor,cpearce,jya,glandium,dmajor 2017-06-13 01:54:13 -04:00
GMPVideoEncoderParent.h Bug 1341285: rollup of changes for webrtc after applying webrtc.org v57 update r=ng,jesup,pehrsons,drno,dminor,cpearce,jya,glandium,dmajor 2017-06-13 01:54:13 -04:00
GMPVideoEncoderProxy.h
GMPVideoHost.cpp
GMPVideoHost.h
GMPVideoPlaneImpl.cpp
GMPVideoPlaneImpl.h
GMPVideoi420FrameImpl.cpp Bug 1349595 - Check GMP i420 frame size computations. r=cpearce 2017-03-31 12:21:22 +11:00
GMPVideoi420FrameImpl.h
PChromiumCDM.ipdl Bug 1357133 - Recover from incorrectly guessing the CDM's shmem sizes. r=gerald 2017-04-28 08:55:28 +12:00
PGMP.ipdl Store the child process thread id in CrashReporterHost. (bug 1338281 part 2, r=billm) 2017-02-15 14:44:29 -08:00
PGMPContent.ipdl Bug 1315850 - Add PChromiumCDM.ipdl for Widevine CDM. r=gerald 2017-02-23 11:51:00 +13:00
PGMPDecryptor.ipdl Bug 1342822 - Backed out changeset 70bc7d4e8512 (bug 1338924). r=gerald 2017-02-27 13:58:27 +13:00
PGMPService.ipdl Bug 1352924 - Block creation of new GMPs once parent process begins shutdown. r=gerald 2017-04-03 11:08:06 +12:00
PGMPStorage.ipdl Bug 1332530 - Remove GMP enum storage names. r=gerald 2017-01-20 15:06:00 +13:00
PGMPTimer.ipdl
PGMPVideoDecoder.ipdl
PGMPVideoEncoder.ipdl
README.txt
moz.build Bug 1315850 - Add ChromiumAdapter which we can use instead of WidevineAdapter. r=gerald 2017-03-13 16:59:34 +13:00
mozIGeckoMediaPluginChromeService.idl
mozIGeckoMediaPluginService.idl Bug 1329543 - Remove PGMPAudioDecoder. r=gerald 2017-01-14 16:14:32 +08:00

README.txt

This directory contains code supporting Gecko Media Plugins (GMPs). The GMP API is not the same thing as the Media Plugin API (MPAPI).