Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: media/test/data/eme_player_js/globals.js

Issue 2543623003: media: Allow config change between clear and encrypted streams (Closed)
Patch Set: comments addressed Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/test/data/eme_player.html ('k') | media/test/data/eme_player_js/test_config.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/data/eme_player_js/globals.js
diff --git a/media/test/data/eme_player_js/globals.js b/media/test/data/eme_player_js/globals.js
index 81e344e1daf212492e511ec6c300ab40c6eeca0c..bdc7d25cebf7cf6c5d8877eba924e8adf976e310 100644
--- a/media/test/data/eme_player_js/globals.js
+++ b/media/test/data/eme_player_js/globals.js
@@ -55,6 +55,13 @@ var KEY_SYSTEMS = {
'External Clearkey': EXTERNAL_CLEARKEY
};
+var CONFIG_CHANGE_TYPE = {
+ CLEAR_TO_CLEAR : '0',
+ CLEAR_TO_ENCRYPTED : '1',
+ ENCRYPTED_TO_CLEAR : '2',
+ ENCRYPTED_TO_ENCRYPTED : '3'
+};
+
// General WebM and MP4 name:content_type map to show on the document page.
var MEDIA_TYPES = {
'WebM - Audio Video': 'video/webm; codecs="vorbis, vp8"',
« no previous file with comments | « media/test/data/eme_player.html ('k') | media/test/data/eme_player_js/test_config.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698