forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This CL adds the key system and enables the media stack to find the CDM. BUG=149772 TEST=Play content that uses this key system. Review URL: https://chromiumcodereview.appspot.com/11099059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161455 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
ddorwin@chromium.org
committed
Oct 12, 2012
1 parent
b97d349
commit a9cde19
Showing
10 changed files
with
114 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef WIDEVINE_CDM_COMMON_H_INCLUDED_ | ||
#define WIDEVINE_CDM_COMMON_H_INCLUDED_ | ||
|
||
#include "base/file_path.h" | ||
|
||
// This file defines constants common to all Widevine CDM versions. | ||
|
||
// "alpha" is a temporary name until a convention is defined. | ||
const char kWidevineKeySystem[] = "com.widevine.alpha"; | ||
|
||
const char kWidevineCdmPluginName[] = "Widevine HTML CDM"; | ||
// Will be parsed as HTML. | ||
const char kWidevineCdmPluginDescription[] = | ||
"This plugin enables Widevine licenses for playback of HTML audio/video " | ||
"content."; | ||
const char kWidevineCdmPluginMimeType[] ="application/x-ppapi-widevine-cdm"; | ||
const char kWidevineCdmPluginMimeTypeDescription[] = "Widevine HTML CDM"; | ||
|
||
// File name of the plugin on different platforms. | ||
const FilePath::CharType kWidevineCdmPluginFileName[] = | ||
#if defined(OS_MACOSX) | ||
FILE_PATH_LITERAL("widevinecdmplugin.plugin"); | ||
#elif defined(OS_WIN) | ||
FILE_PATH_LITERAL("widevinecdmplugin.dll"); | ||
#else // OS_LINUX, etc. | ||
FILE_PATH_LITERAL("libwidevinecdmplugin.so"); | ||
#endif | ||
|
||
#endif // WIDEVINE_CDM_COMMON_H_INCLUDED_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters