Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file contains global constant variables used by the application. | 5 // This file contains global constant variables used by the application. |
| 6 | 6 |
| 7 // Heart beat message header. | 7 // Renewal message header. External Clear Key implementation returns this as |
| 8 var HEART_BEAT_HEADER = 'HEARTBEAT'; | 8 // part of renewal messages. |
| 9 var RENEWAL_MESSAGE_HEADER = 'HEARTBEAT'; | |
|
ddorwin
2015/01/15 19:56:43
You could also change this in the .cc file. Or we
jrummell
2015/01/15 21:55:34
Added to my cleanup list.
| |
| 9 | 10 |
| 10 // Default key used to encrypt many media files used in browser tests. | 11 // Default key used to encrypt many media files used in browser tests. |
| 11 var KEY = new Uint8Array([0xeb, 0xdd, 0x62, 0xf1, 0x68, 0x14, 0xd2, 0x7b, | 12 var KEY = new Uint8Array([0xeb, 0xdd, 0x62, 0xf1, 0x68, 0x14, 0xd2, 0x7b, |
| 12 0x68, 0xef, 0x12, 0x2a, 0xfc, 0xe4, 0xae, 0x3c]); | 13 0x68, 0xef, 0x12, 0x2a, 0xfc, 0xe4, 0xae, 0x3c]); |
| 13 | 14 |
| 14 var DEFAULT_LICENSE_SERVER = document.location.origin + '/license_server'; | 15 var DEFAULT_LICENSE_SERVER = document.location.origin + '/license_server'; |
| 15 | 16 |
| 16 var DEFAULT_MEDIA_FILE = 'http://shadi.kir/alcatraz/Chrome_44-enc_av.webm'; | 17 var DEFAULT_MEDIA_FILE = 'http://shadi.kir/alcatraz/Chrome_44-enc_av.webm'; |
| 17 | 18 |
| 18 // Key ID used for init data. | 19 // Key ID used for init data. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 var KEYSYSTEM_ELEMENT_ID = 'keySystemList'; | 69 var KEYSYSTEM_ELEMENT_ID = 'keySystemList'; |
| 69 var MEDIA_TYPE_ELEMENT_ID = 'mediaTypeList'; | 70 var MEDIA_TYPE_ELEMENT_ID = 'mediaTypeList'; |
| 70 var USE_MSE_ELEMENT_ID = 'useMSE'; | 71 var USE_MSE_ELEMENT_ID = 'useMSE'; |
| 71 var USE_PREFIXED_EME_ID = 'usePrefixedEME'; | 72 var USE_PREFIXED_EME_ID = 'usePrefixedEME'; |
| 72 | 73 |
| 73 // These variables get updated every second, so better to have global pointers. | 74 // These variables get updated every second, so better to have global pointers. |
| 74 var decodedFPSElement = document.getElementById('decodedFPS'); | 75 var decodedFPSElement = document.getElementById('decodedFPS'); |
| 75 var droppedFPSElement = document.getElementById('droppedFPS'); | 76 var droppedFPSElement = document.getElementById('droppedFPS'); |
| 76 var droppedFramesElement = document.getElementById('droppedFrames'); | 77 var droppedFramesElement = document.getElementById('droppedFrames'); |
| 77 var docLogs = document.getElementById('logs'); | 78 var docLogs = document.getElementById('logs'); |
| OLD | NEW |